LicenseResponse

Response returned after successfully licensing a stock asset

CreativeDesignGraphicsPhotographyVideo

Properties

Name Type Description
content_id integer Content ID of the licensed asset
purchase_details object Details of the license purchase transaction
download_url string URL to download the licensed full-resolution file
View JSON Schema on GitHub

JSON Schema

adobe-creative-suite-licenseresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LicenseResponse",
  "title": "LicenseResponse",
  "type": "object",
  "description": "Response returned after successfully licensing a stock asset",
  "properties": {
    "content_id": {
      "type": "integer",
      "description": "Content ID of the licensed asset",
      "example": 123456789
    },
    "purchase_details": {
      "type": "object",
      "description": "Details of the license purchase transaction",
      "properties": {
        "state": {
          "type": "string",
          "description": "State of the license purchase",
          "enum": [
            "just_purchased",
            "already_purchased",
            "overage"
          ]
        },
        "license": {
          "type": "string",
          "description": "License type applied"
        },
        "nb_downloads": {
          "type": "integer",
          "description": "Number of times this asset has been downloaded by the member"
        }
      }
    },
    "download_url": {
      "type": "string",
      "description": "URL to download the licensed full-resolution file",
      "example": "https://stock.adobe.com/Rest/Libraries/Download/123456789/1"
    }
  }
}