GET /api/v1/genres
listGenres
needs catalog:read
curl https://api.acyka.cc/api/v1/genres \
-H "Authorization: Bearer $ACYKA_TOKEN" Asking #
Nothing. The address is the whole of the question.
Answering #
200 Page<string> a page: items, and total beside it
When it says no #
A refusal is { "message": "errors.something" } — a phrase name and never a
sentence, because one screen can be read in five languages. Every library turns the name into a
type, so you catch the class you can do something about. Errors has
the list.