cURL
curl --request GET \ --url https://{tenant}/api/activity/oauthid/{OAuthClientID}/{startDay}/{startMonth}/{startYear}/{EndDay}/{EndMonth}/{EndYear} \ --header 'Authorization: Bearer <token>'
{ "data": [ { "error": 4, "hits": 31, "id": { "alias": "", "api_id": "41351a6a94094da05f75146a695a16f6", "api_name": "Keyless", "code": 404, "day": 0, "hour": 0, "iso_country": "", "key": "", "month": 0, "path": "/anything", "url": "", "year": 0 }, "last_hit": "2024-06-19T07:11:39Z", "latency": 0, "max_latency": 0, "max_upstream_latency": 0, "min_latency": 0, "min_upstream_latency": 0, "request_time": 174.5, "success": 27, "upstream_latency": 0 } ], "pages": 1 }
Returns activity of all endpoints which used the given OAuth client between the given time range.
Show child attributes
Was this page helpful?