CommonAsset

open_in_new

A binary asset associated with the model.

GraphQL Schema definition

  • interface CommonAsset {
  • # An optional identifier for the asset, which may be used
  • # to retrieve the asset directly via the `asset` call. If
  • # not specified the asset must be retrieved via listing calls.
  • id: ID
  • status: AssetStatus
  • # An optional name for the model, often used for display purposes
  • # or for downloads, will not always be specified.
  • filename: String
  • # The format of the asset, this will often be the same as the filename extension,
  • # but
  • # is intended to be a short identifier for the content type of the asset.
  • format: String!
  • # The url the asset may be retrieved from.
  • # This will only be populated if the status is `available`.
  • url: String
  • # If populated, the url is only valid until the time given
  • validUntil: DateTime
  • }