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