Set the renaming rule for imports
PUT
/streams/bulk-edit/import-names/write Change: creates or edits. Scopes
Keeps a rule every playlist import applies to the names it adds; {"rule": null} stops. Panel operators only.
Body
ruleobjectrequiredcan be nullremove_codebooleanDefault:
falseremove_qualitybooleanDefault:
falseremove_prefixstring[]remove_suffixstring[]replaceobject[]findstringrequiredtostringpatternbooleanDefault:
false
casestringDefault:
"keep"tidybooleanDefault:
trueadd_prefixstringadd_suffixstringstop_name_syncbooleanDefault:
false
Response
200 OK
ruleobjectrequiredcan be nullremove_codebooleanDefault:
falseremove_qualitybooleanDefault:
falseremove_prefixstring[]remove_suffixstring[]replaceobject[]findstringrequiredtostringpatternbooleanDefault:
false
casestringDefault:
"keep"tidybooleanDefault:
trueadd_prefixstringadd_suffixstringstop_name_syncbooleanDefault:
false
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.