Appearance
Device
Description
This module enables the inspection of the device module as well as setting selected keys before the device transmitted it.
API
Preset Device Information
This endpoint can be used to set some device information preemptively. Currently this is value for the ICCID.
POST
/api/v1/device
Access
This endpoint requires create permission for the resource device.
Request Body
| Name | Description |
|---|---|
deviceIdentifierstring | The unique device identifier. Albeit being case insensitive, the upper case representation is used throughout the API. Pattern: ^(\S.)?(\\*|[a-zA-Z0-9=-]+)$ |
iccidstring | The ICCID for the device Pattern: ^[0-9a-fA-F] |
publicKeystring | The public key that will be used to verify the challenge that the device returned. Pattern: ^[0-9a-fA-F] |
Response
This endpoint simply returns Status 204 to indicate a successful operation and to save bandwidth.
Preset Device Information
This endpoint can be used to set some device information preemptively. Currently this is value for the ICCID.
GET
/api/v1/device
Access
This endpoint requires read permission for the resource device.
Query Parameter
| Name | Description |
|---|---|
depthintegeroptional | Due to the fact that some resources follow certain hierarchies, the depth query parameter can be used to include nested information in the response. This can be used to minimize roundtrips and is generally advised for. |
Response
| Name | Description |
|---|---|
deviceIdentifierstring | The unique device identifier. Albeit being case insensitive, the upper case representation is used throughout the API. Pattern: ^(\S.)?(\\*|[a-zA-Z0-9=-]+)$ |
infoobjectoptional | |
info.informationSourcestringenum | Possible values: DEVICE, USER |
info.deviceIdentifierstring | The unique device identifier. Albeit being case insensitive, the upper case representation is used throughout the API. Pattern: ^(\S.)?(\\*|[a-zA-Z0-9=-]+)$ |
info.publicKeystringoptional | The public key that will be used to verify the challenge that the device returned. Pattern: ^[0-9a-fA-F] |
info.signAlgorithmstringoptional | The sign algorithm used |
info.productIdentifierstringoptional | The product identifier name |
info.hardwareIdentifierOnestringoptional | Hardware information |
info.firmwareIdentifierOnestringoptional | Firmware information |
info.hardwareIdentifierTwostringoptional | Hardware information |
info.firmwareIdentifierTwostringoptional | Firmware information |
info.hardwareIdentifierThreestringoptional | Hardware information |
info.firmwareIdentifierThreestringoptional | Firmware information |
info.autoUpdateEnabledbooleanoptional | Whenever or not the auto update is enabled for the device |
info.deviceIPintegeroptional | Device IP Address |
info.deviceGWintegeroptional | Device Gateway Address |
info.deviceNMintegeroptional | Device NM Address |
info.uptimeintegeroptional | The current uptime of the device |
info.remainingMonthlyDataintegeroptional | The montly remaining data |
info.iccidstringoptional | The ICCID for the device Pattern: ^[0-9a-fA-F] |
Preset Device Information
This endpoint can be used to set some device information preemptively. Currently this is value for the ICCID.
GET
/api/v1/device/:deviceIdentifier
Access
This endpoint requires read permission for the resource device.
URL Parameter
| Name | Description |
|---|---|
deviceIdentifierstring | The unique device identifier. Albeit being case insensitive, the upper case representation is used throughout the API. Pattern: ^(\S.)?(\\*|[a-zA-Z0-9=-]+)$ |
Response
| Name | Description |
|---|---|
informationSourcestringenum | Possible values: DEVICE, USER |
deviceIdentifierstring | The unique device identifier. Albeit being case insensitive, the upper case representation is used throughout the API. Pattern: ^(\S.)?(\\*|[a-zA-Z0-9=-]+)$ |
publicKeystringoptional | The public key that will be used to verify the challenge that the device returned. Pattern: ^[0-9a-fA-F] |
signAlgorithmstringoptional | The sign algorithm used |
productIdentifierstringoptional | The product identifier name |
hardwareIdentifierOnestringoptional | Hardware information |
firmwareIdentifierOnestringoptional | Firmware information |
hardwareIdentifierTwostringoptional | Hardware information |
firmwareIdentifierTwostringoptional | Firmware information |
hardwareIdentifierThreestringoptional | Hardware information |
firmwareIdentifierThreestringoptional | Firmware information |
autoUpdateEnabledbooleanoptional | Whenever or not the auto update is enabled for the device |
deviceIPintegeroptional | Device IP Address |
deviceGWintegeroptional | Device Gateway Address |
deviceNMintegeroptional | Device NM Address |
uptimeintegeroptional | The current uptime of the device |
remainingMonthlyDataintegeroptional | The montly remaining data |
iccidstringoptional | The ICCID for the device Pattern: ^[0-9a-fA-F] |