Skip to main content
Mutation

mintStoryboardLayerUpload

Returns a short-lived upload target for a file of a storyboard layer. Requires edit access to the project shots.

Arguments

  • contentTypeString!

    MIME type of the file. For IMAGE: image/jpeg, image/png or image/webp; for BLOB: application/octet-stream.

  • layerIdID!

    ID of the storyboard layer.

  • projectIdID!

    ID of the project.

  • sizeBytesInt!

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

  • slotString!

    Which file of the layer to upload: IMAGE for its image, or BLOB for its binary data.

Returns

AssetUpload!

Example

mutation MintStoryboardLayerUpload($contentType: String!, $layerId: ID!, $projectId: ID!, $sizeBytes: Int!, $slot: String!) {
  mintStoryboardLayerUpload(
    contentType: $contentType
    layerId: $layerId
    projectId: $projectId
    sizeBytes: $sizeBytes
    slot: $slot
  ) {
    assetId
  }
}