diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-16 16:24:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-16 16:24:47 +0100 |
commit | aaaaa0090ec615390e717871c5a81c6169dd42cb (patch) | |
tree | 82348f7b7038860ff9baf1b571f90acf9792d8d7 /support | |
parent | 3290f30c5bc05717cf5243419f429997d3ef5074 (diff) | |
download | PeerTube-aaaaa0090ec615390e717871c5a81c6169dd42cb.tar.gz PeerTube-aaaaa0090ec615390e717871c5a81c6169dd42cb.tar.zst PeerTube-aaaaa0090ec615390e717871c5a81c6169dd42cb.zip |
Fix list registrations api doc
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
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: | |||
2215 | - state | 2215 | - state |
2216 | - -state | 2216 | - -state |
2217 | responses: | 2217 | responses: |
2218 | '204': | 2218 | '200': |
2219 | description: successful operation | 2219 | description: successful operation |
2220 | content: | ||
2221 | application/json: | ||
2222 | schema: | ||
2223 | type: object | ||
2224 | properties: | ||
2225 | total: | ||
2226 | type: integer | ||
2227 | example: 1 | ||
2228 | data: | ||
2229 | type: array | ||
2230 | items: | ||
2231 | $ref: '#/components/schemas/UserRegistration' | ||
2220 | 2232 | ||
2221 | /api/v1/videos/ownership: | 2233 | /api/v1/videos/ownership: |
2222 | get: | 2234 | get: |