aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-07-02 16:24:51 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-07-02 16:30:52 +0200
commit6957f698d066b5dadf615b3e83da76e6a7b55606 (patch)
treea20157f356525f4861a97acc6d1539af93376b1a /support/doc/api
parent35f0a5e665a565ffc9d4b88c5a12d45c88b0a090 (diff)
downloadPeerTube-6957f698d066b5dadf615b3e83da76e6a7b55606.tar.gz
PeerTube-6957f698d066b5dadf615b3e83da76e6a7b55606.tar.zst
PeerTube-6957f698d066b5dadf615b3e83da76e6a7b55606.zip
deprecate video abuse route, soon to be superseeded
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/openapi.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index eec4e0248..2fc55b832 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1470,6 +1470,7 @@ paths:
1470 description: '`magnetUri` or `targetUrl` or a torrent file missing' 1470 description: '`magnetUri` or `targetUrl` or a torrent file missing'
1471 /videos/abuse: 1471 /videos/abuse:
1472 get: 1472 get:
1473 deprecated: true
1473 summary: List video abuses 1474 summary: List video abuses
1474 security: 1475 security:
1475 - OAuth2: 1476 - OAuth2:
@@ -1545,6 +1546,7 @@ paths:
1545 $ref: '#/components/schemas/VideoAbuse' 1546 $ref: '#/components/schemas/VideoAbuse'
1546 '/videos/{id}/abuse': 1547 '/videos/{id}/abuse':
1547 post: 1548 post:
1549 deprecated: true
1548 summary: Report an abuse 1550 summary: Report an abuse
1549 security: 1551 security:
1550 - OAuth2: [] 1552 - OAuth2: []
@@ -1595,6 +1597,7 @@ paths:
1595 description: incorrect request parameters 1597 description: incorrect request parameters
1596 '/videos/{id}/abuse/{abuseId}': 1598 '/videos/{id}/abuse/{abuseId}':
1597 put: 1599 put:
1600 deprecated: true
1598 summary: Update an abuse 1601 summary: Update an abuse
1599 security: 1602 security:
1600 - OAuth2: 1603 - OAuth2:
@@ -1622,6 +1625,7 @@ paths:
1622 '404': 1625 '404':
1623 description: video abuse not found 1626 description: video abuse not found
1624 delete: 1627 delete:
1628 deprecated: true
1625 tags: 1629 tags:
1626 - Video Abuses 1630 - Video Abuses
1627 summary: Delete an abuse 1631 summary: Delete an abuse