Merge or delete duplicate streams
/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
actionstringrequiredmerge- mergedelete- delete
One of:
"merge""delete"groupsstring[]allbooleanDefault:
falsereasonstringsource- sourceguide- guide
One of:
"source""guide"searchstringexcludestring[]keepobjectGroup id → id of the stream to keep.
Response
202 OK
idstringrequiredkindstringrequiredThe kind of task, e.g.
bulk_edit,bulk_delete,import.kind_labelstringrequiredtitlestringrequiredsubtitlestringrequiredstatestringrequiredqueued,running,waiting,stalled,completed,failedorcancelled.state_labelstringrequiredstatusstringrequiredThe task's own status, before it is grouped into
state.status_labelstringrequiredprogressobjectrequireddoneintegerrequiredcan be nulltotalintegerrequiredcan be nullpercentintegerrequiredcan be null0 to 100, null while unknown.
phasestringrequiredWhat it is doing now, in words; may be empty.
messagestringrequireddetailsobject[]requirederrorsobject[]requiredlinkobjectrequiredcan be nullThe dashboard page about it:
{path, query, label}, or null.actionsstring[]requiredWhat the caller may do with it now:
cancel,resume,retry.created_by_usernamestringrequiredcan be nullcreated_atstring (date-time)requiredstarted_atstring (date-time)requiredcan be nullfinished_atstring (date-time)requiredcan be nullupdated_atstring (date-time)requiredgroupsintegerrequiredGroups it acts on.
goneintegerrequiredGroups 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.