Get event time history
Get time history data for the given noise event.
Requires an API key with the data.events:read
scope.
Path parameters
-
id
string Required ID of the time history for this event
Responses
-
200 application/json
OK
-
401 application/json
Your access token is invalid or has expired
-
403 application/json
You do not have permission to access this data
-
404 application/json
There is an error in the request, possibly missing parameter or incorrect url.
-
429 application/json
You have made too many requests in a short time
GET
/data/events/timehistory/{id}
curl \
--request GET 'https://api.mycirrus.cloud/v1/data/events/timehistory/{id}'
Response examples (200)
[
{
"type": "LAeq",
"blocks": [
{
"end": "2019-08-24T14:30:00Z",
"start": "2019-08-24T14:15:00Z",
"values": [
55.3,
43.1,
45.6,
"..."
],
"sampleDuration": 1000
},
"..."
],
"instrument": "QT123456"
}
]
Response examples (401)
{
"error": "TokenExpired",
"description": "Your access token is invalid or has expired. Try refreshing the token."
}
Response examples (403)
{
"error": "AccessDenied",
"description": "You do not have permission to access this data."
}
Response examples (404)
Example 1
{
"error": "MissingParam",
"description": "The required parameter StartTime was missing from the request."
}
{
"error": "NotFound",
"description": "The instrument QT123456 could not be found."
}
Response examples (429)
{
"error": "TooManyRequests",
"description": "You have made too many requests in a short time. Please wait before trying again."
}