Skip to content

VideoEditVersionResponseDto

Endpoints · All schemas

FieldRequiredDescription
assetIdYesAsset ID
createdAtYesWhen the version was saved
editsYesThe recipe rendered from the original
idYesVideo edit version ID
isCurrentYesWhether this version is the one currently published for playback
isRequestedYesWhether this version is the latest requested save or revert
purposeYesSee definition below
statusYesSee 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: AssetEditActionItemDto, VideoEditVersionPurpose, VideoEditVersionStatus

{
  "properties": {
    "assetId": {
      "description": "Asset ID",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "createdAt": {
      "description": "When the version was saved",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      "type": "string"
    },
    "edits": {
      "description": "The recipe rendered from the original",
      "items": {
        "$ref": "#/components/schemas/AssetEditActionItemDto"
      },
      "type": "array"
    },
    "id": {
      "description": "Video edit version ID",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "isCurrent": {
      "description": "Whether this version is the one currently published for playback",
      "type": "boolean"
    },
    "isRequested": {
      "description": "Whether this version is the latest requested save or revert",
      "type": "boolean"
    },
    "purpose": {
      "$ref": "#/components/schemas/VideoEditVersionPurpose"
    },
    "status": {
      "$ref": "#/components/schemas/VideoEditVersionStatus"
    }
  },
  "required": [
    "assetId",
    "createdAt",
    "edits",
    "id",
    "isCurrent",
    "isRequested",
    "purpose",
    "status"
  ],
  "type": "object"
}