Window of Artists
A Window of Artists, which are cards in artists of Release Management, Page by Page in the order of orderBy and direction. Cabinets give their Rosters, which are the cards that they own; a Cabinet outside the Cabinet Boundary gives nothing, and if all of them are outside, the Window is empty. Without cabinet, the Window has the cards visible inside the Cabinet Boundary: the cards owned by its Cabinets and the performers of their Releases. keys keeps only the named cards; to get one card with its profile, send keys=<Key>&include=profiles. To get the Roster of a Cabinet with guests, call without cabinet and with a Cabinet Boundary of this one Cabinet: a guest is a card whose cabinet is another Cabinet, and an empty card is a card that the Cabinet owns and that has no Releases (releases=false). silentWeeks, next and releases select by the row totals inside the Cabinet Boundary. A row is a card as is: cards with the same name are different rows, and the Consumer decides whether to merge them or to ask a person. The row totals cover the Releases of the Cabinets in the Cabinet Boundary where the card is a performer of the Release, a Track or a video: the number of audio and video Releases and of Drafts, the nearest and the latest released Release in short form, and the Attention total. A Page has up to 20 rows by default; the Window has ended when there is no nextCursor.
Request
GET /api/v1/artists| Parameter | Type | Default | Description |
|---|---|---|---|
x-cabinets | string | This header is required. The Cabinet Boundary: Cabinet slugs or Cabinet Keys cabinet:<slug> separated by commas, at most 250. * means the whole catalog. A response contains only data of these Cabinets. The Consumer decides the list and never sends an empty one. Example: label-one,label-two. | |
traceparent | string | This is a header. Tracing of the call (W3C Trace Context). The API writes the trace-id to its log, and the response returns the same header. The API drops an invalid header without an error. Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01. | |
Accept-Language | string | This is a header. The language of the labels for people in the response (RFC 9110): en or ru. The API picks the supported language with the highest q weight, ignoring case, and ru-RU counts as ru. If the header is missing or names no supported language, the labels are in en: this is not an error. Example: ru. | |
cabinet | string[] | Artist Cabinets as Keys cabinet:<slug> or slugs, at most 50: the Roster of these Cabinets, which is the cards that they own (owner_id). Without this parameter, the Window has the cards visible inside the Cabinet Boundary. An unknown Cabinet or a Cabinet outside the Cabinet Boundary gives nothing; if all of them are such, the Window is empty. Example: cabinet:label-one. | |
keys | string[] | Artist Keys, at most 200: only these cards. Keys that are not in the Catalog Copy or not inside the Cabinet Boundary come back in missing. To get one card with its profile, send keys=<Key>&include=profiles. Example: artist:30000000-0000-0000-0000-000000000001. | |
letter | string | The first letter of the name: only cards whose name, without leading and trailing spaces, starts with this letter, ignoring case. The letters are the Latin A to Z and the Cyrillic letters from A (U+0410) to Ya (U+042F); Yo (U+0401) counts as Ie (U+0415). # means a name that starts with another character or is empty. Values: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, А, Б, В, Г, Д, Е, Ж, З, И, Й, К, Л, М, Н, О, П, Р, С, Т, У, Ф, Х, Ц, Ч, Ш, Щ, Ъ, Ы, Ь, Э, Ю, Я, #. Example: M. | |
silentWeeks | integer | Weeks without released Releases, from 1 to 260: only cards whose latest released Release is no later than today in Moscow time minus 7 × silentWeeks days, and cards without released Releases. Example: 12. | |
next | boolean | The nearest Release: true keeps only cards with a nearest Release in next, and false keeps only cards without one. Example: true. | |
releases | boolean | audio and video Releases: true keeps only cards that have them, and false keeps only cards without them. Drafts do not count. Example: true. | |
orderBy | string | name | The order of the Window, then by name and key. Names are compared by their first 100 characters, as in a dictionary, ignoring case. name: by name. next: by the nearest Release, earliest first; cards without a nearest Release come last. last: by the latest released Release, most recent first; cards without one come last. releases: by the number of audio and video Releases, most first. next and last depend on today in Moscow time: at midnight, the order may shift between Pages. Values: name, next, last, releases. Example: next. |
direction | string | asc | The direction of the order: asc is as described in orderBy, and desc is the reverse, including name and key. Cards without a nearest Release in next and without a latest Release in last come last in either direction. Values: asc, desc. Example: desc. |
include | string[] | Parts beyond the row: profiles adds links to the profiles in the DSPs, profile requests and photos with hash. By default, there are no Parts. Values: profiles. Example: profiles. | |
limit | integer | 20 | The number of rows on the Page: 20 by default, at most 500. A Page is at most 3 MB, so heavy rows can end the Page with nextCursor before limit rows. Example: 100. |
cursor | string | The nextCursor of the previous Page with the same Selection and order: the API returns the next Page. A cursor from another Selection or a damaged cursor returns invalid_input: start again without cursor. Example: WyJyZWxlYXNlcyIsImNhNDJreWlTRWVNYWNCVFMiLDAsIjIwMjYtMTAtMDMiLCJjMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDEiXQ. |
Response
A Page of Artists: cards in artists in the order of the Window.
| Field | Type | Description |
|---|---|---|
copyVersion | string | The Copy Version that the response was read from. Example: 100. |
ruleVersion | string | The version of the rules that the API applies to build Windows. When it changes, the meaning of saved Windows changes: discard the Windows you saved, including a persisted cache, and read them again. Example: 7372a7633e60b7b5. |
dataAsOf | string (date-time) | The time at which the Catalog Copy is correct, in ISO 8601 UTC. Example: 2026-09-29T07:00:00.000Z. |
items | object[] | The rows of the Page in the order of the Window: at most limit rows and at most 3 MB. |
items[].key | string | The Artist Key artist:<uuid> of a card in artists of Release Management, the same as for the performer in the Head of a Release and in the Tracks. Example: artist:30000000-0000-0000-0000-000000000001. |
items[].name | string | null | The name in the card without leading and trailing spaces. null means that the name is not filled in. |
items[].cabinet | object | null | The Cabinet of the card, its owner (owner_id). null means that it is not set or that it is outside the Cabinet Boundary. |
items[].cabinet.key | string | The Cabinet Key cabinet:<slug>. The cabinet parameter of Operations accepts it. Example: cabinet:label-one. |
items[].cabinet.slug | string | The Cabinet slug in Release Management: a short readable name of the Cabinet. Example: label-one. |
items[].cabinet.name | string | null | The Cabinet name. null means that Release Management has no name for it. |
items[].url | string (uri) | The Artist card in Release Management. |
items[].avatar | string | null | The link to the photo of the card. null means that no photo is uploaded. The photo with its hash is in the profiles Part. |
items[].audio | integer | The number of Releases of albums and singles inside the Cabinet Boundary where the card is a performer of the Release or of a Track, without Drafts. |
items[].video | integer | The number of Releases of videos inside the Cabinet Boundary where the card is a performer of the video, without Drafts. |
items[].drafts | integer | The number of Drafts inside the Cabinet Boundary where the card is a performer, in addition to audio and video. |
items[].next | object | null | The next Release inside the Cabinet Boundary: the earliest Opening Date today or later in Moscow time, among Releases that are neither Drafts nor withdrawn. On equal dates, the smaller key wins. null means that there is no such Release. |
items[].next.key | string | The Release Key release:<uuid>. With this Key in keys, releases returns the Head, and release returns the whole Release. Example: release:c0000000-0000-0000-0000-000000000001. |
items[].next.title | string | null | The title of the Release. null means that it is not set. |
items[].next.date | string (date) | null | The Opening Date of the Release, a day in Moscow time. Example: 2026-10-03. |
items[].next.cover | string | null | The link to the cover. null means that there is no cover. |
items[].last | object | null | The latest Release that came out inside the Cabinet Boundary: the latest Opening Date no later than today in Moscow time, with at least one published Feed. The days of silence run from last.date to today, and the Consumer counts them. null means that there is no such Release. |
items[].last.key | string | The Release Key release:<uuid>. With this Key in keys, releases returns the Head, and release returns the whole Release. Example: release:c0000000-0000-0000-0000-000000000001. |
items[].last.title | string | null | The title of the Release. null means that it is not set. |
items[].last.date | string (date) | null | The Opening Date of the Release, a day in Moscow time. Example: 2026-10-03. |
items[].last.cover | string | null | The link to the cover. null means that there is no cover. |
items[].attention | object | null | The Attention totals over the Releases of the card inside the Cabinet Boundary. null means that none of them has Attention. |
items[].attention.code | string | The reason for Attention, in order of importance. error: the delivery is marked as failed (failed). stuck: the delivery is stuck: the Feed has been in_delivery for more than an hour. missedDate: the Feed was not delivered on time: the day of the Feed has come, and the Feed is still ready_for_delivery or in_delivery. noAck: no confirmation came: before the day of the Feed, the Feed has been delivered without a link for more than 2 h, or 48 h on Zvuk. notLive: the Release is not published: from the day of the Feed, the Feed has been delivered without a link for more than 24 h, or 48 h on Zvuk. undelivered: the Release comes out soon and is not delivered: the Feed is ready_for_delivery 7 days or less before the day of the Feed. updatePending: the update was not sent: the Feed is update_pending. unconfirmed: there is no confirmation before the release day: the Feed is delivered without a link less than 3 days before the day of the Feed. longCheck: the Feed has been under review for long: it has no other reason and has been in the checked stage for more than 2 and at most 30 days. International and a video on Zvuk do not wait for confirmation. Problems expire when the day of the Feed is more than 30 days in the past. The list may grow. Known values: error, stuck, missedDate, noAck, notLive, undelivered, updatePending, unconfirmed, longCheck. Example: missedDate. |
items[].attention.label | string | The label of the reason in the response language (Content-Language): a phrase about the Release that starts with a lowercase letter and fits into a sentence. |
items[].attention.group | string | The group of the reason: problem is a problem, and risk is a risk of missing the release day. longCheck is a risk before the Opening Date and a problem from the Opening Date on. The list may grow. Known values: problem, risk. Example: problem. |
items[].attention.n | integer | The number of Releases of the card with this reason. |
items[].attention.problem | integer | The number of Releases of the card with Attention in the problem group. |
items[].attention.risk | integer | The number of Releases of the card with Attention in the risk group. |
items[].validUntil | string (date-time) | null | When the totals of the row will change by themselves, without a new Copy Version, in ISO 8601 UTC: the nearest end of a status or Attention interval of its Releases, and no later than midnight in Moscow time if the row has a next Release. null means that time does not change the row. Example: 2026-10-02T21:00:00.000Z. |
items[].profiles | object | The profiles Part. It is present only if you requested it in include. |
items[].profiles.links | object[] | Links to the profiles in the DSPs in the order of Release Management. A value in the card that is not an http(s) address is not included. |
items[].profiles.links[].dsp | string | The DSP as a code from the Artist card in Release Management: yandex_music, vk_music, zvuk, spotify, apple_music, youtube and others. Example: yandex_music. |
items[].profiles.links[].name | string | The name of the DSP for display in the response language (Content-Language). For an unknown code, it is the code itself. |
items[].profiles.links[].url | string | The link to the Artist profile in the DSP, as recorded in the card. |
items[].profiles.requested | object[] | The DSPs where a profile was requested (dsp_profile_requests) and there is no link yet. |
items[].profiles.requested[].dsp | string | The DSP as a code from the Artist card in Release Management: yandex_music, vk_music, zvuk, spotify, apple_music, youtube and others. Example: yandex_music. |
items[].profiles.requested[].name | string | The name of the DSP for display in the response language (Content-Language). For an unknown code, it is the code itself. |
items[].profiles.photo | object | null | The photo of the card with the hash of the file. null means that no photo is uploaded. |
items[].profiles.photo.url | string | The address of the file in the Release Management storage. |
items[].profiles.photo.hash | string | null | The hash of the file in Release Management: the same hash means the same file, even at another address. null means that it is not recorded. |
items[].profiles.photo.mimeType | string | null | The MIME type of the file, for example image/jpeg. null means that it is not recorded. |
items[].profiles.photo.width | integer | null | The width in pixels. null means that it is not recorded. |
items[].profiles.photo.height | integer | null | The height in pixels. null means that it is not recorded. |
items[].profiles.photo.fileName | string | null | The name under which the file was uploaded. null means that it is not recorded. |
items[].profiles.photo.size | integer | null | The size of the file in bytes. null means that it is not recorded. |
nextCursor | string | The cursor of the next Page. Pass it in cursor with the same Selection and order. A response without nextCursor is the last Page of the Window. Example: WyJyZWxlYXNlcyIsImNhNDJreWlTRWVNYWNCVFMiLDAsIjIwMjYtMTAtMDMiLCJjMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDEiXQ. |
missing | string[] | The Artist Keys from keys that are not in the Catalog Copy or not inside the Cabinet Boundary, in the order of keys. It is present only if the request has keys. An empty list means that all Keys were found. |
Errors
| Code | When | What to do |
|---|---|---|
invalid_input | The input failed validation (HTTP 422). | Fix the fields listed in errors and send the request again. |
unauthorized | The token was not accepted (HTTP 401). | Get a new M2M token for the machine and send the request again. |
forbidden | The machine is not allowed (HTTP 403). | Do not retry the request. The machine is not listed in MACHINES, or the scopes of its token do not include the API machine. |
not_found | The path or the Key was not found (HTTP 404). | If the response has details.key, the Catalog Copy has no item with that Key: find the item again with search. Otherwise the path does not exist: Operations are available at /api/v1/<name>, and /api/v1/openapi.json lists them. |
method_not_allowed | The method is not allowed (HTTP 405). | Send the request again with GET or HEAD: the API only reads, and the Allow header lists these methods. |
rate_limited | The machine made too many calls (HTTP 429). | Wait for the number of seconds in Retry-After, which is the time until the machine's next allowed call, and send the request again. |
timeout | The request did not finish in time (HTTP 504). | The API did not retry the request. Narrow it with a shorter period, a smaller limit or fewer Parts in include, and send it again: the same request will most likely exceed 5 s again. |
unavailable | The Catalog Copy is unavailable (HTTP 503). | Wait for the number of seconds in Retry-After and retry the request once. The connection to the Catalog Copy was lost, or the database is overloaded or starting after a pause, and the API has already retried once. |
internal | The API failed with an internal error (HTTP 500). | Do not retry the request: the API did not retry it, and the same request will fail the same way. Report the requestId. |
Example
curl -s "https://rm-api.ovkch.com/api/v1/artists" \
-H "Authorization: Bearer $TOKEN" \
-H "x-cabinets: label-one"