Devices data models
getAllDevices — 200 response
Successful retrieval of all devices.
Represents a device instance created by a project.
An array of objects with the following shape:
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
apiKey | string | No | read-only (server-generated) | API access key assigned to device. Usually hidden except to privileged clients, but is also present during the On-Demand Device Provisioning process. |
bundleInstallTime | string | No | read-only (server-generated); format: date-time | If present, the timestamp when the firmware bundle was installed. |
bundleInstalled | string | No | read-only (server-generated) | If present, the name of firmware bundle installed on this device. |
channel | string | No | read-only (server-generated) | The name of firmware channel the device should download from. |
claimCode | string | No | Claim code assigned to device. Hidden except to privileged clients. | |
claimExpirationTime | string | No | read-only (server-generated); format: date-time | Expiration time of device's claimable state. |
claimTime | string | No | read-only (server-generated); format: date-time | Timestamp of device being claimed by a user. |
creationTime | string | No | read-only (server-generated); format: date-time | Timestamp of device record creation. |
description | string | No | Description of device. | |
deviceClass | string | Yes | read-only (server-generated) | Device Class ID as defined by the project. |
homeId | integer | No | This property is present if device belongs to a home. | |
id | integer | Yes | read-only (server-generated) | Unique device ID. |
isConnected | boolean | No | read-only (server-generated) | Device is currently connected to MODE Cloud via a websocket or MQTT connection. |
lastConnectTime | string | No | read-only (server-generated); format: date-time | The last time the device connected to the cloud. |
lastDisconnectTime | string | No | read-only (server-generated); format: date-time | The last time the device disconnected from the cloud. |
name | string | No | Display name of device. | |
projectId | integer | Yes | read-only (server-generated) | Project that this device belongs to. |
tag | string | No | An optional/informational tag associated with device. Can be used to store the serial number, for example. |
getAllDevices — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getAllDevices — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getAllDevices — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getAllDevices — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getAllDevices — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
addDeviceHome — request
Request body for Add device to a home.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
bundleInstalled | string | No | If present, the name of firmware bundle installed on this device. Only used with the projectId parameter | |
channel | string | No | The name of firmware channel the device should download from. Only used with the projectId parameter | |
claimCode | string | No | Unique claim code assigned to the device to be added. Required if device is pre-provisioned. | |
description | string | No | Description of device. Only used with the projectId parameter | |
deviceClass | string | No | Override the default Device Class associated with the token. Only used for On-Demand Device Provisioning | |
homeId | integer | No | ID of the home to which the device will be added. Required if device is pre-provisioned. | |
name | string | No | Display name of device. Only used with the projectId parameter | |
projectId | integer | No | ID of the project to which a new device will be added.
token parameters take precedence over this parameter.
To use this parameter, the request must contain the deviceClass parameters,
and the key of a user with create project devices permission and home devices permission.
Only used for creating a pre-provisioned device instance
| |
tag | string | No | An optional/informational tag associated with device. Can be used to store the serial number, for example. Only used with the projectId parameter | |
token | string | No | Device provisioning token issued for the device to be added. Required for On-Demand Device Provisioning. |
addDeviceHome — 201 response
Successfully added device to home. Return body is device added with the home ID now specified.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
apiKey | string | No | read-only (server-generated) | API access key assigned to device. Usually hidden except to privileged clients, but is also present during the On-Demand Device Provisioning process. |
bundleInstallTime | string | No | read-only (server-generated); format: date-time | If present, the timestamp when the firmware bundle was installed. |
bundleInstalled | string | No | read-only (server-generated) | If present, the name of firmware bundle installed on this device. |
channel | string | No | read-only (server-generated) | The name of firmware channel the device should download from. |
claimCode | string | No | Claim code assigned to device. Hidden except to privileged clients. | |
claimExpirationTime | string | No | read-only (server-generated); format: date-time | Expiration time of device's claimable state. |
claimTime | string | No | read-only (server-generated); format: date-time | Timestamp of device being claimed by a user. |
creationTime | string | No | read-only (server-generated); format: date-time | Timestamp of device record creation. |
description | string | No | Description of device. | |
deviceClass | string | Yes | read-only (server-generated) | Device Class ID as defined by the project. |
homeId | integer | No | This property is present if device belongs to a home. | |
id | integer | Yes | read-only (server-generated) | Unique device ID. |
isConnected | boolean | No | read-only (server-generated) | Device is currently connected to MODE Cloud via a websocket or MQTT connection. |
lastConnectTime | string | No | read-only (server-generated); format: date-time | The last time the device connected to the cloud. |
lastDisconnectTime | string | No | read-only (server-generated); format: date-time | The last time the device disconnected from the cloud. |
name | string | No | Display name of device. | |
projectId | integer | Yes | read-only (server-generated) | Project that this device belongs to. |
tag | string | No | An optional/informational tag associated with device. Can be used to store the serial number, for example. |
addDeviceHome — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
addDeviceHome — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
addDeviceHome — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
addDeviceHome — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
addDeviceHome — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDevice — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDevice — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDevice — 404 response
The required device does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDevice — 409 response
The device cannot be deleted because it is being used by another part of the system.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDevice — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDevice — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDevice — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceInfo — 200 response
Successful retrieval of device by specified ID.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
apiKey | string | No | read-only (server-generated) | API access key assigned to device. Usually hidden except to privileged clients, but is also present during the On-Demand Device Provisioning process. |
bundleInstallTime | string | No | read-only (server-generated); format: date-time | If present, the timestamp when the firmware bundle was installed. |
bundleInstalled | string | No | read-only (server-generated) | If present, the name of firmware bundle installed on this device. |
channel | string | No | read-only (server-generated) | The name of firmware channel the device should download from. |
claimCode | string | No | Claim code assigned to device. Hidden except to privileged clients. | |
claimExpirationTime | string | No | read-only (server-generated); format: date-time | Expiration time of device's claimable state. |
claimTime | string | No | read-only (server-generated); format: date-time | Timestamp of device being claimed by a user. |
creationTime | string | No | read-only (server-generated); format: date-time | Timestamp of device record creation. |
description | string | No | Description of device. | |
deviceClass | string | Yes | read-only (server-generated) | Device Class ID as defined by the project. |
homeId | integer | No | This property is present if device belongs to a home. | |
id | integer | Yes | read-only (server-generated) | Unique device ID. |
isConnected | boolean | No | read-only (server-generated) | Device is currently connected to MODE Cloud via a websocket or MQTT connection. |
lastConnectTime | string | No | read-only (server-generated); format: date-time | The last time the device connected to the cloud. |
lastDisconnectTime | string | No | read-only (server-generated); format: date-time | The last time the device disconnected from the cloud. |
name | string | No | Display name of device. | |
projectId | integer | Yes | read-only (server-generated) | Project that this device belongs to. |
tag | string | No | An optional/informational tag associated with device. Can be used to store the serial number, for example. |
getDeviceInfo — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceInfo — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceInfo — 404 response
The requested device does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceInfo — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceInfo — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceInfo — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceInfo — request
Request body for Update device info.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
apiKey | string | No | read-only (server-generated) | API access key assigned to device. Usually hidden except to privileged clients, but is also present during the On-Demand Device Provisioning process. |
bundleInstallTime | string | No | read-only (server-generated); format: date-time | If present, the timestamp when the firmware bundle was installed. |
bundleInstalled | string | No | read-only (server-generated) | If present, the name of firmware bundle installed on this device. |
channel | string | No | read-only (server-generated) | The name of firmware channel the device should download from. |
claimCode | string | No | Claim code assigned to device. Hidden except to privileged clients. | |
claimExpirationTime | string | No | read-only (server-generated); format: date-time | Expiration time of device's claimable state. |
claimTime | string | No | read-only (server-generated); format: date-time | Timestamp of device being claimed by a user. |
creationTime | string | No | read-only (server-generated); format: date-time | Timestamp of device record creation. |
description | string | No | Description of device. | |
deviceClass | string | Yes | read-only (server-generated) | Device Class ID as defined by the project. |
homeId | integer | No | This property is present if device belongs to a home. | |
id | integer | Yes | read-only (server-generated) | Unique device ID. |
isConnected | boolean | No | read-only (server-generated) | Device is currently connected to MODE Cloud via a websocket or MQTT connection. |
lastConnectTime | string | No | read-only (server-generated); format: date-time | The last time the device connected to the cloud. |
lastDisconnectTime | string | No | read-only (server-generated); format: date-time | The last time the device disconnected from the cloud. |
name | string | No | Display name of device. | |
projectId | integer | Yes | read-only (server-generated) | Project that this device belongs to. |
tag | string | No | An optional/informational tag associated with device. Can be used to store the serial number, for example. |
updateDeviceInfo — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceInfo — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceInfo — 404 response
The requested device does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceInfo — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceInfo — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceInfo — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
receiveCommands — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
receiveCommands — 404 response
The requested resource does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
receiveCommands — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
receiveCommands — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendCommandDevice — request
Request body for Send command to device.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
action | string | Yes | pattern: ^[0-9a-z][0-9a-z_\-]+[0-9a-z]$ | Action to be taken by device. |
parameters | object | No | Action-specific parameters. This is opaque to the cloud service. |
sendCommandDevice — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendCommandDevice — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendCommandDevice — 404 response
The requested command does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendCommandDevice — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendCommandDevice — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceConfigurationSchemas — 200 response
Successful retrieval of the device's configuration schemas.
Represents the configuration schema associated with a device component.
An array of objects with the following shape:
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
componentName | string | No | read-only (server-generated) | Display name of component and is unique per project. |
componentVersionName | string | No | read-only (server-generated) | Display name of component version e.g. 1.0.1 |
deviceConfigSchema | array | No | read-only (server-generated) | A template used to create a configuration for a firmware component. |
getDeviceConfigurationSchemas — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceConfigurationSchemas — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceConfigurationSchemas — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceConfigurationSchemas — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceConfigurationSchemas — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
postData — request
Request body for Post data.
| Property | Type | Required | Constraints | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | array<object> | Yes | List of record data. | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
postData — 200 response
Successful submission of data.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
failedDataSources | array<array> | No | read-only (server-generated) | The list of data sources that failed during the data routing process. |
result | string | Yes | read-only (server-generated); one of: success, partial | The result of the data route ingestion. |
postData — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
postData — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
postData — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
postData — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
postData — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendDeviceEventCloud — request
Request body for Send device event to cloud.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
eventData | object | Yes | Event-specific data as a JSON hash. Opaque to the cloud service. | |
eventType | string | Yes | pattern: ^[a-zA-Z](?:[\-_]?[a-zA-Z0-9]+)*$ | Event type ID. Must begin 1 or more alpha characters; dashes ('-') and underscores ('_') may be used after the first character but must be followed by 1+ alphanumeric characters. |
homeId | integer | No | read-only (server-generated) | ID of the home associated with this event. MODE adds this at event delivery to listeners. Devices don't need to add this. |
originDeviceClass | string | No | read-only (server-generated) | If the event originates from a device, this property is the device's class ID. MODE adds this at event delivery to listener. |
originDeviceId | integer | No | read-only (server-generated) | MODE adds this at event delivery to listeners. This property is present if the event originates from a device. |
originDeviceIp | string | No | read-only (server-generated) | IP address of device. This property is present if the event originates from a device. MODE adds this at event delivery to listeners. |
originProjectKeyId | string | No | read-only (server-generated) | If the event originates from a project API key, this property is the unique key ID. MODE adds this at event delivery to listener. |
originProjectKeyName | string | No | read-only (server-generated) | If the event originates from a project API key, this property is its display name. MODE adds this at event delivery to listener. |
timestamp | string | No | read-only (server-generated); format: date-time | Moment when event was triggered. MODE adds this at event delivery to listeners. Devices don't need to add this. |
sendDeviceEventCloud — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendDeviceEventCloud — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendDeviceEventCloud — 404 response
The requested event does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendDeviceEventCloud — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendDeviceEventCloud — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
sendDeviceEventCloud — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
recordFirmwareInstallation — request
Request body for Record firmware installation.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
bundleId | string | Yes | pattern: ^[a-zA-Z0-9]([a-zA-Z0-9\-_\.]*[a-zA-Z0-9])*$ | Unique ID that represents the installed bundle. Must begin with an alphanumeric character; dashes ('-'), underscores ('_') and periods ('.') may be used after the first character but must be followed by 1+ alphanumeric characters. |
recordFirmwareInstallation — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
recordFirmwareInstallation — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
recordFirmwareInstallation — 404 response
The requested firmwareInfo does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
recordFirmwareInstallation — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
recordFirmwareInstallation — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
recordFirmwareInstallation — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getHTTPAccessLogEntries — 200 response
200 response for Get HTTP Access Log Entries.
Entry in an HTTP access log.
An array of objects with the following shape:
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
clientIp | string | No | read-only (server-generated) | IP address of caller. |
latency | integer | No | read-only (server-generated) | Elapsed time of call in nanoseconds. |
method | string | No | read-only (server-generated) | HTTP method. |
path | string | No | read-only (server-generated) | URI path of HTTP request. |
statusCode | integer | No | read-only (server-generated) | Returned status code of HTTP request. |
timestamp | string | No | read-only (server-generated); format: date-time | Timestamp of entry creation. |
getHTTPAccessLogEntries — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getHTTPAccessLogEntries — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getHTTPAccessLogEntries — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getHTTPAccessLogEntries — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getHTTPAccessLogEntries — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getKeyValuePairsReceiveUpdates — 200 response
An array of key-value pair objects are returned.
A key-value pair stored for a home.
An array of objects with the following shape:
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
key | string | No | read-only (server-generated); pattern: ^[a-zA-Z0-9]([a-zA-Z0-9\-_\:]*[a-zA-Z0-9])*$ | Must be unique within each home. Must 1 to 256 characters and must contain alphanumeric characters; dashes ('-'), underscores ('_') and colons (':') may be used after the first character but must be followed by 1+ alphanumeric characters. |
modificationTime | string | No | read-only (server-generated); format: date-time | Timestamp of creation or last modification. |
value | boolean | string | number | array | object | Yes | An arbitrary piece of data assigned to the given key. |
getKeyValuePairsReceiveUpdates — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getKeyValuePairsReceiveUpdates — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getKeyValuePairsReceiveUpdates — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getKeyValuePairsReceiveUpdates — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getKeyValuePairsReceiveUpdates — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteKeyValuePair — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteKeyValuePair — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteKeyValuePair — 404 response
The required kv does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteKeyValuePair — 409 response
The kv cannot be deleted because it is being used by another part of the system.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteKeyValuePair — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteKeyValuePair — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteKeyValuePair — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
lookUpKeyValuePair — 200 response
The matching key-value pair is returned.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
key | string | No | read-only (server-generated); pattern: ^[a-zA-Z0-9]([a-zA-Z0-9\-_\:]*[a-zA-Z0-9])*$ | Must be unique within each home. Must 1 to 256 characters and must contain alphanumeric characters; dashes ('-'), underscores ('_') and colons (':') may be used after the first character but must be followed by 1+ alphanumeric characters. |
modificationTime | string | No | read-only (server-generated); format: date-time | Timestamp of creation or last modification. |
value | boolean | string | number | array | object | Yes | An arbitrary piece of data assigned to the given key. |
lookUpKeyValuePair — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
lookUpKeyValuePair — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
lookUpKeyValuePair — 404 response
The requested kv does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
lookUpKeyValuePair — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
lookUpKeyValuePair — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
lookUpKeyValuePair — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
createUpdateKeyValuePair — request
Request body for Create or update a key-value pair.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
value | string | Yes | The value set to the key. |
createUpdateKeyValuePair — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
createUpdateKeyValuePair — 404 response
The specified device does not exist.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
createUpdateKeyValuePair — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
createUpdateKeyValuePair — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getLogEntries — 200 response
200 response for Get Log Entries.
Entry in a general-purpose log.
An array of objects with the following shape:
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
caller | object | No | Information about the caller (id, type, display name, sudoer). | |
level | integer | No | read-only (server-generated) | Log level of entry. |
source | string | No | Source from where the message was generated. | |
text | string | No | read-only (server-generated) | Text of log message. |
timestamp | string | No | read-only (server-generated); format: date-time | Timestamp of entry creation. |
getLogEntries — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getLogEntries — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getLogEntries — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getLogEntries — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getLogEntries — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequests — 200 response
200 response for Get Device Log Requests.
Represents a request to a device for uploading its logs.
An array of objects with the following shape:
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
contentType | string | No | MIME type of file uploaded for this request. | |
deviceId | integer | No | ID of device associated with log request. | |
filename | string | No | Filename of uploaded device log. | |
id | string | No | Unique ID of log request | |
projectId | integer | No | ID of project associated with log request. | |
status | unknown | No | one of: success, failure, requested, uploading, cancelled | Status of log request. |
token | string | No | Request token sent to device. | |
ts | string | No | format: date-time | Creation timestamp of log request. |
uploadId | string | No | Unique ID assigned to an upload session. | |
url | string | No | URL for downloading the stored device log. |
getDeviceLogRequests — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequests — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequests — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequests — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequests — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
requestDeviceLogs — request
Request body for Request Device Logs.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
end | string | No | format: date-time | The end age filter of the logs. Logs older than this date are retrieved. The format follows RFC3339. |
prefixes | array<string> | No | Prefix patterns to filter which logs to retrieve. | |
start | string | No | format: date-time | The start age filter of the logs. Logs younger than this date are retrieved. The format follows RFC3339. |
requestDeviceLogs — 201 response
Successfully submitted log request.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
contentType | string | No | MIME type of file uploaded for this request. | |
deviceId | integer | No | ID of device associated with log request. | |
filename | string | No | Filename of uploaded device log. | |
id | string | No | Unique ID of log request | |
projectId | integer | No | ID of project associated with log request. | |
status | unknown | No | one of: success, failure, requested, uploading, cancelled | Status of log request. |
token | string | No | Request token sent to device. | |
ts | string | No | format: date-time | Creation timestamp of log request. |
uploadId | string | No | Unique ID assigned to an upload session. | |
url | string | No | URL for downloading the stored device log. |
requestDeviceLogs — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
requestDeviceLogs — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
requestDeviceLogs — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
requestDeviceLogs — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
requestDeviceLogs — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDeviceLogRequest — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDeviceLogRequest — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDeviceLogRequest — 404 response
The required logRequest does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDeviceLogRequest — 409 response
The logRequest cannot be deleted because it is being used by another part of the system.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDeviceLogRequest — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDeviceLogRequest — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
deleteDeviceLogRequest — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequest — 200 response
200 response for Get Device Log Request.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
contentType | string | No | MIME type of file uploaded for this request. | |
deviceId | integer | No | ID of device associated with log request. | |
filename | string | No | Filename of uploaded device log. | |
id | string | No | Unique ID of log request | |
projectId | integer | No | ID of project associated with log request. | |
status | unknown | No | one of: success, failure, requested, uploading, cancelled | Status of log request. |
token | string | No | Request token sent to device. | |
ts | string | No | format: date-time | Creation timestamp of log request. |
uploadId | string | No | Unique ID assigned to an upload session. | |
url | string | No | URL for downloading the stored device log. |
getDeviceLogRequest — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequest — 403 response
Request failed because of denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequest — 404 response
The requested logRequest does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequest — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequest — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
getDeviceLogRequest — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceTag — request
Request body for Update the device tag.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
tag | string | Yes | Updated tag for the device. |
updateDeviceTag — 401 response
Authorization is required to access this resource.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceTag — 403 response
Request failed because of invalid data or denied permission.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceTag — 404 response
The requested tag does not exist or is not accessible.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceTag — 429 response
Request failed because of rate limit.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceTag — 500 response
An unexpected error has occurred.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
updateDeviceTag — 503 response
The service is temporarily unavailable.
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |