Function: videoPath()
ts
function videoPath(uuid, operations?): string;Defined in: video/video-path.ts:16
Builds the domain-less conversion path /:uuid/video/-/.../ to submit to the REST API (POST /convert/video/). Not a URL — no domain involved.
Parameters
| Parameter | Type | Default value |
|---|---|---|
uuid | string | undefined |
operations? | readonly CdnOperation[] | [] |
Returns
string
Throws
TypeError on malformed uuids (development bundle only).
See
https://uploadcare.com/docs/transformations/video-encoding/
Example
ts
videoPath(uuid, [size({ width: 720, height: 540 })])
// → /:uuid/video/-/size/720x540/