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/pngorimage/webp; forBLOB: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:
IMAGEfor its image, orBLOBfor 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
}
}