aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-18 11:23:41 +0100
committerChocobozzz <me@florianbigard.com>2022-01-18 11:23:41 +0100
commit7177b46ca1b35aa9d7ed39a06c1dcf41a4fc6180 (patch)
tree016cb0d966fe9fea8a6381eb246e966f5c4eae57 /support/doc/api
parent3b83faccfffc13adaef0b63c211b1ce4944e8b3b (diff)
downloadPeerTube-7177b46ca1b35aa9d7ed39a06c1dcf41a4fc6180.tar.gz
PeerTube-7177b46ca1b35aa9d7ed39a06c1dcf41a4fc6180.tar.zst
PeerTube-7177b46ca1b35aa9d7ed39a06c1dcf41a4fc6180.zip
Add ability to delete history element
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/openapi.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 5746d3a47..5bf3f13cc 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1476,6 +1476,23 @@ paths:
1476 schema: 1476 schema:
1477 $ref: '#/components/schemas/VideoListResponse' 1477 $ref: '#/components/schemas/VideoListResponse'
1478 1478
1479 /users/me/history/videos/{videoId}:
1480 delete:
1481 summary: Delete history element
1482 security:
1483 - OAuth2: []
1484 tags:
1485 - My History
1486 parameters:
1487 - name: videoId
1488 in: path
1489 required: true
1490 schema:
1491 $ref: '#/components/schemas/Video/properties/id'
1492 responses:
1493 '204':
1494 description: successful operation
1495
1479 /users/me/history/videos/remove: 1496 /users/me/history/videos/remove:
1480 post: 1497 post:
1481 summary: Clear video history 1498 summary: Clear video history