Skip to main content
Mutation

mintStoryboardPreviewUpload

Returns a short-lived upload target for a storyboard's preview image. Requires edit access to the project shots.

Arguments

  • boardIdID!

    ID of the storyboard.

  • contentTypeString!

    MIME type of the image: image/webp or image/png.

  • projectIdID!

    ID of the project.

  • sizeBytesInt!

    Size of the file in bytes. Uploads are limited to 10 MB.

Returns

AssetUpload!

Example

mutation MintStoryboardPreviewUpload($boardId: ID!, $contentType: String!, $projectId: ID!, $sizeBytes: Int!) {
  mintStoryboardPreviewUpload(
    boardId: $boardId
    contentType: $contentType
    projectId: $projectId
    sizeBytes: $sizeBytes
  ) {
    assetId
  }
}