mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-17 03:44:25 +03:00
Updated API Docs (markdown)
13
API-Docs.md
13
API-Docs.md
@@ -112,7 +112,7 @@ __________________________________________________________________
|
|||||||
|
|
||||||
**POST** <sup>or **GET** (legacy)</sup> `/api/voteOnSponsorTime`
|
**POST** <sup>or **GET** (legacy)</sup> `/api/voteOnSponsorTime`
|
||||||
|
|
||||||
**Input** (URL Parameters):
|
**Input** Normal Vote (URL Parameters):
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
UUID: string, //id of the sponsor being voted on
|
UUID: string, //id of the sponsor being voted on
|
||||||
@@ -121,6 +121,17 @@ __________________________________________________________________
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
OR
|
||||||
|
|
||||||
|
**Input** Category Vote (URL Parameters):
|
||||||
|
```
|
||||||
|
{
|
||||||
|
UUID: string, //id of the sponsor being voted on
|
||||||
|
userID: string, //the local user id
|
||||||
|
category: string //the name of the category to change this submission to
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
**Response**:
|
**Response**:
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user