Go to documentation repository
Documentation for Axxon One 1.0.
Previous page Next page
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
{ "method":"axxonsoft.bl.config.ConfigurationService.ListUnits", "data":{ "unit_uids":["hosts/Server1/MultimediaStorage.Aqua"] } }
Response example (local archive):
{ "units": [ { "uid": "hosts/Server1/MultimediaStorage.Aqua", "display_id": "Aqua", "type": "MultimediaStorage", "display_name": "Archive Aqua", "access_point": "", "properties": [ { "id": "display_name", "name": "Display Name", "type": "string", "readonly": false, "value_string": "Archive Aqua" }, { "id": "enabled", "name": "Enabled", "type": "bool", "readonly": false, "value_bool": true } ], "units": [ { "uid": "hosts/Server1/MultimediaStorage.Aqua/ArchiveVolume/H:/archiveAqua.afs", "display_id": "H:/archiveAqua.afs", "type": "ArchiveVolume", "display_name": "", "access_point": "", "properties": [ { "id": "file_size", "name": "Volume size(GB)", "type": "int32", "readonly": true, "value_int32": 1 } ], "units": [], "factory": [], "destruction_args": [ { "id": "remove_file", "name": "Remove volume file", "type": "bool", "readonly": false, "value_bool": false } ], "discoverable": false, "status": "UNIT_STATUS_ACTIVE", "stripped": false, "opaque_params": [], "assigned_templates": [] }, { "uid": "hosts/Server1/MultimediaStorage.Aqua/ArchiveContext/b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2", "display_id": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0", "type": "ArchiveContext", "display_name": "", "access_point": "", "properties": [ { "id": "streaming_id", "name": "Archive Streaming ID", "type": "string", "readonly": false, "enum_constraint": { "items": [ { "name": "axis", "properties": [], "value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0" }, { "name": "axis", "properties": [], "value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:1" } ] }, "value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0" }, { "id": "constant_recording", "name": "Constant recording", "type": "bool", "readonly": false, "value_bool": true }, { "id": "prerecord_sec", "name": "Prerecording, seconds", "type": "int32", "readonly": false, "value_int32": 0 }, { "id": "specific_fps", "name": "Specific FPS", "type": "double", "readonly": false, "value_double": 0 }, { "id": "archive_name", "name": "Archive display name", "type": "string", "readonly": true, "value_string": "Archive Aqua" } ], "units": [], "factory": [], "destruction_args": [], "discoverable": false, "status": "UNIT_STATUS_ACTIVE", "stripped": false, "opaque_params": [], "assigned_templates": [] } ], "destruction_args": [], "discoverable": false, "status": "UNIT_STATUS_ACTIVE", "stripped": false, "opaque_params": [], "assigned_templates": [] } ], "unreachable_objects": [], "not_found_objects": [] }
Response example (network archive):
"units": [ { "uid": "hosts/Server1/MultimediaStorage.Lime", "display_id": "Lime", "type": "MultimediaStorage", "display_name": "mr.Lime", "access_point": "", "properties": [ { "id": "display_name", "name": "Display Name", "type": "string", "readonly": false, "value_string": "mr.Lime" }, { "id": "enabled", "name": "Enabled", "type": "bool", "readonly": false, "value_bool": true } ], "units": [ { "uid": "hosts/Server1/MultimediaStorage.Lime/ArchiveVolume/\\\\192.168.25.112\\1\\archiveLime.afs", "display_id": "\\\\192.168.25.112\\1\\archiveLime.afs", "type": "ArchiveVolume", "display_name": "", "access_point": "", "properties": [ { "id": "user", "name": "Login", "type": "string", "readonly": false, "value_string": "Tester" }, { "id": "password", "name": "Password", "type": "string", "readonly": false, "value_string": "123456" }, { "id": "file_size", "name": "Volume size(GB)", "type": "int32", "readonly": true, "value_int32": 2 } ], "units": [], "factory": [], "destruction_args": [ { "id": "remove_file", "name": "Remove volume file", "type": "bool", "readonly": false, "value_bool": false } ], "discoverable": false, "status": "UNIT_STATUS_ACTIVE", "stripped": false, "opaque_params": [], "assigned_templates": [] } ], "factory": [], "destruction_args": [], "discoverable": false, "status": "UNIT_STATUS_ACTIVE", "stripped": false, "opaque_params": [], "assigned_templates": [] } ], "unreachable_objects": [], "not_found_objects": [] }
where units contains:
- file/section of the archive (ArchiveVolume);
- linked cameras (ArchiveContext).
Get info about linked cameras:
{ "method":"axxonsoft.bl.config.ConfigurationService.ListUnits", "data":{ "unit_uids":["hosts/Server1/MultimediaStorage.Aqua/ArchiveContext/b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2"] } }
Response example:
{ "units": [ { "uid": "hosts/Server1/MultimediaStorage.Aqua/ArchiveContext/b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2", "display_id": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0", "type": "ArchiveContext", "display_name": "", "access_point": "", "properties": [ { "id": "streaming_id", "name": "Archive Streaming ID", "type": "string", "readonly": false, "enum_constraint": {}, "value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:1" }, { "id": "constant_recording", "name": "Constant recording", "type": "bool", "readonly": false, "value_bool": false }, { "id": "prerecord_sec", "name": "Prerecording, seconds", "type": "int32", "readonly": false, "value_int32": 2 }, { "id": "specific_fps", "name": "Specific FPS", "type": "double", "readonly": false, "value_double": 0 }, { "id": "archive_name", "name": "Archive display name", "type": "string", "readonly": true, "value_string": "Archive Aqua" } ], "units": [], "factory": [], "destruction_args": [], "discoverable": false, "status": "UNIT_STATUS_INACTIVE", "stripped": false, "opaque_params": [], "assigned_templates": [] } ], "unreachable_objects": [], "not_found_objects": [] }
- No labels
Overview
Content Tools
Error formatting macro: children: java.lang.NullPointerException