Gallery Platform API
Reference

Find actions on a type

Returns the actions declared on one object type: approval tier and ceiling, the destructive and idempotent flags, the roles that may run it, the events it emits, each input field's property facts, and its invariants and lifecycle precondition. An unknown `type` answers 404.

GET
/gallery/ontology/actions

Returns the actions declared on one object type: approval tier and ceiling, the destructive and idempotent flags, the roles that may run it, the events it emits, each input field's property facts, and its invariants and lifecycle precondition. An unknown type answers 404.

Authorization

bearerAuth gallery:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: gallery:read

Query Parameters

type*string

An object type key, as GET /gallery/ontology lists it (for example artwork).

Length1 <= length

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "type": "string",  "data": [    {      "key": "string",      "type": "string",      "tier": "auto",      "ceiling": "auto",      "destructive": true,      "idempotent": true,      "reversible": "string",      "roles": [        "string"      ],      "emits": [        "string"      ],      "input": {        "property1": {          "property1": null,          "property2": null        },        "property2": {          "property1": null,          "property2": null        }      },      "invariants": [        {          "property1": null,          "property2": null        }      ],      "from": {        "property": "string",        "in": [          "string"        ]      }    }  ]}