Match channel logos
/editor/playlists/{pid}/logos/match/write Change: creates or edits. Scopes
Gives the channels scope picks ({"ids": [...]}, {"categories": [...]} (category ids) or {"all": true}) a logo found by their name. precision (40 to 100) is how close a name must be, and override also replaces the logos channels have. Up to 2,000 channels are matched at once (200); more in a background task (202).
Path parameters
pidstring (uuid)required
Body
scopeanyrequiredsourcestringcan be nullprecisionintegeroverridebooleancan be null
Response
200 OK
changeobjectrequiredcan be nullThe history record this edit made; null when nothing changed.
idintegerrequiredseqintegerrequiredIts place in the playlist's history.
labelstringrequiredWhat was done, in words.
operationstringrequiredcountintegerrequiredHow many entries it changed.
undoablebooleanrequiredcreated_atstring (date-time)required
versionintegerrequiredThe playlist's version after the edit.
rowsany[][]requiredThe changed entries, each a list of values in this order: id, category, name, source_name, url, logo, epg_id, epg_shift, number, catchup_days, tmdb_id, rating, hidden, sync_name, deleted_at, created_at, updated_at, provider, episodes.
202 OK
jobstring (uuid)requiredThe background task: follow it with
GET /editor/jobs/{id}/(/editor/api/v1/jobs/{id}/with a token).
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 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.