Skip to content

AssetBulkUploadCheckResult

Endpoints · All schemas

FieldRequiredDescription
actionYesSee definition below
assetIdNoExisting asset ID if duplicate
idYesClient-side identifier echoed from the request to match results to inputs
isTrashedNoWhether existing asset is trashed
reasonNoSee definition below

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

Field definitions: AssetUploadAction, AssetRejectReason

{
  "properties": {
    "action": {
      "$ref": "#/components/schemas/AssetUploadAction"
    },
    "assetId": {
      "description": "Existing asset ID if duplicate",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "id": {
      "description": "Client-side identifier echoed from the request to match results to inputs",
      "type": "string"
    },
    "isTrashed": {
      "description": "Whether existing asset is trashed",
      "type": "boolean"
    },
    "reason": {
      "$ref": "#/components/schemas/AssetRejectReason"
    }
  },
  "required": [
    "action",
    "id"
  ],
  "type": "object"
}