8
edits
m (→POST /api/lockCategories: correct response types) |
|||
Line 899: | Line 899: | ||
<syntaxhighlight lang="ts"> | <syntaxhighlight lang="ts"> | ||
{ | { | ||
message: "Removed lock categories | message: "Removed lock categories entries for video videoID" | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 919: | Line 919: | ||
userID: string, // Public userID of the user you want to shadowBan | userID: string, // Public userID of the user you want to shadowBan | ||
adminUserID: string, // Local userID of VIP or Admin | adminUserID: string, // Local userID of VIP or Admin | ||
enabled: boolean, // Optional, default true, | enabled: boolean, // Optional, default true, true to ban and false to unban | ||
unHideOldSubmissions: boolean, // Optional, should all previous submissions be | unHideOldSubmissions: boolean, // Optional, depends on the enabled parameter, should all previous submissions be (un)hidden as well? | ||
categories: string // Optional, defaults to all categories, in the format "["sponsor", "selfpromo"]" etc... | categories: string // Optional, defaults to all categories, in the format "["sponsor", "selfpromo"]" etc... | ||
} | } |