diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-01 14:51:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:16:55 +0200 |
commit | d8f39b126d9fe4bec1c12fb213548cc6edc87867 (patch) | |
tree | 7f0f1cb23165cf4dd789b2d78b1fef7ee116f647 /support/doc/api/openapi.yaml | |
parent | 1fb7d094229acdc190c3f7551b43ac5445814dee (diff) | |
download | PeerTube-d8f39b126d9fe4bec1c12fb213548cc6edc87867.tar.gz PeerTube-d8f39b126d9fe4bec1c12fb213548cc6edc87867.tar.zst PeerTube-d8f39b126d9fe4bec1c12fb213548cc6edc87867.zip |
Add storyboard support
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r-- | support/doc/api/openapi.yaml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index ff94f802b..cd0e6ffd8 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -3668,6 +3668,27 @@ paths: | |||
3668 | items: | 3668 | items: |
3669 | $ref: '#/components/schemas/VideoBlacklist' | 3669 | $ref: '#/components/schemas/VideoBlacklist' |
3670 | 3670 | ||
3671 | /api/v1/videos/{id}/storyboards: | ||
3672 | get: | ||
3673 | summary: List storyboards of a video | ||
3674 | operationId: listVideoStoryboards | ||
3675 | tags: | ||
3676 | - Video | ||
3677 | parameters: | ||
3678 | - $ref: '#/components/parameters/idOrUUID' | ||
3679 | responses: | ||
3680 | '200': | ||
3681 | description: successful operation | ||
3682 | content: | ||
3683 | application/json: | ||
3684 | schema: | ||
3685 | type: object | ||
3686 | properties: | ||
3687 | storyboards: | ||
3688 | type: array | ||
3689 | items: | ||
3690 | $ref: '#/components/schemas/Storyboard' | ||
3691 | |||
3671 | /api/v1/videos/{id}/captions: | 3692 | /api/v1/videos/{id}/captions: |
3672 | get: | 3693 | get: |
3673 | summary: List captions of a video | 3694 | summary: List captions of a video |
@@ -7509,6 +7530,20 @@ components: | |||
7509 | type: array | 7530 | type: array |
7510 | items: | 7531 | items: |
7511 | $ref: '#/components/schemas/VideoCommentThreadTree' | 7532 | $ref: '#/components/schemas/VideoCommentThreadTree' |
7533 | Storyboard: | ||
7534 | properties: | ||
7535 | storyboardPath: | ||
7536 | type: string | ||
7537 | totalHeight: | ||
7538 | type: integer | ||
7539 | totalWidth: | ||
7540 | type: integer | ||
7541 | spriteHeight: | ||
7542 | type: integer | ||
7543 | spriteWidth: | ||
7544 | type: integer | ||
7545 | spriteDuration: | ||
7546 | type: integer | ||
7512 | VideoCaption: | 7547 | VideoCaption: |
7513 | properties: | 7548 | properties: |
7514 | language: | 7549 | language: |