Assets

Media assets (images, video, PDFs).

Objects

GifAsset

Fields

  • created_at (DateTime!) — The date and time the Asset was created
  • deleted_at (DateTime) — The date and time the Asset was deleted
  • download_url (URL!) — A URL to download the Asset
  • external_link_url (URL) — A URL associated with the Asset
  • height (NonNegativeInt) — The height of the Asset
  • id (ID!) — The unique identifier of the Asset
  • mime_type (String) — The mime type of the Asset
  • mp4_playback_url (URL) — A URL to play the Asset
  • preview_url (URL) — An image URL to preview the Asset
  • pricing (Money) — A price associated with the Asset
  • size_in_bytes (NonNegativeInt) — The size of the Asset in bytes
  • source_url (URL!) — A URL to download the Asset
  • status (AssetStatus!) — The status of the Asset
  • title (String) — The name of the Asset
  • updated_at (DateTime!) — The date and time the Asset was last updated
  • upload_id (ID) — The unique identifier of the AssetUpload
  • view_url (URL!) — A URL to view the Asset
  • width (NonNegativeInt) — The width of the Asset

ImageAsset

Fields

  • created_at (DateTime!) — The date and time the Asset was created
  • deleted_at (DateTime) — The date and time the Asset was deleted
  • download_url (URL!) — A URL to download the Asset
  • external_link_url (URL) — A URL associated with the Asset
  • height (NonNegativeInt) — The height of the Asset
  • id (ID!) — The unique identifier of the Asset
  • mime_type (String) — The mime type of the Asset
  • preview_url (URL) — An image URL to preview the Asset
  • pricing (Money) — A price associated with the Asset
  • size_in_bytes (NonNegativeInt) — The size of the Asset in bytes
  • source_url (URL!) — A URL to download the Asset
  • status (AssetStatus!) — The status of the Asset
  • title (String) — The name of the Asset
  • updated_at (DateTime!) — The date and time the Asset was last updated
  • upload_id (ID) — The unique identifier of the AssetUpload
  • view_url (URL!) — A URL to view the Asset
  • width (NonNegativeInt) — The width of the Asset

OtherAsset

Fields

  • created_at (DateTime!) — The date and time the Asset was created
  • deleted_at (DateTime) — The date and time the Asset was deleted
  • download_url (URL!) — A URL to download the Asset
  • external_link_url (URL) — A URL associated with the Asset
  • id (ID!) — The unique identifier of the Asset
  • mime_type (String) — The mime type of the Asset
  • preview_url (URL) — An image URL to preview the Asset
  • pricing (Money) — A price associated with the Asset
  • size_in_bytes (NonNegativeInt) — The size of the Asset in bytes
  • source_url (URL!) — A URL to download the Asset
  • status (AssetStatus!) — The status of the Asset
  • title (String) — The name of the Asset
  • updated_at (DateTime!) — The date and time the Asset was last updated
  • upload_id (ID) — The unique identifier of the AssetUpload

PdfAsset

Fields

  • created_at (DateTime!) — The date and time the Asset was created
  • deleted_at (DateTime) — The date and time the Asset was deleted
  • download_url (URL!) — A URL to download the Asset
  • external_link_url (URL) — A URL associated with the Asset
  • id (ID!) — The unique identifier of the Asset
  • mime_type (String) — The mime type of the Asset
  • preview_url (URL) — An image URL to preview the Asset
  • pricing (Money) — A price associated with the Asset
  • size_in_bytes (NonNegativeInt) — The size of the Asset in bytes
  • source_url (URL!) — A URL to download the Asset
  • status (AssetStatus!) — The status of the Asset
  • title (String) — The name of the Asset
  • updated_at (DateTime!) — The date and time the Asset was last updated
  • upload_id (ID) — The unique identifier of the AssetUpload

VideoAsset

Fields

  • created_at (DateTime!) — The date and time the Asset was created
  • deleted_at (DateTime) — The date and time the Asset was deleted
  • download_url (URL!) — A URL to download the Asset
  • duration (NonNegativeInt) — The duration of the Asset in seconds
  • external_link_url (URL) — A URL associated with the Asset
  • height (NonNegativeInt) — The height of the Asset
  • id (ID!) — The unique identifier of the Asset
  • m3u8_playback_url (URL) — A URL to play the Asset
  • mime_type (String) — The mime type of the Asset
  • mp4_playback_url (URL) — A URL to play the Asset
  • preview_url (URL) — An image URL to preview the Asset
  • pricing (Money) — A price associated with the Asset
  • size_in_bytes (NonNegativeInt) — The size of the Asset in bytes
  • source_url (URL!) — A URL to download the Asset
  • status (AssetStatus!) — The status of the Asset
  • title (String) — The name of the Asset
  • updated_at (DateTime!) — The date and time the Asset was last updated
  • upload_id (ID) — The unique identifier of the AssetUpload
  • watch_url (URL!) — A URL to watch the Asset
  • width (NonNegativeInt) — The width of the Asset

Interfaces

AssetInterface

Fields

  • created_at (DateTime!) — The date and time the Asset was created
  • deleted_at (DateTime) — The date and time the Asset was deleted
  • download_url (URL!) — A URL to download the Asset
  • external_link_url (URL) — A URL associated with the Asset
  • id (ID!) — The unique identifier of the Asset
  • mime_type (String) — The mime type of the Asset
  • preview_url (URL) — An image URL to preview the Asset
  • pricing (Money) — A price associated with the Asset
  • size_in_bytes (NonNegativeInt) — The size of the Asset in bytes
  • source_url (URL!) — A URL to download the Asset
  • status (AssetStatus!) — The status of the Asset
  • title (String) — The name of the Asset
  • updated_at (DateTime!) — The date and time the Asset was last updated
  • upload_id (ID) — The unique identifier of the AssetUpload

Implemented by

Unions

Asset

Possible types

Enums

AssetStatus

The status of the Asset

Values

  • CREATED
  • PENDING
  • READY