Changes by blabdude

Ajay Ramachandran
2021-07-15 15:01:05 -04:00
parent da12acd27c
commit baf49684e5

@@ -480,8 +480,9 @@ ________________________________________________________________________________
**Response**: **Response**:
```js ```js
{ {
"categories": string[] "categories": string[],
// See https://github.com/ajayyy/SponsorBlock/wiki/Types#category // See https://github.com/ajayyy/SponsorBlock/wiki/Types#category
"reason": string
} }
``` ```
@@ -508,8 +509,9 @@ __________________________________________________________________
[{ // Array of this object [{ // Array of this object
"videoID": string, "videoID": string,
"hash": string, // The full hash "hash": string, // The full hash
"categories": string[] "categories": string[],
// See https://github.com/ajayyy/SponsorBlock/wiki/Types#category // 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, videoID: string,
userID: 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**: **Error codes**:
400: Bad Request (Your inputs are wrong/impossible)
403: Unauthorized (You are not a VIP) 403: Unauthorized (You are not a VIP)
__________________________________________________________________ __________________________________________________________________