API Docs: Difference between revisions
Jump to navigation
Jump to search
→POST /api/addUserAsVIP: add default value for enabled
m (Make links in references point to the sections of Types instead of the whole page) |
(→POST /api/addUserAsVIP: add default value for enabled) |
||
Line 1,098: | Line 1,098: | ||
userID: string, // Public userID of the user you want to add to the VIP list | userID: string, // Public userID of the user you want to add to the VIP list | ||
adminUserID: string, // Admin's local userID | adminUserID: string, // Admin's local userID | ||
enabled: boolean // Optional, to be able to add and remove users | enabled: boolean // Optional, to be able to add and remove users (default: false) | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 1,115: | Line 1,115: | ||
403: Unauthorized (You are not an admin) | 403: Unauthorized (You are not an admin) | ||
----- | ----- | ||
===Legacy API=== | ===Legacy API=== | ||
https://github.com/ajayyy/SponsorBlock/wiki/Legacy-API | https://github.com/ajayyy/SponsorBlock/wiki/Legacy-API |