statistics.settings.disable.devicelist

Operation: GET /dataservice/statistics/settings/disable/devicelist/{indexName}

Get list of disabled devices for a statistics index

def get(index_name: str) -> Any: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.statistics.settings.disable.devicelist.get()

Operation: PUT /dataservice/statistics/settings/disable/devicelist/{indexName}

Update list of disabled devices for a statistics index

def put(index_name: str, payload: Any) -> Any: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.statistics.settings.disable.devicelist.put()