statistics.approute.aggregation

Operation: GET /dataservice/statistics/approute/aggregation

Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage

def get(query: Optional[str] = None) -> List[AppRouteAggResp]: ...

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.approute.aggregation.get()

Operation: POST /dataservice/statistics/approute/aggregation

Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage

def post(payload: Any) -> List[AppRouteAggResp]: ...

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.approute.aggregation.post()