Playlist editor

Add an outside guide

POST/editor/epg/external/

write Change: creates or edits. Scopes

Adds an XMLTV guide by its address. It is checked first, in a background task: one that cannot be read is listed with the reason, one that passes is read in a minute or two. An account may add 10.

Body

  • urlstring (uri)required
  • namestringrequired

Response

202 OK

  • jobstring (uuid)required

    The background task: follow it with GET /editor/jobs/{id}/ (/editor/api/v1/jobs/{id}/ with a token).

  • sourceobjectrequired
    • idintegerrequired
    • namestringrequired
    • urlstringrequired
    • statusstringrequired

      checking while it is first checked, error when it failed.

    • last_imported_atstring (date-time)requiredcan be null
    • last_errorstringrequired
    • channelsintegerrequired
    • programmesintegerrequired
    • minebooleanrequired

      Added from the playlist editor.

  • messagestringrequired

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.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means