Skip to content

StorageItemResponse

Field Type Required Description and constraints
id string Yes
nodeId string Yes
cameraId string Yes
cameraName string Yes
kind string Yes values "incident", "continuous", "incidentRecord", "snapshot"
recordingId string or null No
version string Yes
startTime string (date-time) Yes
endTime string (date-time) Yes
protectedUntil string (date-time) or null No
sizeBytes integer Yes
allocatedBytes integer Yes
reclaimableBytes integer Yes
state string Yes
sharedOnly boolean No default false

Additional properties are rejected by this schema.

{
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"nodeId": {
"type": "string",
"title": "Nodeid"
},
"cameraId": {
"type": "string",
"title": "Cameraid"
},
"cameraName": {
"type": "string",
"title": "Cameraname"
},
"kind": {
"type": "string",
"enum": [
"incident",
"continuous",
"incidentRecord",
"snapshot"
],
"title": "Kind"
},
"recordingId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Recordingid"
},
"version": {
"type": "string",
"title": "Version"
},
"startTime": {
"type": "string",
"format": "date-time",
"title": "Starttime"
},
"endTime": {
"type": "string",
"format": "date-time",
"title": "Endtime"
},
"protectedUntil": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Protecteduntil"
},
"sizeBytes": {
"type": "integer",
"title": "Sizebytes"
},
"allocatedBytes": {
"type": "integer",
"title": "Allocatedbytes"
},
"reclaimableBytes": {
"type": "integer",
"title": "Reclaimablebytes"
},
"state": {
"type": "string",
"title": "State"
},
"sharedOnly": {
"type": "boolean",
"title": "Sharedonly",
"default": false
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"nodeId",
"cameraId",
"cameraName",
"kind",
"version",
"startTime",
"endTime",
"sizeBytes",
"allocatedBytes",
"reclaimableBytes",
"state"
],
"title": "StorageItemResponse"
}
Image preview