Add ability to delete history element

This commit is contained in:
Chocobozzz
2022-01-18 11:23:41 +01:00
parent 3b83faccff
commit 7177b46ca1
11 changed files with 181 additions and 26 deletions
+17
View File
@@ -1476,6 +1476,23 @@ paths:
schema:
$ref: '#/components/schemas/VideoListResponse'
/users/me/history/videos/{videoId}:
delete:
summary: Delete history element
security:
- OAuth2: []
tags:
- My History
parameters:
- name: videoId
in: path
required: true
schema:
$ref: '#/components/schemas/Video/properties/id'
responses:
'204':
description: successful operation
/users/me/history/videos/remove:
post:
summary: Clear video history