Skip to main content
Mutation

mintTakeStillUpload

Returns a short-lived upload target for a reference still of a take. Requires edit access to the project log.

Arguments

  • contentTypeString!

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

  • projectIdID!

    ID of the project.

  • sizeBytesInt!

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

  • takeIdID!

    ID of the take.

Returns

AssetUpload!

Example

mutation MintTakeStillUpload($contentType: String!, $projectId: ID!, $sizeBytes: Int!, $takeId: ID!) {
  mintTakeStillUpload(
    contentType: $contentType
    projectId: $projectId
    sizeBytes: $sizeBytes
    takeId: $takeId
  ) {
    assetId
  }
}