Schema Documentation

createMediaItem

Description

The createMediaItem mutation

Response

Returns a CreateMediaItemPayload

Arguments
NameDescription
input - CreateMediaItemInput! Input for the createMediaItem mutation

Example

Query
mutation createMediaItem($input: CreateMediaItemInput!){  createMediaItem(input: $input){    clientMutationIdmediaItem {      ...MediaItemFragment    }  }}
Variables
{"input":CreateMediaItemInput}
Response
{"data":{"createMediaItem":{"clientMutationId":"abc123","mediaItem":MediaItem}}}