mintCatalogIconUpload
Returns a short-lived upload target for the icon of a character, item or place. Requires edit access to the project script.
Arguments
contentTypeString!MIME type of the image:
image/jpeg,image/pngorimage/webp.entityIdID!ID of the character, item or place.
entityKindEntityKind!The kind of catalog entry.
projectIdID!ID of the project.
sizeBytesInt!Size of the file in bytes. Uploads are limited to 10 MB.
Returns
CatalogIconUploadOutput!Example
mutation MintCatalogIconUpload($contentType: String!, $entityId: ID!, $entityKind: EntityKind!, $projectId: ID!, $sizeBytes: Int!) {
mintCatalogIconUpload(
contentType: $contentType
entityId: $entityId
entityKind: $entityKind
projectId: $projectId
sizeBytes: $sizeBytes
) {
iconAssetId
}
}