Script Categories
Categories that group a creator's scripts. Scripts without a category are in the built-in Uncategorized category (ID 0). Requires permission to modify the creator's settings.
Rename script category
Body: name, required. Names are unique per creator, ignoring case.
query Parameters
creatorIdID of the creator
idID of the category
Rename script category › Request Body
nameName of the category; unique per creator, ignoring case
Rename script category › Responses
Updated category
idID of the category; 0 for the built-in Uncategorized category
nameName of the category
orderNumberDisplay position, ascending; Uncategorized is always last
Create script category
Body: name, required. Names are unique per creator, ignoring case. The new category is placed after the existing ones.
query Parameters
creatorIdID of the creator
Create script category › Request Body
nameName of the category; unique per creator, ignoring case
Create script category › Responses
Created category
idID of the category; 0 for the built-in Uncategorized category
nameName of the category
orderNumberDisplay position, ascending; Uncategorized is always last
Delete script category
Deletes the category. contentPolicy decides what happens to its scripts: UNLINK moves them to Uncategorized, DELETE deletes them. Also succeeds when the category does not exist.
query Parameters
creatorIdID of the creator
idID of the category
contentPolicyUNLINK (default) or DELETE
Delete script category › Responses
Category deleted
Reorder script categories
Body: array of category IDs in the new order, e.g. [5, 3, 8]. Categories missing from the array go to the end. Returns all categories in the new order, Uncategorized (ID 0) last.
query Parameters
creatorIdID of the creator
Reorder script categories › Responses
Categories in the new order
idID of the category; 0 for the built-in Uncategorized category
nameName of the category
orderNumberDisplay position, ascending; Uncategorized is always last
