TrashItemResponseDto
| Field | Required | Description |
|---|---|---|
fileSizeInByte | Yes | Size of the original, in bytes, when known |
id | Yes | Asset ID |
isLocked | Yes | Locked media; only listed for its owner in an unlocked session |
isOffline | Yes | The library scan found this external original missing and manages it; trash actions do not change it |
originalFileName | Yes | Original file name |
trashedAt | Yes | When the item was moved to the trash |
type | Yes | See 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: AssetTypeEnum
{
"properties": {
"fileSizeInByte": {
"description": "Size of the original, in bytes, when known",
"maximum": 9007199254740991,
"minimum": 0,
"nullable": true,
"type": "integer"
},
"id": {
"description": "Asset 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"
},
"isLocked": {
"description": "Locked media; only listed for its owner in an unlocked session",
"type": "boolean"
},
"isOffline": {
"description": "The library scan found this external original missing and manages it; trash actions do not change it",
"type": "boolean"
},
"originalFileName": {
"description": "Original file name",
"type": "string"
},
"trashedAt": {
"description": "When the item was moved to the trash",
"format": "date-time",
"nullable": true,
"type": "string"
},
"type": {
"$ref": "#/components/schemas/AssetTypeEnum"
}
},
"required": [
"fileSizeInByte",
"id",
"isLocked",
"isOffline",
"originalFileName",
"trashedAt",
"type"
],
"type": "object"
}© 2026 Frameleaf Inc. All rights reserved.
Frameleaf and the Frameleaf logo are Trademarks of Frameleaf Inc.