Streams

Merge or delete duplicate streams

POST/streams/duplicates/merge/

manage Delete and money: deletes, credits, servers or panel settings. Scopes

merge folds each group into the stream it keeps, which takes the others' sources as backups, their bouquets and categories, and their guide channel and logo when it has none; then the others are deleted. delete only deletes the others. Give the groups ticked (groups) or every group (all, with the reason and search of the page, less exclude); keep picks another stream to keep in a group. Groups are found again first; gone counts the ones no longer there. Runs in the background.

Body

  • actionstringrequired
    • merge - merge
    • delete - delete

    One of: "merge" "delete"

  • groupsstring[]
  • allboolean

    Default: false

  • reasonstring
    • source - source
    • guide - guide

    One of: "source" "guide"

  • searchstring
  • excludestring[]
  • keepobject

    Group id → id of the stream to keep.

Response

202 OK

  • idstringrequired
  • kindstringrequired

    The kind of task, e.g. bulk_edit, bulk_delete, import.

  • kind_labelstringrequired
  • titlestringrequired
  • subtitlestringrequired
  • statestringrequired

    queued, running, waiting, stalled, completed, failed or cancelled.

  • state_labelstringrequired
  • statusstringrequired

    The task's own status, before it is grouped into state.

  • status_labelstringrequired
  • progressobjectrequired
    • doneintegerrequiredcan be null
    • totalintegerrequiredcan be null
    • percentintegerrequiredcan be null

      0 to 100, null while unknown.

    • phasestringrequired

      What it is doing now, in words; may be empty.

  • messagestringrequired
  • detailsobject[]required
  • errorsobject[]required
  • linkobjectrequiredcan be null

    The dashboard page about it: {path, query, label}, or null.

  • actionsstring[]required

    What the caller may do with it now: cancel, resume, retry.

  • created_by_usernamestringrequiredcan be null
  • created_atstring (date-time)required
  • started_atstring (date-time)requiredcan be null
  • finished_atstring (date-time)requiredcan be null
  • updated_atstring (date-time)required
  • groupsintegerrequired

    Groups it acts on.

  • goneintegerrequired

    Groups no longer there, or with nothing left to remove.

Errors

  • 400
  • 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