Represents a downloadable resource, typically a file generated by an action (e.g., PDF or screenshot). It may contain a URL to the resource or the resource data directly encoded as a Base64 string.

Definition

object Download {
  url: URL
  data: String
}

Fields

url: URL

A URL pointing to the downloadable resource, if available. This might be a temporary URL.

data: String

The content of the download, Base64 encoded. This is provided if the resource is directly available as data (e.g., small images or files).