From da35b419cdd7b39ca8a12cfeabb22120fa748406 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 13 May 2021 14:19:59 +0200 Subject: fix route prefix for blocklist routes in openapi spec closes #4091 --- support/doc/api/openapi.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'support/doc/api/openapi.yaml') 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: $ref: '#/components/schemas/VideoChannelList' '500': description: search index unavailable - /blocklist/accounts: + + /server/blocklist/accounts: get: tags: - Account Blocks @@ -3313,7 +3314,7 @@ paths: description: successful operation '409': description: self-blocking forbidden - '/blocklist/accounts/{accountName}': + '/server/blocklist/accounts/{accountName}': delete: tags: - Account Blocks @@ -3333,7 +3334,8 @@ paths: description: successful operation '404': description: account or account block does not exist - /blocklist/servers: + + /server/blocklist/servers: get: tags: - Server Blocks @@ -3372,7 +3374,7 @@ paths: description: successful operation '409': description: self-blocking forbidden - '/blocklist/servers/{host}': + '/server/blocklist/servers/{host}': delete: tags: - Server Blocks @@ -3393,6 +3395,7 @@ paths: description: successful operation '404': description: account block does not exist + /server/redundancy/{host}: put: tags: @@ -3501,6 +3504,7 @@ paths: description: successful operation '404': description: video redundancy not found + '/feeds/video-comments.{format}': get: tags: -- cgit v1.2.3