TV guide

Add a guide source

POST/epg/sources/

write Change: creates or edits. Scopes

Adds an XMLTV address (url, http or https); name defaults to its host. It is imported on the next round. Countries are added with "Choose the guide countries". Panel operators only.

Body

  • namestring
  • urlstring (uri)
  • is_activeboolean
  • priorityinteger

    When two sources carry the same channel, the higher priority one supplies its programmes.

Response

201 OK

  • idintegerrequiredread-only
  • kindstringrequiredread-only
  • namestring
  • countrystringrequiredread-only
  • urlstring (uri)
  • is_activeboolean
  • priorityinteger

    When two sources carry the same channel, the higher priority one supplies its programmes.

  • statusstringrequiredread-only
  • last_checked_atstring (date-time)requiredread-onlycan be null
  • last_imported_atstring (date-time)requiredread-onlycan be null
  • last_errorstringrequiredread-only
  • channels_countintegerrequiredread-only
  • programmes_countintegerrequiredread-only
  • updated_atstring (date-time)requiredread-only

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