aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-05-13 14:19:59 +0200
committerRigel Kent <sendmemail@rigelk.eu>2021-05-13 14:20:04 +0200
commitda35b419cdd7b39ca8a12cfeabb22120fa748406 (patch)
tree8668a7ff33a6879288ebbbd44a7a0aa724fdf66f
parenta4ce422305fe16fad16dffebbc1fc56f191a0a6d (diff)
downloadPeerTube-da35b419cdd7b39ca8a12cfeabb22120fa748406.tar.gz
PeerTube-da35b419cdd7b39ca8a12cfeabb22120fa748406.tar.zst
PeerTube-da35b419cdd7b39ca8a12cfeabb22120fa748406.zip
fix route prefix for blocklist routes in openapi spec
closes #4091
-rw-r--r--support/doc/api/openapi.yaml12
1 files changed, 8 insertions, 4 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index fad0173e3..460d5938b 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -3274,7 +3274,8 @@ paths:
3274 $ref: '#/components/schemas/VideoChannelList' 3274 $ref: '#/components/schemas/VideoChannelList'
3275 '500': 3275 '500':
3276 description: search index unavailable 3276 description: search index unavailable
3277 /blocklist/accounts: 3277
3278 /server/blocklist/accounts:
3278 get: 3279 get:
3279 tags: 3280 tags:
3280 - Account Blocks 3281 - Account Blocks
@@ -3313,7 +3314,7 @@ paths:
3313 description: successful operation 3314 description: successful operation
3314 '409': 3315 '409':
3315 description: self-blocking forbidden 3316 description: self-blocking forbidden
3316 '/blocklist/accounts/{accountName}': 3317 '/server/blocklist/accounts/{accountName}':
3317 delete: 3318 delete:
3318 tags: 3319 tags:
3319 - Account Blocks 3320 - Account Blocks
@@ -3333,7 +3334,8 @@ paths:
3333 description: successful operation 3334 description: successful operation
3334 '404': 3335 '404':
3335 description: account or account block does not exist 3336 description: account or account block does not exist
3336 /blocklist/servers: 3337
3338 /server/blocklist/servers:
3337 get: 3339 get:
3338 tags: 3340 tags:
3339 - Server Blocks 3341 - Server Blocks
@@ -3372,7 +3374,7 @@ paths:
3372 description: successful operation 3374 description: successful operation
3373 '409': 3375 '409':
3374 description: self-blocking forbidden 3376 description: self-blocking forbidden
3375 '/blocklist/servers/{host}': 3377 '/server/blocklist/servers/{host}':
3376 delete: 3378 delete:
3377 tags: 3379 tags:
3378 - Server Blocks 3380 - Server Blocks
@@ -3393,6 +3395,7 @@ paths:
3393 description: successful operation 3395 description: successful operation
3394 '404': 3396 '404':
3395 description: account block does not exist 3397 description: account block does not exist
3398
3396 /server/redundancy/{host}: 3399 /server/redundancy/{host}:
3397 put: 3400 put:
3398 tags: 3401 tags:
@@ -3501,6 +3504,7 @@ paths:
3501 description: successful operation 3504 description: successful operation
3502 '404': 3505 '404':
3503 description: video redundancy not found 3506 description: video redundancy not found
3507
3504 '/feeds/video-comments.{format}': 3508 '/feeds/video-comments.{format}':
3505 get: 3509 get:
3506 tags: 3510 tags: