Документация для версии Axxon Next 4.5.0 - 4.5.10. Документация на другие версии также доступна.

Предыдущая страница Следующая страница

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.security.SecurityService.ListObjectPermissions",
    "data": {
        "role_id": "b9060002-c7fc-48d9-9c5c-a16b9f5c4a82",
        "camera_ids": [
            "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0"
        ],
        "microphone_ids": [
            "hosts/Server1/DeviceIpint.10/SourceEndpoint.audio:0"
        ],
        "telemetry_ids": [
            "hosts/Server1/DeviceIpint.10/TelemetryControl.0"
        ],
        "archive_ids": [
            "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage"
        ],
        "videowall_ids": []
    }
}


Изменение параметров доступа к устройствам

{
    "method": "axxonsoft.bl.security.SecurityService.SetObjectPermissions",
    "data": {
        "role_id": "b9060002-c7fc-48d9-9c5c-a16b9f5c4a82",
        "permissions": {
            "camera_access": {
                "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0": "CAMERA_ACCESS_ARCHIVE"
            },
            "microphone_access": {
                "hosts/Server1/DeviceIpint.10/SourceEndpoint.audio:0": "MICROPHONE_ACCESS_MONITORING"
            },
            "telemetry_priority": {
                "hosts/Server1/DeviceIpint.10/TelemetryControl.0": "TELEMETRY_PRIORITY_LOW"
            },
            "archive_access": {
                "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage": "ARCHIVE_ACCESS_FULL"
            },
            "videowall_access": {}
        }
    }
}
  • No labels