Endpoint reference
api/v1/data/zones/historical
This endpoint returns historical data for all zones in the venue.
https://api3.waved.coBearer tokenThe full migrated endpoint description and response example are preserved below. They must be checked against the authoritative API contract before publication.
Migrated reference
The complete public source content is preserved below. Examples still require technical verification before launch.
GET :
api/v1/data/zones/historical
cURL
curl -X GET https://api3.waved.co/api/v1/data/zones/historical \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR-TOKEN' \
-d '{ }'About the endpoint
This endpoint returns historical data for all zones in the venue.
The data is updated every week and is returned in 30-minute intervals
This is very useful for understanding how the zones in the venue normally behave over time.
It's up to the developer to use the data from the zones in a sensible way and comparing live data and how it’s trending to historical data can be very powerful when creating autonomous solutions.
The data returned shows how the mood index and loudness index of each zone typically varies throughout each day of the week.
Return Object
[
{
"zone_id": "<string>",
"zone_name": "<string>",
"monday": {
"mood": "<number[]>",
"loudness": "<number[]>"
},
"tuesday": {
"mood": "<number[]>",
"loudness": "<number[]>"
},
"wednesday": {
"mood": "<number[]>",
"loudness": "<number[]>"
},
"thursday": {
"mood": "<number[]>",
"loudness": "<number[]>"
},
"friday": {
"mood": "<number[]>",
"loudness": "<number[]>"
},
"saturday": {
"mood": "<number[]>",
"loudness": "<number[]>"
},
"sunday": {
"mood": "<number[]>",
"loudness": "<number[]>"
},
"time": {
"utc0": "<string[]>"
}
}
]