Documentation for Axxon Next 4.6.0. Documentation for other versions of Axxon Next is available too.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Creating an ArchiveContext with constant recording:

{
    "method": "axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data": {
        "added": [
            {
                "uid": "hosts/Server1/MultimediaStorage.Yellow",
                "units": [
                    {
                        "type": "ArchiveContext",
                        "properties": [
                            {
                                "id": "camera_ref",
                                "value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0"
                            },
                            {
                                "id": "constant_recording",
                                "value_bool": true
                            },
                            {
                                "id": "prerecord_sec",
                                "value_int32": 0
                            },
                            {
                                "id": "specific_fps",
                                "value_double": 0
                            }
                        ]
                    }
                ]
            }
        ]
    }
}

The response will contain uid of the added ArchiveContext:

{
    "failed": [],
    "added": [
        "hosts/Server1/MultimediaStorage.Yellow/ArchiveContext/b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2"
    ]
}

Changing a stream linked to the archive

{
    "method":"axxonsoft.bl.config.ConfigurationService.ChangeConfig",
    "data":{
        "changed":[{
              "uid": "hosts/Server1/MultimediaStorage.Aqua/ArchiveContext/b73f4b6c-2962-5d51-e9ee-ceb5420b4cd2",
              "type": "ArchiveContext",
              "properties": [
                {
                  "id": "streaming_id",
                  "value_string": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0"
                }]
            }
        ]
    }
}
  • No labels