Get latest command/job status
POST/devices/:deviceId/command/info
Retrieve status of most recent command/job executed by the device.
Required scope(s): [devices:command
]
Request
Path Parameters
The target sensor.
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.
job object
The unique ID of the job.
Possible values: [PickPosesJob
, MeasurementJob
, AutoFocusJob
]
The type of job to which the status message pertains.
Possible values: [info
, warning
, error
, unknown
]
The severity of the status 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",
"job": {
"id": "2207-TEST-20230803_GOOD",
"type": "MeasurementJob"
},
"severity": "info"
},
"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
{}