fix route prefix for blocklist routes in openapi spec

closes #4091
This commit is contained in:
Rigel Kent 2021-05-13 14:19:59 +02:00
parent a4ce422305
commit da35b419cd
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 8 additions and 4 deletions

View File

@ -3274,7 +3274,8 @@ paths:
$ref: '#/components/schemas/VideoChannelList' $ref: '#/components/schemas/VideoChannelList'
'500': '500':
description: search index unavailable description: search index unavailable
/blocklist/accounts:
/server/blocklist/accounts:
get: get:
tags: tags:
- Account Blocks - Account Blocks
@ -3313,7 +3314,7 @@ paths:
description: successful operation description: successful operation
'409': '409':
description: self-blocking forbidden description: self-blocking forbidden
'/blocklist/accounts/{accountName}': '/server/blocklist/accounts/{accountName}':
delete: delete:
tags: tags:
- Account Blocks - Account Blocks
@ -3333,7 +3334,8 @@ paths:
description: successful operation description: successful operation
'404': '404':
description: account or account block does not exist description: account or account block does not exist
/blocklist/servers:
/server/blocklist/servers:
get: get:
tags: tags:
- Server Blocks - Server Blocks
@ -3372,7 +3374,7 @@ paths:
description: successful operation description: successful operation
'409': '409':
description: self-blocking forbidden description: self-blocking forbidden
'/blocklist/servers/{host}': '/server/blocklist/servers/{host}':
delete: delete:
tags: tags:
- Server Blocks - Server Blocks
@ -3393,6 +3395,7 @@ paths:
description: successful operation description: successful operation
'404': '404':
description: account block does not exist description: account block does not exist
/server/redundancy/{host}: /server/redundancy/{host}:
put: put:
tags: tags:
@ -3501,6 +3504,7 @@ paths:
description: successful operation description: successful operation
'404': '404':
description: video redundancy not found description: video redundancy not found
'/feeds/video-comments.{format}': '/feeds/video-comments.{format}':
get: get:
tags: tags: