Changes by blabdude

Ajay Ramachandran 2021-06-18 19:27:00 -04:00
parent f16c35fe8a
commit f419842c6e

@ -570,6 +570,33 @@ Temporary ban that shows a warning asking them to contact us.
__________________________________________________________________
##### **POST** `/api/clearCache`
Clear redis cache for video.
**Input** (Request Body):
```js
{
userID: string, // your userID
videoID: string // video ID to clear cache of
}
```
**Response**:
```js
{
Cache cleared on video videoID (status code 200)
}
```
**Error codes**:
400: Bad Request (Your inputs are wrong/impossible)
403: Unauthorized (You are not a VIP)
__________________________________________________________________
### Admin Calls
These can only be called by the server administrator, set in the config.