Get Zone Statistics
GET
/api/v1/mbembo/stat/{{areaID}}
Mbembo/ZoneStatisticsmbembo
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{dev_mbembo_url}}/api/v1/mbembo/stat/1?dates=2024-11-13T15:00:00Z&dates=2024-11-14T15:00:00Z&timeUnit=minute&metric=levelCount&congestionLevel=3'
Response Response Example
{
"trID": "20250212174827129876",
"resultCode": "0200",
"resultMsg": "string",
"errMsg": "string",
"cursor": "string",
"resultData": [
{
"time": "2019-08-24T14:15:22Z",
"key": "string",
"metric": "levelCount",
"value": 0
}
]
}
Request
Query Params
dates
array[string]
required
Example:
["2024-11-13T15:00:00Z","2024-11-14T15:00:00Z"]
timeUnit
enum<string>
required
Allowed values:
minutehourday
Example:
minute
metric
enum<string>
required
Allowed values:
levelCountlevelCountSumcongestionLevelpassingCountpassingCountSumavgTimeavgTimeAvgavgVelocity
Example:
levelCount
congestionLevel
integer
optional
Example:
3
Body Params application/x-www-form-urlencoded
object {0}
Responses
Modified at 2024-11-14 09:20:33