diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-05-10 11:02:54 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2021-05-10 11:27:35 +0200 |
commit | 5844dde3b880815c4d156681e19c6fb8a2da8f5e (patch) | |
tree | 6ab0efc7f5cdfa43d997fdff6d6e483739f04709 /support/doc | |
parent | 30b40713f48f993fac6db8d4dbd712018bbde847 (diff) | |
download | PeerTube-5844dde3b880815c4d156681e19c6fb8a2da8f5e.tar.gz PeerTube-5844dde3b880815c4d156681e19c6fb8a2da8f5e.tar.zst PeerTube-5844dde3b880815c4d156681e19c6fb8a2da8f5e.zip |
fix imports list response in openapi spec
closes #4063
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/api/openapi.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
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: | |||
707 | content: | 707 | content: |
708 | application/json: | 708 | application/json: |
709 | schema: | 709 | schema: |
710 | $ref: '#/components/schemas/VideoImport' | 710 | $ref: '#/components/schemas/VideoImportsList' |
711 | /users/me/video-quota-used: | 711 | /users/me/video-quota-used: |
712 | get: | 712 | get: |
713 | summary: Get my user used quota | 713 | summary: Get my user used quota |
@@ -4727,6 +4727,16 @@ components: | |||
4727 | format: date-time | 4727 | format: date-time |
4728 | video: | 4728 | video: |
4729 | $ref: '#/components/schemas/Video' | 4729 | $ref: '#/components/schemas/Video' |
4730 | VideoImportsList: | ||
4731 | properties: | ||
4732 | total: | ||
4733 | type: integer | ||
4734 | example: 1 | ||
4735 | data: | ||
4736 | type: array | ||
4737 | maxItems: 100 | ||
4738 | items: | ||
4739 | $ref: '#/components/schemas/VideoImport' | ||
4730 | Abuse: | 4740 | Abuse: |
4731 | properties: | 4741 | properties: |
4732 | id: | 4742 | id: |