Start measurement job
POST/devices/:deviceId/command/go
Instructs the device to take a continuous running measurement.
Required scope(s): [devices:command
]
Request
Path Parameters
The target sensor.
- application/json
Body
required
Identifier for the job to start measuring.
Duration to run measurement job for in seconds.
Responses
- 200
- 404
- 500
Your request was successful.
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier for the client making the request.
res objectrequired
Container for additional response details.
Acknowledgment status; will always have a value of 1, indicating successful receipt of the request by the API and/or device.
Response status from sensor, represented as HTTP status code.
Status message from sensor.
Unique ID (ULID) for the response message.
Session ID (ULID) associated with the client's request, providing context and traceability.
{
"clientId": "jdppdzf4l0",
"res": {
"ack": 1,
"code": "200",
"message": "Request executed successfully",
"messageId": "01H7B0YXPAMMSKX401J1CXCQBP"
},
"sessionId": "01H7B0YVB9PQJ3086GNX5XVA94"
}
You are operating on a resource that does not exist. A message is returned explaining the issue.
- application/json
- Schema
- Example (from schema)
Schema
object
{}
An internal server error. Please contact Gardin Support for further assistance.
- application/json
- Schema
- Example (from schema)
Schema
object
{}