GraphQL reference

CreatePhotoPayload

Object

Autogenerated return type of CreatePhoto.

mutation { organization(id: $organizationId) { project(id: $projectId) { createPhoto } } }

Example

mutation CreatePhoto(
  $organizationId: ID!
  $projectId: ID!
  $input: CreatePhotoInput!
) {
  organization(id: $organizationId) {
    project(id: $projectId) {
      createPhoto(input: $input) {
        photo
        errors
      }
    }
  }
}

Fields

FieldTypeDescription
clientMutationIdStringA unique identifier for the client performing the mutation.
constructableUrlString
errors[String!]!
photoPhoto