From 5844dde3b880815c4d156681e19c6fb8a2da8f5e Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 10 May 2021 11:02:54 +0200 Subject: fix imports list response in openapi spec closes #4063 --- support/doc/api/openapi.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'support/doc') diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index a71b571b8..7eec9ec28 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -707,7 +707,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/VideoImport' + $ref: '#/components/schemas/VideoImportsList' /users/me/video-quota-used: get: summary: Get my user used quota @@ -4727,6 +4727,16 @@ components: format: date-time video: $ref: '#/components/schemas/Video' + VideoImportsList: + properties: + total: + type: integer + example: 1 + data: + type: array + maxItems: 100 + items: + $ref: '#/components/schemas/VideoImport' Abuse: properties: id: -- cgit v1.2.3