Contents

AssetResponse

The Get Asset and Upload Asset endpoints return this response object.

Declaration

object AssetResponse

Properties

NameTypeDescription
resultAsset

The retrieved asset. Absent if no asset was found. See Asset. Read-only.

errorError

Error details if the request failed. Absent on success. See Error. Read-only.

Discussion

The Get Asset and Upload Asset return AssetResponse as the top-level envelope. On success, result contains the Asset object. On failure, result is absent and error describes the problem.

Example

{
  "result": {
    "id": "770e8400-e29b-41d4-a716-446655440002",
    "name": "awayfinder_hero.png",
    "assetType": "IMAGE",
    "providerAssetId": "abc123-provider-id",
    "promotedObjectId": "987654321",
    "promotedObjectType": "BUSINESS_BRAND",
    "providerAssetMetadata": {},
    "assetDetails": {
      "width": 1920,
      "height": 1080,
      "format": "PNG",
      "sizeBytes": 2097152,
      "orientation": "LANDSCAPE"
    },
    "parentAssetId": null,
    "variantIds": [],
    "creationTime": "2026-03-01T12:00:00.000",
    "modificationTime": "2026-03-01T12:00:00.000",
    "eligibility": {
      "status": "ELIGIBLE",
      "blockedGroups": [],
      "allowedGroups": []
    }
  }
}

See Also