Get Device Configuration
Returns the latest available runtime configuration for a single device, such as relay jog duration and RS485 baud rate.
This endpoint does not refresh the device and does not send commands to the device. Returned data comes from the latest device configuration report, configuration read, or confirmed configuration write. If the device has not provided a configuration section, that section is omitted.
Endpoint
http
GET /wlte/v1/devices/{deviceId}/configAuthorization Requirements
| Scope | Required | Description |
|---|---|---|
device:read | Yes | Read target device configuration |
Request
Full URL:
http
GET {baseUrl}/wlte/v1/devices/{deviceId}/configRequest headers:
http
Authorization: Bearer {accessToken}
Accept: application/jsonPath parameters:
| Parameter | Type | Required | Rule |
|---|---|---|---|
deviceId | string | Yes | Must not be empty |
Success Response
HTTP status:
text
200 OKResponse body:
json
{
"code": "SUCCESS",
"message": "OK.",
"requestId": "req_001",
"data": {
"deviceId": "rek053537488",
"relay": {
"channels": [
{
"index": 1,
"jogTimeSeconds": 1
},
{
"index": 2,
"jogTimeSeconds": 1.5
}
]
},
"rs485": {
"baudRate": 9600
},
"updatedAt": "2026-06-12T08:30:00Z"
}
}If the device exists but no configuration is available, relay, rs485, and updatedAt may be absent:
json
{
"code": "SUCCESS",
"message": "OK.",
"requestId": "req_001",
"data": {
"deviceId": "rek053537488"
}
}Response data Schema
| Field | Type | Required | Description |
|---|---|---|---|
deviceId | string | Yes | Unique device identifier |
relay | object | No | Relay configuration |
relay.channels | array<RelayChannelConfig> | No | Per-relay configuration |
relay.channels[].index | integer | Yes | Relay index, starting from 1 |
relay.channels[].jogTimeSeconds | number | Yes | Jog duration in seconds |
rs485 | object | No | RS485 configuration |
rs485.baudRate | integer | No | RS485 baud rate in bps |
updatedAt | string | No | Configuration update time in RFC3339 UTC |
Response Rules
- This endpoint does not refresh the device
- Offline devices can still return the last available configuration
- Sections are returned according to device capability and reported data; unreported sections are omitted
- After modifying configuration, call this endpoint to read the latest confirmed configuration value
Error Responses
Possible responses:
400 INVALID_REQUEST401 AUTH_REQUIRED401 AUTH_INVALID401 AUTH_EXPIRED403 AUTH_SCOPE_DENIED404 DEVICE_NOT_FOUND429 RATE_LIMITED500 INTERNAL_ERROR
