mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-14 23:47:04 +03:00
Changes by blabdude
42
API-Docs.md
42
API-Docs.md
@@ -213,10 +213,13 @@ __________________________________________________________________
|
||||
userName: string,
|
||||
minutesSaved: float,
|
||||
segmentCount: int,
|
||||
ignoredSegmentCount: int,
|
||||
viewCount: int,
|
||||
ignoredViewCount: int,
|
||||
warnings: int,
|
||||
reputation: float,
|
||||
vip: boolean,
|
||||
lastSegmentID: string
|
||||
}
|
||||
```
|
||||
|
||||
@@ -391,6 +394,45 @@ __________________________________________________________________
|
||||
None
|
||||
__________________________________________________________________
|
||||
|
||||
##### **GET** `/api/segmentInfo`
|
||||
|
||||
**Input**:
|
||||
```js
|
||||
{
|
||||
UUID: string, // Can be used instead of UUIDs
|
||||
UUIDs: string[] // Can be used instead of UUID. Maximum 10 entries. Will look like ["a...0", "b...1"]
|
||||
}
|
||||
```
|
||||
|
||||
**Response**:
|
||||
```js
|
||||
[{ // Array of this object
|
||||
videoID: string,
|
||||
startTime: float,
|
||||
endTime: fload,
|
||||
votes: int,
|
||||
locked: int,
|
||||
UUID: string,
|
||||
userID: string,
|
||||
timeSubmitted: int,
|
||||
views: int,
|
||||
category: string,
|
||||
service: string,
|
||||
videoDuration: int,
|
||||
hidden: int,
|
||||
reputation: int,
|
||||
shadowHidden: int
|
||||
}]
|
||||
```
|
||||
|
||||
**Error codes**:
|
||||
|
||||
400: Bad Request (Your inputs are wrong/impossible)
|
||||
|
||||
404: Not Found
|
||||
|
||||
__________________________________________________________________
|
||||
|
||||
### VIP Calls
|
||||
|
||||
These can only be called by the users added to the VIP table.
|
||||
|
||||
Reference in New Issue
Block a user