Skip to content

LibraryRemovalReviewDto

Endpoints · All schemas

FieldRequiredDescription
albumsYesAlbums that lose items
facesYesDetected faces that will be removed with their items
libraryIdYesLibrary ID
nameYesLibrary name, to be typed to confirm
offlineYesItems already offline
originalsKeptYesSource files in the import folders are never deleted
ownerIdYesOwner user ID
photosYesIndexed photos that will be removed
reviewTokenYesPresent this to confirm the removal
scanActiveYesA scan is running and will be stopped
sharedLinksYesShared links that lose items
totalYesIndexed items that will be removed
usageYesOriginal bytes those items reference
videosYesIndexed videos that will be removed

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.

{
  "properties": {
    "albums": {
      "description": "Albums that lose items",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "faces": {
      "description": "Detected faces that will be removed with their items",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "libraryId": {
      "description": "Library ID",
      "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"
    },
    "name": {
      "description": "Library name, to be typed to confirm",
      "type": "string"
    },
    "offline": {
      "description": "Items already offline",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "originalsKept": {
      "description": "Source files in the import folders are never deleted",
      "type": "boolean"
    },
    "ownerId": {
      "description": "Owner user ID",
      "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"
    },
    "photos": {
      "description": "Indexed photos that will be removed",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "reviewToken": {
      "description": "Present this to confirm the removal",
      "type": "string"
    },
    "scanActive": {
      "description": "A scan is running and will be stopped",
      "type": "boolean"
    },
    "sharedLinks": {
      "description": "Shared links that lose items",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "total": {
      "description": "Indexed items that will be removed",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "usage": {
      "description": "Original bytes those items reference",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    },
    "videos": {
      "description": "Indexed videos that will be removed",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "type": "integer"
    }
  },
  "required": [
    "albums",
    "faces",
    "libraryId",
    "name",
    "offline",
    "originalsKept",
    "ownerId",
    "photos",
    "reviewToken",
    "scanActive",
    "sharedLinks",
    "total",
    "usage",
    "videos"
  ],
  "type": "object"
}