472
edits
No edit summary |
(Merge changes from drafts) |
||
Line 19: | Line 19: | ||
Database Mirror (5 min update time, provided by Lartza): https://sb.ltn.fi/database/ | Database Mirror (5 min update time, provided by Lartza): https://sb.ltn.fi/database/ | ||
<sub>[https://sponsor.ajay.app/database Database Dump] | [https://github.com/ajayyy/SponsorBlock/wiki/Webhooks Webhook Docs] | [https://github.com/mchangrh/sb-openapi OpenAPI Docs]</sub> | <sub>[https://sponsor.ajay.app/database Database Dump] | [https://github.com/ajayyy/SponsorBlock/wiki/Webhooks Webhook Docs] | [https://github.com/mchangrh/sb-openapi OpenAPI Docs]</sub> | ||
----- | ----- | ||
====='''GET''' <code>/api/skipSegments</code>===== | ====='''GET''' <code>/api/skipSegments</code>===== | ||
Line 815: | Line 815: | ||
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, enable or disable ban | ||
unHideOldSubmissions: boolean // Optional, should all previous submissions be banned as well? | unHideOldSubmissions: boolean, // Optional, should all previous submissions be banned as well? | ||
categories: string // Optional, defaults to all categories, in the format "["sponsor", "selfpromo"]" etc... | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 893: | Line 894: | ||
{ | { | ||
userID: string, // Local userID | userID: string, // Local userID | ||
videoID: string | videoID: string, | ||
service: string // Service of video, defaults to YouTube | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |