INPUT_OBJECT

CreateSupportingResourceInput

Autogenerated input type of CreateSupportingResource

link GraphQL Schema definition

  • input CreateSupportingResourceInput {
  • # A unique identifier for the client performing the mutation.
  • clientMutationId: String
  • # The ID of the work for the supporting resource
  • workId: Int!
  • # The copyright holder for the resource. Note that if you store and send the
  • # resource, the recipient can use it without consultation.
  • copyright: String
  • # Credit that must be displayed when the resource is used
  • requiredCredit: String
  • # Explanatory words that may accompany a resource such as identifying an author or
  • # place in a photograph
  • caption: String
  • # The remote URL for the file. Must be a JPG file.
  • imageRemoteUrl: URL
  • # The name of the JPG to upload to the resource
  • resourceFileName: String
  • # The point the resource is at along its lifecycle e.g. draft, approved
  • status: SupportingResourceStatus
  • # The type of content of the supporting resource e.g. Front cover
  • resourceVariant: SupportingResourceVariant
  • # The ONIX code for the intended audience. This is advisory, rather than a
  • # restriction.
  • onixContentAudienceCode: ONIXContentAudienceCode
  • # The IDs of products to link to this supporting resource. Cannot be used in
  • # conjunction with the linkToAllProducts argument.
  • productIds: [Int!]
  • # Link this supporting resource to all products on this work. Cannot be used in
  • # conjunction with the productIds argument.
  • linkToAllProducts: Boolean
  • # Unlink products from all previous supporting resources of this type on this work
  • unlinkPrevious: Boolean
  • }

link Require by