На странице:

Получение параметров доступа к устройствам

{
    "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": {}
        }
    }
}

Изменение приоритета управления PTZ у нескольких устройств

{
    "method": "axxonsoft.bl.security.SecurityService.SetObjectPermissions",
    "data": {
        "role_id": "e99602c3-0730-44a0-9f7c-0ef242a6314f",
        "permissions": {
            "telemetry_priority": {
                "hosts/Server1/DeviceIpint.6/TelemetryControl.0": "TELEMETRY_PRIORITY_NO_ACCESS",
                "hosts/Server1/DeviceIpint.7/TelemetryControl.0": "TELEMETRY_PRIORITY_NO_ACCESS",
                "hosts/Server1/DeviceIpint.8/TelemetryControl.0": "TELEMETRY_PRIORITY_NO_ACCESS",
                "hosts/Server1/DeviceIpint.9/TelemetryControl.0": "TELEMETRY_PRIORITY_NO_ACCESS",
                "hosts/Server1/DeviceIpint.10/TelemetryControl.0": "TELEMETRY_PRIORITY_NO_ACCESS",
                "hosts/Server1/DeviceIpint.11/TelemetryControl.0": "TELEMETRY_PRIORITY_NO_ACCESS"
            }
        }
    }
}
  • No labels