Skip to content

Commit

Permalink
Merge pull request #197 from apivideo/Add-clip-object-timecode-descri…
Browse files Browse the repository at this point in the history
…ptions

Update video-clip schema with descriptions
  • Loading branch information
bot-api-video authored Oct 16, 2023
2 parents 9c000e4 + 4d480f2 commit 1664322
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
5 changes: 3 additions & 2 deletions docs/model/VideoClip.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@

# VideoClip

Use this object to create a smaller clip from a video you upload. - You can only create video clips in the same request where you create the video container. - You cannot update the starting or ending timestamps of a video clip after you created the video container. - When you upload a video file into a container where you defined a starting and ending timestamp, the API trims the video according to those timestamps to create a clip.
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**startTimecode** | **string** | | [optional]
**endTimecode** | **string** | | [optional]
**startTimecode** | **string** | The timestamp that defines the beginning of the video clip you want to create. The value must follow the `HH:MM:SS` format. | [optional]
**endTimecode** | **string** | The timestamp that defines the end of the video clip you want to create. The value must follow the `HH:MM:SS` format. | [optional]



6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions src/model/VideoClip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@

import AttributeType from './AttributeType.js';

/**
* Use this object to create a smaller clip from a video you upload. - You can only create video clips in the same request where you create the video container. - You cannot update the starting or ending timestamps of a video clip after you created the video container. - When you upload a video file into a container where you defined a starting and ending timestamp, the API trims the video according to those timestamps to create a clip.
*/
export default class VideoClip {
/**
* The timestamp that defines the beginning of the video clip you want to create. The value must follow the `HH:MM:SS` format.
*/
'startTimecode'?: string;
/**
* The timestamp that defines the end of the video clip you want to create. The value must follow the `HH:MM:SS` format.
*/
'endTimecode'?: string;

static readonly discriminator?: string = undefined;
Expand Down

0 comments on commit 1664322

Please sign in to comment.