From baf49684e5a1e43bf26c322324b0fdd30cd7de2c Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Thu, 15 Jul 2021 15:01:05 -0400 Subject: [PATCH] Changes by blabdude --- API-Docs.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/API-Docs.md b/API-Docs.md index aab3e2d..52b09bd 100644 --- a/API-Docs.md +++ b/API-Docs.md @@ -480,8 +480,9 @@ ________________________________________________________________________________ **Response**: ```js { - "categories": string[] + "categories": string[], // See https://github.com/ajayyy/SponsorBlock/wiki/Types#category + "reason": string } ``` @@ -508,8 +509,9 @@ __________________________________________________________________ [{ // Array of this object "videoID": string, "hash": string, // The full hash - "categories": string[] + "categories": string[], // See https://github.com/ajayyy/SponsorBlock/wiki/Types#category + "reason": string }] ``` @@ -556,7 +558,8 @@ Will block new segment submissions of the specified category on that video. { videoID: string, userID: string, - categories: string[] + categories: string[], + reason: string } ``` @@ -653,6 +656,8 @@ Temporary ban that shows a warning asking them to contact us. **Error codes**: +400: Bad Request (Your inputs are wrong/impossible) + 403: Unauthorized (You are not a VIP) __________________________________________________________________