Skip to main content

⚠️ Deprecated: No longer supported

itemSnippetCreate Mutation

Description

Creates an audio snippet for a release after uploading the file. This mutation is deprecated.

mutation itemSnippetCreate(
$releaseId: Long!
$filename: String!
$key: String!
$position: String!
) {
itemSnippetCreate(
releaseId: $releaseId
filename: $filename
key: $key
position: $position
) {
uri
message
}
}

Variables

{
"releaseId": 599714247043,
"filename": "example.jpg",
"key": "key",
"position": "position"
}

Response

{
"itemSnippetCreate": {
"uri": "https://www.my-common-ground-store.com/release/1763553751/release-artist-release-name",
"message": "example"
}
}

Arguments

NameTypeDescription
releaseIdLong!Numeric release ID to create a snippet for.
filenameString!Filename of the uploaded snippet file.
keyString!Storage key returned from the signed URL upload.
positionString!Position of the snippet on the release (e.g., "A1", "B2", "1").

Returns

ItemSnippetCreateResponse!