DeviceHealth
Gets line chart data for a device health variable.
Request body: JSON object with a variable name and optional epoch range, count, and vertical line timestamps. Returns line chart data.
post/v1/device/{deviceID}/health/linechart
Request
- Base URL: https://api.actionstreamer.com (the document declares no server; this is the origin it was published from)
- URL: https://api.actionstreamer.com/v1/device/{deviceID}/health/linechart
- Auth: none declared
Path parameters
deviceIDinteger required
Example:1
The ID of the device whose line chart data should be generated.
Request body
Example request
{
"startEpoch": 1711800000,
"endEpoch": 1711800000,
"count": 25,
"variableName": "Example value",
"verticalLineTimestamps": [
1
]
}Response
Success
Example response
{
"datasets": [
{
"label": "Example value",
"data": [
null
]
}
],
"verticalLines": [
{
"timestamp": 1,
"color": "Example value"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.