Playlist editor

Update an auto updater

PATCH/editor/playlists/{pid}/updaters/{id}/

write Change: creates or edits. Scopes

Send only what changes; options and mappings are replaced whole.

Path parameters

  • idintegerrequired
  • pidstring (uuid)required

Body

  • providerinteger
  • optionsobject
    • liveobject
      • sync_newboolean

        Add new entries and categories.

      • import_allboolean

        Also take back from the bin what the provider lists.

      • on_topinteger[]

        Categories (ids) where new entries go at the top.

      • provider_epgboolean

        New channels take the provider's guide id.

      • sync_namesboolean

        Rename channels marked to follow the provider.

      • catchupboolean

        Catch-up days and server time, from the provider.

      • deletionsboolean

        What the provider removed goes to the bin.

      • safe_deletionsboolean

        Not when it would be more than 1,500 or half of them.

      • delete_categoriesboolean

        Remove categories the provider dropped, once empty.

      • any_domainboolean

        Accept streams on another address than the list.

    • movieobject
      • sync_newboolean

        Add new entries and categories.

      • import_allboolean

        Also take back from the bin what the provider lists.

      • on_topinteger[]

        Categories (ids) where new entries go at the top.

      • provider_epgboolean

        New channels take the provider's guide id.

      • sync_namesboolean

        Rename channels marked to follow the provider.

      • catchupboolean

        Catch-up days and server time, from the provider.

      • deletionsboolean

        What the provider removed goes to the bin.

      • safe_deletionsboolean

        Not when it would be more than 1,500 or half of them.

      • delete_categoriesboolean

        Remove categories the provider dropped, once empty.

      • any_domainboolean

        Accept streams on another address than the list.

    • seriesobject
      • sync_newboolean

        Add new entries and categories.

      • import_allboolean

        Also take back from the bin what the provider lists.

      • on_topinteger[]

        Categories (ids) where new entries go at the top.

      • provider_epgboolean

        New channels take the provider's guide id.

      • sync_namesboolean

        Rename channels marked to follow the provider.

      • catchupboolean

        Catch-up days and server time, from the provider.

      • deletionsboolean

        What the provider removed goes to the bin.

      • safe_deletionsboolean

        Not when it would be more than 1,500 or half of them.

      • delete_categoriesboolean

        Remove categories the provider dropped, once empty.

      • any_domainboolean

        Accept streams on another address than the list.

  • mappingsobject[]
    • kindstringrequired

      live, movie or series.

    • provider_keystringrequired

      The provider's category id.

    • provider_namestring
    • categoryintegercan be null

      The playlist's category it goes to; null for a new one.

    • syncboolean

      Whether this category is kept in step.

  • enabledboolean

    Default: true

Response

200 OK

  • idintegerrequired
  • providerintegerrequired
  • provider_urlstringrequired
  • optionsobjectrequired

    Per kind; a kind left out is not synced.

    • liveobject
      • sync_newboolean

        Add new entries and categories.

      • import_allboolean

        Also take back from the bin what the provider lists.

      • on_topinteger[]

        Categories (ids) where new entries go at the top.

      • provider_epgboolean

        New channels take the provider's guide id.

      • sync_namesboolean

        Rename channels marked to follow the provider.

      • catchupboolean

        Catch-up days and server time, from the provider.

      • deletionsboolean

        What the provider removed goes to the bin.

      • safe_deletionsboolean

        Not when it would be more than 1,500 or half of them.

      • delete_categoriesboolean

        Remove categories the provider dropped, once empty.

      • any_domainboolean

        Accept streams on another address than the list.

    • movieobject
      • sync_newboolean

        Add new entries and categories.

      • import_allboolean

        Also take back from the bin what the provider lists.

      • on_topinteger[]

        Categories (ids) where new entries go at the top.

      • provider_epgboolean

        New channels take the provider's guide id.

      • sync_namesboolean

        Rename channels marked to follow the provider.

      • catchupboolean

        Catch-up days and server time, from the provider.

      • deletionsboolean

        What the provider removed goes to the bin.

      • safe_deletionsboolean

        Not when it would be more than 1,500 or half of them.

      • delete_categoriesboolean

        Remove categories the provider dropped, once empty.

      • any_domainboolean

        Accept streams on another address than the list.

    • seriesobject
      • sync_newboolean

        Add new entries and categories.

      • import_allboolean

        Also take back from the bin what the provider lists.

      • on_topinteger[]

        Categories (ids) where new entries go at the top.

      • provider_epgboolean

        New channels take the provider's guide id.

      • sync_namesboolean

        Rename channels marked to follow the provider.

      • catchupboolean

        Catch-up days and server time, from the provider.

      • deletionsboolean

        What the provider removed goes to the bin.

      • safe_deletionsboolean

        Not when it would be more than 1,500 or half of them.

      • delete_categoriesboolean

        Remove categories the provider dropped, once empty.

      • any_domainboolean

        Accept streams on another address than the list.

  • mappingsobject[]required
    • kindstringrequired

      live, movie or series.

    • provider_keystringrequired

      The provider's category id.

    • provider_namestring
    • categoryintegercan be null

      The playlist's category it goes to; null for a new one.

    • syncboolean

      Whether this category is kept in step.

  • enabledbooleanrequired
  • last_run_atstring (date-time)requiredcan be null
  • last_ok_atstring (date-time)requiredcan be null
  • statusstringrequired
  • last_errorstringrequired
  • next_live_atstring (date-time)requiredcan be null

    When channels sync next.

  • next_vod_atstring (date-time)requiredcan be null

    When movies and TV shows sync next.

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.

What each error means