Get snapshot of variable value at particular time
POST/data/snapshot
Returns value of a variable at a particular time for given set of nodes. Retunrs nearest datapoint submitted before specified time incase no datapoints found at the exact timestamp.
Request
- application/json
Body
time integer
variable string
nodes string[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
success boolean
error string
errorcode integer
data object[]
node string
value integer
timestamp integer
count integer
{
"success": true,
"error": "string",
"errorcode": 0,
"data": [
{
"node": "string",
"value": 0,
"timestamp": 0
}
],
"count": 0
}
Loading...