Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • file/section of the archive (ArchiveVolume);
  • linked cameras (ArchiveContext).

Get information about the archive status:

Code Block
{
	"method": "axxonsoft.bl.archive.ArchiveService.GetVolumesState",
	"data":{
    	"access_point":"hosts/Server1/MultimediaStorage.Blue/MultimediaStorage",
        "volume_ids":["C:/archiveBlue.afs"]
	}
}

...

  • state—the MOUNTED value indicates that the archive volumes in the system are accessible and ready for use;
  • readonly—boolean value: if = true, then the archive is in read-only mode. If not, then value = false.

Get information about linked cameras:

Code Block
{
    "method":"axxonsoft.bl.config.ConfigurationService.ListUnits",
    "data":{
        "unit_uids":["hosts/Server1/MultimediaStorage.Aqua/ArchiveContext.b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2"]
            }
}

...

Expand
titleClick to expand...


Code Block
{
    "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": []
}


Get information on a specific archive:

Code Block
{
    "method": "axxonsoft.bl.domain.DomainService.BatchGetArchives",
    "data": {
        "items" : {
            "access_point": "hosts/SERVER1/MultimediaStorage.AliceBlue/MultimediaStorage"
        }
    }
}

...