INPUT_OBJECT

ImageInput

Image upload. Exactly one of (dataBase64 AND filename) or sourceUrl must be supplied.

link GraphQL Schema definition

  • input ImageInput {
  • # The image data, base64 encoded.
  • dataBase64: String
  • # The filename that will be used to label this image.
  • filename: String
  • # A URL from which the image data can be fetched.
  • sourceUrl: String
  • # The ID from an existing image type
  • imageId: ID
  • # The file size of the image in bytes.
  • size: Int
  • # Alt text description of the image.
  • alt: String
  • }