Get Device Profile
GET/lns/tenants/:tenantId/device-profiles/:deviceProfileId
Get device profile
Request
Path Parameters
tenantId stringrequired
The ID of tenant.
deviceProfileId stringrequired
The ID of device profile.
Responses
- 200
- 401
- 403
- 404
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- Array [
- ]
- ]
data object[]required
Data of the device profile.
id stringrequired
tenantId stringrequired
name stringrequired
description stringrequired
region numberrequired
regionConfigId stringrequired
macVersion numberrequired
regParamsRevision numberrequired
adrAlgorithmId stringrequired
flushQueueOnActivate booleanrequired
uplinkInterval booleanrequired
deviceStatusReqInterval numberrequired
supportsOtaa booleanrequired
abpRx1Delay numberrequired
abpRx1DrOffset numberrequired
abpRx2Dr numberrequired
abpRx2Freq numberrequired
supportsClassB booleanrequired
classBTimeout numberrequired
classBPingSlotNbK numberrequired
classBPingSlotDr numberrequired
classBPingSlotFreq numberrequired
supportsClassC booleanrequired
classCTimeout numberrequired
isRelay booleanrequired
relayEnabled booleanrequired
relayDefaultChannelIndex numberrequired
relaySecondChannelFreq numberrequired
relaySecondChannelDr numberrequired
relaySecondChannelAckOffset numberrequired
relayCadPeriodicity numberrequired
relayJoinReqLimitBucketSize numberrequired
relayJoinReqLimitReloadRate numberrequired
relayNotifyLimitBucketSize numberrequired
relayNotifyLimitReloadRate numberrequired
relayGlobalUplinkLimitBucketSize numberrequired
relayGlobalUplinkLimitReloadRate numberrequired
relayOverallLimitBucketSize numberrequired
relayOverallLimitReloadRate numberrequired
isRelayEd booleanrequired
relayEdRelayOnly booleanrequired
relayEdActivationMode numberrequired
relayEdSmartEnableLevel numberrequired
relayEdBackOff numberrequired
relayEdUplinkLimitBucketSize numberrequired
relayEdUplinkLimitReloadRate numberrequired
tagsMap object[]required
createdAt numberrequired
updatedAt numberrequired
{
"data": [
{
"id": "string",
"tenantId": "string",
"name": "string",
"description": "string",
"region": 0,
"regionConfigId": "string",
"macVersion": 0,
"regParamsRevision": 0,
"adrAlgorithmId": "string",
"flushQueueOnActivate": true,
"uplinkInterval": true,
"deviceStatusReqInterval": 0,
"supportsOtaa": true,
"abpRx1Delay": 0,
"abpRx1DrOffset": 0,
"abpRx2Dr": 0,
"abpRx2Freq": 0,
"supportsClassB": true,
"classBTimeout": 0,
"classBPingSlotNbK": 0,
"classBPingSlotDr": 0,
"classBPingSlotFreq": 0,
"supportsClassC": true,
"classCTimeout": 0,
"isRelay": true,
"relayEnabled": true,
"relayDefaultChannelIndex": 0,
"relaySecondChannelFreq": 0,
"relaySecondChannelDr": 0,
"relaySecondChannelAckOffset": 0,
"relayCadPeriodicity": 0,
"relayJoinReqLimitBucketSize": 0,
"relayJoinReqLimitReloadRate": 0,
"relayNotifyLimitBucketSize": 0,
"relayNotifyLimitReloadRate": 0,
"relayGlobalUplinkLimitBucketSize": 0,
"relayGlobalUplinkLimitReloadRate": 0,
"relayOverallLimitBucketSize": 0,
"relayOverallLimitReloadRate": 0,
"isRelayEd": true,
"relayEdRelayOnly": true,
"relayEdActivationMode": 0,
"relayEdSmartEnableLevel": 0,
"relayEdBackOff": 0,
"relayEdUplinkLimitBucketSize": 0,
"relayEdUplinkLimitReloadRate": 0,
"tagsMap": [
{}
],
"createdAt": 0,
"updatedAt": 0
}
]
}
{
"data": {
"tenantId": "b004ebe0-xxxx-xxxx-xxxx-dacd251b6f00",
"id": "ff7684e4-xxxx-xxxx-xxxx-6f42763591d1",
"name": "AS923-ClassC",
"description": "",
"region": 7,
"macVersion": 3,
"regionConfigId": "as923",
"regParamsRevision": 0,
"adrAlgorithmId": "default",
"flushQueueOnActivate": true,
"uplinkInterval": 3600,
"deviceStatusReqInterval": 30,
"supportsOtaa": true,
"abpRx1Delay": 0,
"abpRx1DrOffset": 0,
"abpRx2Dr": 0,
"abpRx2Freq": 0,
"supportsClassB": false,
"classBTimeout": 0,
"classBPingSlotNbK": 0,
"classBPingSlotDr": 0,
"classBPingSlotFreq": 0,
"supportsClassC": true,
"classCTimeout": 0,
"isRelay": false,
"relayEnabled": false,
"relayDefaultChannelIndex": 0,
"relaySecondChannelFreq": 0,
"relaySecondChannelDr": 0,
"relaySecondChannelAckOffset": 0,
"relayCadPeriodicity": 0,
"relayJoinReqLimitBucketSize": 0,
"relayJoinReqLimitReloadRate": 0,
"relayNotifyLimitBucketSize": 0,
"relayNotifyLimitReloadRate": 0,
"relayGlobalUplinkLimitBucketSize": 0,
"relayGlobalUplinkLimitReloadRate": 0,
"relayOverallLimitBucketSize": 0,
"relayOverallLimitReloadRate": 0,
"isRelayEd": false,
"relayEdRelayOnly": false,
"relayEdActivationMode": 0,
"relayEdSmartEnableLevel": 0,
"relayEdBackOff": 0,
"relayEdUplinkLimitBucketSize": 0,
"relayEdUplinkLimitReloadRate": 0,
"tagsMap": [
{
"key": "Rooftop",
"value": "Weather monitoring"
}
]
}
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The resource hasn't found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The resource hasn't found.
message stringrequired
The resource hasn't found message.
{
"error": "string",
"message": "string"
}
{
"error": "ResourceNotFound",
"message": "The requested resource could not be found."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}
Loading...