API Docs: Difference between revisions

Jump to navigation Jump to search
48 bytes added ,  14 January 2023
m
m (→‎POST /api/lockCategories: correct response types)
Line 899: Line 899:
<syntaxhighlight lang="ts">
<syntaxhighlight lang="ts">
{
{
   message: "Removed lock categories entrys for video videoID"
   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, enable or disable ban
   enabled: boolean, // Optional, default true, true to ban and false to unban
   unHideOldSubmissions: boolean, // Optional, should all previous submissions be banned as well?
   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...
}
}

Navigation menu