mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-15 07:57:09 +03:00
Changes by blabdude
11
API-Docs.md
11
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)
|
||||
|
||||
__________________________________________________________________
|
||||
|
||||
Reference in New Issue
Block a user