From aaaaa0090ec615390e717871c5a81c6169dd42cb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Feb 2023 16:24:47 +0100 Subject: Fix list registrations api doc --- support/doc/api/openapi.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'support/doc/api') diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 256bfc701..79417e34f 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -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: -- cgit v1.2.3