]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix list registrations api doc
authorChocobozzz <me@florianbigard.com>
Thu, 16 Feb 2023 15:24:47 +0000 (16:24 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 16 Feb 2023 15:24:47 +0000 (16:24 +0100)
support/doc/api/openapi.yaml

index 256bfc701fbffb7f1dae98e35b5d08068e9c528b..79417e34fd2f69bc0bec338677fbb2cc62d1d7ac 100644 (file)
@@ -2215,8 +2215,20 @@ paths:
             - state
             - -state
       responses:
-        '204':
+        '200':
           description: successful operation
+          content:
+            application/json:
+              schema:
+                type: object
+                properties:
+                  total:
+                    type: integer
+                    example: 1
+                  data:
+                    type: array
+                    items:
+                      $ref: '#/components/schemas/UserRegistration'
 
   /api/v1/videos/ownership:
     get: