deprecate video abuse route, soon to be superseeded

pull/2937/head
Rigel Kent 2020-07-02 16:24:51 +02:00
parent 35f0a5e665
commit 6957f698d0
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 4 additions and 0 deletions

View File

@ -1470,6 +1470,7 @@ paths:
description: '`magnetUri` or `targetUrl` or a torrent file missing' description: '`magnetUri` or `targetUrl` or a torrent file missing'
/videos/abuse: /videos/abuse:
get: get:
deprecated: true
summary: List video abuses summary: List video abuses
security: security:
- OAuth2: - OAuth2:
@ -1545,6 +1546,7 @@ paths:
$ref: '#/components/schemas/VideoAbuse' $ref: '#/components/schemas/VideoAbuse'
'/videos/{id}/abuse': '/videos/{id}/abuse':
post: post:
deprecated: true
summary: Report an abuse summary: Report an abuse
security: security:
- OAuth2: [] - OAuth2: []
@ -1595,6 +1597,7 @@ paths:
description: incorrect request parameters description: incorrect request parameters
'/videos/{id}/abuse/{abuseId}': '/videos/{id}/abuse/{abuseId}':
put: put:
deprecated: true
summary: Update an abuse summary: Update an abuse
security: security:
- OAuth2: - OAuth2:
@ -1622,6 +1625,7 @@ paths:
'404': '404':
description: video abuse not found description: video abuse not found
delete: delete:
deprecated: true
tags: tags:
- Video Abuses - Video Abuses
summary: Delete an abuse summary: Delete an abuse