countOrgTunnelsStats

GET https://{{host}}/api/v1/orgs/:org_id/stats/tunnels/count

Request Params

KeyDatatypeRequiredDescription
distinctstringIf type==wxtunnel: wxtunnel_id / ap / remote_ip / remote_port / state / mxedge_id / mxcluster_id / site_id / peer_mxedge_id; default is wxtunnel_id
if type==wan: mac / site_id / node / peer_ip / peer_host/ ip / tunnel_name / protocol / auth_algo / encrypt_algo / ike_version / last_event / up
typenullwan / wxtunnel

RESPONSES

status: OK

{"results":[{"mac":"020001c04668","count":2},{"mac":"02000111d2dc","count":1},{"mac":"d420b080516d","count":1}],"start":1660159907.3540995,"end":1660160207.3541,"limit":10,"distinct":"mac","total":3}