mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-16 08:27:03 +03:00
Changes by blabdude
42
API-Docs.md
42
API-Docs.md
@@ -213,10 +213,13 @@ __________________________________________________________________
|
|||||||
userName: string,
|
userName: string,
|
||||||
minutesSaved: float,
|
minutesSaved: float,
|
||||||
segmentCount: int,
|
segmentCount: int,
|
||||||
|
ignoredSegmentCount: int,
|
||||||
viewCount: int,
|
viewCount: int,
|
||||||
|
ignoredViewCount: int,
|
||||||
warnings: int,
|
warnings: int,
|
||||||
reputation: float,
|
reputation: float,
|
||||||
vip: boolean,
|
vip: boolean,
|
||||||
|
lastSegmentID: string
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -391,6 +394,45 @@ __________________________________________________________________
|
|||||||
None
|
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
|
### VIP Calls
|
||||||
|
|
||||||
These can only be called by the users added to the VIP table.
|
These can only be called by the users added to the VIP table.
|
||||||
|
|||||||
Reference in New Issue
Block a user