curl --request POST \
--url https://api.revong.com/api/v1/endpoints/{endpointId}/stats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"granularity": "YEAR",
"path": true,
"url": true
}
'ROLES: ENDPOINT_READ,ENDPOINT_WRITE,ENDPOINT_ADMIN USER: true SERVICE ACCOUNT: true
curl --request POST \
--url https://api.revong.com/api/v1/endpoints/{endpointId}/stats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"from": "2023-11-07T05:31:56Z",
"to": "2023-11-07T05:31:56Z",
"granularity": "YEAR",
"path": true,
"url": true
}
'Bearer token with Platform JWT token or API Key.
Aggregation period from.
Aggregation period to.
Aggregation period type.
YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND Show API path (exclude dynamic routing).
Show end URL (include dynamic routing).
OK.