Vai al contenuto principale
GET
/
api
/
v1
/
atb
/
{id}
/
traffic
/
stats-v2
Retrieve traffic statistics for a specific ATB device
curl --request GET \
  --url https://app.aegister.com/api/v1/atb/{id}/traffic/stats-v2 \
  --header 'X-Aegister-Token: <api-key>'
{
  "data": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "total_requests": 123,
      "blocked_requests": 123,
      "end_timestamp": "2023-11-07T05:31:56Z"
    }
  ],
  "total_requests": 123,
  "blocked_requests": 123
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

id
integer
obbligatorio

Unique ID of the ATB device

Parametri della query

minutes
integer

Time window in minutes to aggregate traffic data. Default is 12 hours.

Risposta

Aggregated traffic data response

data
object[]
total_requests
integer
blocked_requests
integer