auditlog.doccount

Operation: GET /dataservice/auditlog/doccount

Get response count of a query

def get_count(query: str) -> GetAuditLogDoccount: ...

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.auditlog.doccount.get_count()

Operation: POST /dataservice/auditlog/doccount

Get response count of a query

def get_count_post(
    payload: Optional[Any] = None,
) -> GetAuditLogDoccount: ...

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.auditlog.doccount.get_count_post()