acyka api

GET /api/v1/collections/{code}

getCollection

needs lists:read

curl https://api.acyka.cc/api/v1/collections/AbCdEf \
  -H "Authorization: Bearer $ACYKA_TOKEN"

Asking #

In the address

fieldtypewhat it is
code stringthe shelf's code

Answering #

200 Collection

The shapes #

Collection #

A shelf somebody named.

fieldtypewhat it is
code string
name string
about string
icon string
hue may be absentnumber | undefined
visibility string`public` | `unlisted` | `private`
shared booleanwhether anyone who can read it may also add to it
count number
saves number
owner string
owner_avatar may be absentstring | undefined
owner_verified boolean
covers string[]
at string
edited string

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.