This URL provides the information whether sensor config has been modified and configuration update is pending to the Sensor. The configuration change details are provided as well.
Resource URL
GET /sensor/<sensor_id>/config/status
Request Parameters
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Sensor Id | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| Is configuration modified | Boolean |
| Reason for configuration changes | String |
Example
Request
GET http://localhost/sdkapi/sensor/1005/config/status
Response
{
"ConfigModified": true,
"Reason": "Subcriber Config Changed,Bot DAT Content Changed,"
}
Error Information
Following error codes are returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1106 | Invalid Sensor |