Skip to content

AssetBulkUpdateDto

Endpoints · All schemas

FieldRequiredDescription
dateTimeOriginalNoOriginal date and time
dateTimeRelativeNoRelative time offset in minutes
descriptionNoAsset description
duplicateIdNoDuplicate ID
idsYesAsset IDs to update
isFavoriteNoMark as favorite
latitudeNoLatitude coordinate; null together with a null longitude removes the location
longitudeNoLongitude coordinate; null together with a null latitude removes the location
ratingNoRating in range [1-5] (starred), -1 (rejected), or null (unrated)
timeZoneNoTime zone (IANA timezone)
visibilityNoSee 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: AssetVisibility

{
  "properties": {
    "dateTimeOriginal": {
      "description": "Original date and time",
      "type": "string"
    },
    "dateTimeRelative": {
      "description": "Relative time offset in minutes",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "description": {
      "description": "Asset description",
      "type": "string"
    },
    "duplicateId": {
      "description": "Duplicate ID",
      "nullable": true,
      "type": "string"
    },
    "ids": {
      "description": "Asset IDs to update",
      "items": {
        "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"
      },
      "type": "array"
    },
    "isFavorite": {
      "description": "Mark as favorite",
      "type": "boolean"
    },
    "latitude": {
      "description": "Latitude coordinate; null together with a null longitude removes the location",
      "format": "double",
      "maximum": 90,
      "minimum": -90,
      "nullable": true,
      "type": "number"
    },
    "longitude": {
      "description": "Longitude coordinate; null together with a null latitude removes the location",
      "format": "double",
      "maximum": 180,
      "minimum": -180,
      "nullable": true,
      "type": "number"
    },
    "rating": {
      "description": "Rating in range [1-5] (starred), -1 (rejected), or null (unrated)",
      "maximum": 5,
      "minimum": -1,
      "nullable": true,
      "type": "integer"
    },
    "timeZone": {
      "description": "Time zone (IANA timezone)",
      "type": "string"
    },
    "visibility": {
      "$ref": "#/components/schemas/AssetVisibility"
    }
  },
  "required": [
    "ids"
  ],
  "type": "object"
}