Action Types
GET
/actions/{action}/types Returns type metadata for a specific action:
has_types: whether the action supportstypefilteringtypes: list of currently available type values for that action
Use this endpoint to discover type support dynamically instead of hardcoding action-specific rules.
Response fields
Section titled “Response fields”| Field | Type | Description |
|---|---|---|
action | string | Action name |
has_types | boolean | Whether this action supports `type` filtering |
types | string[] | Available type values for the action (empty when `has_types` is false) |
Example request
Section titled “Example request”curl https://api.gifukai.com/actions/kiss/typesExample response
Section titled “Example response”{ "action": "kiss", "has_types": true, "types": ["cheek", "forehead", "mouth"]}Status codes
Section titled “Status codes”| Status | Description |
|---|---|
| 200 | Successfully returned action type metadata |
| 500 | Internal server error |