mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Compare commits
2 commits
7d074c40ce
...
4775b1e0de
Author | SHA1 | Date | |
---|---|---|---|
|
4775b1e0de | ||
|
3fdb026ca8 |
1 changed files with 30 additions and 0 deletions
|
@ -418,3 +418,33 @@ Example request:
|
||||||
```
|
```
|
||||||
|
|
||||||
Returns 204 on success.
|
Returns 204 on success.
|
||||||
|
|
||||||
|
##### GET `/api/v1/auth/history`
|
||||||
|
|
||||||
|
Get the history of videos played by the user.
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
```
|
||||||
|
max_results: Int32
|
||||||
|
page: Int32
|
||||||
|
```
|
||||||
|
|
||||||
|
> Schema:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
[
|
||||||
|
// video IDs
|
||||||
|
]
|
||||||
|
```
|
||||||
|
##### POST `/api/v1/auth/history/:id`
|
||||||
|
|
||||||
|
Set a video as watched.
|
||||||
|
|
||||||
|
Returns 204 on success.
|
||||||
|
|
||||||
|
##### DELETE `/api/v1/auth/history/:id`
|
||||||
|
|
||||||
|
Delete a video from the user watched history.
|
||||||
|
|
||||||
|
Returns 204 on success.
|
Loading…
Reference in a new issue