Skip to main content
Mutation

mintStoryboardVideoUpload

Returns a resumable (tus) upload target for a video clip in a storyboard frame. The clip is encoded by the video service, may be at most 2 minutes long and counts towards the space's video minutes. Requires edit access to the project.

Arguments

  • layerIdID!

    ID of the board's VIDEO layer the clip is for.

  • projectIdID!

    ID of the project.

  • sizeBytesBigInt

    Exact size of the file in bytes.

Returns

VideoUploadTarget!

Example

mutation MintStoryboardVideoUpload($layerId: ID!, $projectId: ID!, $sizeBytes: BigInt) {
  mintStoryboardVideoUpload(
    layerId: $layerId
    projectId: $projectId
    sizeBytes: $sizeBytes
  ) {
    method
    streamUid
    uploadUrl
  }
}