Skip to content

Commit 43440ce

Browse files
Add subtitle in video creation payload
1 parent 5d3ce1a commit 43440ce

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/model/VideoCreationPayload.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**title** | **string** | The title of your new video. |
9+
**subtitle** | **string** | A subtitle for your video. | [optional]
910
**description** | **string** | A brief description of your video. | [optional]
1011
**source** | **string** | You can either add a video already on the web, by entering the URL of the video, or you can also enter the `videoId` of one of the videos you already have on your api.video acccount, and this will generate a copy of your video. Creating a copy of a video can be especially useful if you want to keep your original video and trim or apply a watermark onto the copy you would create. | [optional]
1112
**_public** | **boolean** | Default: True. If set to `false` the video will become private. More information on private videos can be found [here](https://docs.api.video/delivery/video-privacy-access-management) | [optional]

src/model/VideoCreationPayload.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ export default class VideoCreationPayload {
1919
* The title of your new video.
2020
*/
2121
'title': string;
22+
/**
23+
* A subtitle for your video.
24+
*/
25+
'subtitle'?: string;
2226
/**
2327
* A brief description of your video.
2428
*/
@@ -79,6 +83,12 @@ export default class VideoCreationPayload {
7983
type: 'string',
8084
format: '',
8185
},
86+
{
87+
name: 'subtitle',
88+
baseName: 'subtitle',
89+
type: 'string',
90+
format: '',
91+
},
8292
{
8393
name: 'description',
8494
baseName: 'description',

0 commit comments

Comments
 (0)