]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
fix route prefix for blocklist routes in openapi spec
authorRigel Kent <sendmemail@rigelk.eu>
Thu, 13 May 2021 12:19:59 +0000 (14:19 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Thu, 13 May 2021 12:20:04 +0000 (14:20 +0200)
closes #4091

support/doc/api/openapi.yaml

index fad0173e3b3370752c0b796274456e6bc8422eca..460d5938bf5ad5ce031f049f548d680546b71257 100644 (file)
@@ -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: