A photo associated with the model as well as some basic metadata including label and dimensions.

GraphQL Schema definition

  • type Photo implements Asset, Image {
  • model: Model
  • id: ID!
  • created: DateTime!
  • modified: DateTime!
  • status: AssetStatus
  • filename: String
  • format: String!
  • url: String
  • downloadUrl: String
  • # If populated, the url is only valid until the time given
  • validUntil: DateTime
  • # If the image supports multiple resolutions this may be used to retrieve the
  • # image at an alternative resolution.
  • #
  • # Arguments
  • # resolution: Selects the resolution of the image to retrieve.
  • # The resolution
  • # must be in the `resolutions` list.
  • # Default: "original"
  • resizeUrl(resolution: PhotoResolution!): String
  • # A set of resolutions the image is available at.
  • resolutions: [PhotoResolution!]
  • # A user assigned name for this photo.
  • label: String
  • # @deprecated renamed to label for uniformity.
  • name: String
  • # The height of the image in pixels.
  • height: Int
  • # The width of the image in pixels.
  • width: Int
  • # The view metadata associated with a showcase/workshop generated snapshot.
  • snapshotLocation: SnapshotLocation
  • # The perspective type of the photo.
  • type: PhotoType
  • }