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)requirednamestringrequired
Response
202 OK
jobstring (uuid)requiredThe background task: follow it with
GET /editor/jobs/{id}/(/editor/api/v1/jobs/{id}/with a token).sourceobjectrequiredidintegerrequirednamestringrequiredurlstringrequiredstatusstringrequiredcheckingwhile it is first checked,errorwhen it failed.last_imported_atstring (date-time)requiredcan be nulllast_errorstringrequiredchannelsintegerrequiredprogrammesintegerrequiredminebooleanrequiredAdded 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.