OBJECT
SupportingResource
A supporting resource, such as a cover or jacket image. When uploading a file using a resourceFileName, the mutation will return a presigned URL to upload the file to. Once the file has been uploaded, it will be processed in the background and the different image sizes generated. The presigned URL and subsequent mutation are not required when uploading an image using an imageRemoteUrl rather than a file.
link GraphQL Schema definition
- type SupportingResource {
- # The aspect ratio of the file
- Float :
- # Explanatory words that may accompany a resource such as identifying an author or
- # place in a photograph
- String :
- # The copyright holder for the resource. Note that if you store and send the
- # resource, the recipient can use it without consultation.
- String :
- # The copyright holder's name. Note that if you store and send the resource, the
- # recipient can use it without consultation.
- String :
- # The date and time the resource was created
- ISO8601DateTime! :
- # The status of the associated delayed job, if any
- String :
- # File size in bytes
- Int :
- # The name of the file uploaded to Consonance
- String :
- # File height in pixels
- Int :
- # The Consonance unique identifier
- Int! :
- # The mime type of the supporting resource, e.g. image/jpeg
- String :
- # The remote URL for the file
- URI :
- # Whether the file is being processed
- Boolean! :
- # The intended audience. This is advisory, rather than a restriction.
- ONIXCode!]! @deprecated( reason: "Use onixIntendedContentAudience for only one intended audience
" ) : [
- # The ONIX code for the intended audience. This is advisory, rather than a
- # restriction.
- ONIXContentAudienceCode! :
- # The intended audience. This is advisory, rather than a restriction.
- ONIXCode! :
- # The IDs of products linked to this supporting resource
- Int!]! : [
- # Credit that must be displayed when the resource is used
- String :
- # The type of content of the supporting resource e.g. Front cover
- SupportingResourceVariant! :
- # The point the resource is at along its lifecycle e.g. draft, approved
- SupportingResourceStatus :
- # The date and time the resource was updated
- ISO8601DateTime! :
- # The public URL of the supporting resource
- String :
- # Alternative versions of the original file, in different sizes and file formats.
- #
- # This list of versions will be empty when the supporting resource is processing
- # (`isProcessing: true`)
- SupportingResourceVersion!]! : [
- # File width in pixels
- Int :
- }
link Require by
- ContactA contact - either a person or an organisation
- CreateSupportingResourcePayloadAutogenerated return type of CreateSupportingResource.
- DeleteSupportingResourcePayloadAutogenerated return type of DeleteSupportingResource.
- ElectronicAudioProductAn audio book product in electronic form, such as one delivered via MP3 or streamed online
- ElectronicBookProductA textual or graphical book product in electronic form, such as one delivered via PDF or EPUB file formats, or viewable online as HTML
- ElectronicProductA product in electronic form, rather than physical form, such as a downloadable resource. Digital products carried on a physical medium, such as CD-ROMs, are a physical type, not an electronic type.
- GenericProductA generic product, used for products not classified in more detail
- OrganisationAn organisation
- PersonA person
- PhysicalAudioProductA physical product with audio content e.g. an audio CD
- PhysicalBookProductA physical book with graphical or textual content. e.g. a paperback
- PhysicalProductA physical product, which may carry content in either physical or digital form
- ProductAn individually traded item. Consonance supports a wide range of product types e.g. hardback book, CD audio book, poster.
- UpdateSupportingResourcePayloadAutogenerated return type of UpdateSupportingResource.
- WorkA unique item of intellectual property on which products are based