Update Asset
This endpoint allows users to update video asset that has previously been created.
Body
- Type: stringasset
_id requiredAsset Id
- Type: array of objectcall
_to _actions Properties: 8A CTA is an explicit prompt within the video content encouraging viewers to take a particular action.
- Type: stringdescription
Attach some textual data with the asset. This field is neither searchable nor filterable.
- Type: stringinput
For replacing videos, pass this along with
asset_id{workspace_id}/{asset_id}/origin-{asset_id} - Type: stringFormat: jsonmetadata
Set of key-value pairs that you can attach to this Asset. This can be useful for storing additional information.
Example:{ "internal_video_id" : "123Abc" } - Type: array of stringremove
_subtitles Comma separated string of language codes.
- Type: booleanreprocess
To reprocess same video, pass this as true.
- Type: stringtag
Specify a text string or identifier which can identify an asset or bunch of assets later. You can pass multiple comma-separated values.
- Type: stringtitle
Specify a text string or identifier which can be used for filtering or searching the asset.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
import Gumlet from '@gumlet/nodejs-sdk';
const client = new Gumlet({
apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});
const videoAsset = await client.videoAssets.update({ asset_id: '<YOUR_ASSET_ID>', title: 'Updated Title' });
console.log(videoAsset);
{}
