List categories
GET
/editor/playlists/{pid}/categories/{kind}/read Read: looks, changes nothing. Scopes
The categories of one of the playlist's lists, in order, each with how many rows it shows, without the rows themselves.
Path parameters
kindstringrequiredWhich list of the playlist:
live(channels),movie(movies) orseries(TV shows).One of:
"live""movie""series"pidstring (uuid)requiredThe playlist's id.
Query parameters
deletedbooleantrueto include what is in the recycle bin.Default:
false
Response
200 OK
idintegerrequirednamestringrequiredsource_namestringrequiredIts name at the provider ('' for one made in the editor).
positionintegerrequiredCategories are listed by position.
hiddenbooleanrequiredHidden from the playlist players get.
sync_namebooleanrequiredTakes the provider's name again at each sync.
deleted_atstring (date-time)requiredcan be nullWhen it went to the recycle bin; null when it is not there.
countintegerrequiredHow many rows it shows.
Errors
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.