Suggest rules to sort streams
POST
/streams/sort/suggest/write Change: creates or edits. Scopes
A rule for each code often found at the start of the names in the selection (UK:, |FR|…). A selection is the streams ticked (ids) or every stream the list filters select (all_matching: true with filters, less exclude).
Body
selectionobjectrequiredThe streams a bulk action applies to: the ones ticked (
ids), or every stream the list filters select (all_matching: truewithfilters, which take the list's query parameters), lessexclude.idsstring (uuid)[]all_matchingbooleanDefault:
falsefiltersobjectexcludestring (uuid)[]
Response
200 OK
suggestionsobject[]required
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.