Skip to content

API: API keys

List the abilities a key may be granted

The closed set of abilities, so a client does not have to hardcode them.

GET/api/v1/abilities

Authentication#

No key is needed. This route is public.

Responses#

200 OK#

Content type application/json. Schema: AbilityList.

NameTypeRequiredDescription
dataarray of string-Every ability a key may be granted

Any other status#

Content type application/problem+json. Error (RFC 9457 problem details). Schema: Problem.

The error follows RFC 9457. See Errors.

curl -X GET "http://localhost:3000/api/v1/abilities"

Response examples

{
  "data": [
    "pixels:svg",
    "video:download",
    "video:edit",
    "video:convert",
    "audio:convert",
    "image:convert",
    "image:compress",
    "image:edit",
    "pdf:compress",
    "video:transcribe",
    "sprite:sheet",
    "archive:files",
    "pdf:structure",
    "pdf:convert",
    "pdf:security",
    "pdf:edit"
  ]
}

The examples are built from the schemas, so every value is a placeholder of its type. The tables above hold the fields that carry the real values.