Losant Devices API
The Devices API from Losant — 24 operation(s) for devices.
Operations 30
GET
/applications/{applicationId}/devices/attributeNames
Gets the attribute names that match the given query. Maximum 1K returned
#
GET
/applications/{applicationId}/devices/compositeState
Retrieve the composite last complete state of the matching devices
#
GET
/applications/{applicationId}/devices/deviceNames
Gets the device names that match the given query. Maximum 1K returned
#
POST
/applications/{applicationId}/devices/payloadCounts
Creates an export of payload count information for the matching devices
#
POST
/applications/{applicationId}/devices/removeData
Removes all device data for the specified time range. Defaults to all data
#
GET
/applications/{applicationId}/devices/tagKeys
Gets the unique tag keys for devices that match the given query.
#
GET
/applications/{applicationId}/devices/tagValues
Gets the unique tag values for the given key for devices that match the given…
#
GET
/applications/{applicationId}/devices/{deviceId}/command
Retrieve the last known command(s) sent to the device
#
GET
/applications/{applicationId}/devices/{deviceId}/commandStream
Attach to a real time stream of command messages to this device using Server…
#
GET
/applications/{applicationId}/devices/{deviceId}/compositeState
Retrieve the composite last complete state of the device
#
DELETE
/applications/{applicationId}/devices/{deviceId}/data
Removes all device data for the specified time range. Defaults to all data
#
POST
/applications/{applicationId}/devices/{deviceId}/export
Creates a device data export. Defaults to all data
#
GET
/applications/{applicationId}/devices/{deviceId}/logs
Retrieve the recent log entries about the device
#
GET
/applications/{applicationId}/devices/{deviceId}/payloadCounts
Returns payload counts for the time range specified for this device
#
GET
/applications/{applicationId}/devices/{deviceId}/payloadCountsBreakdown
Returns payload counts per resolution in the time range specified for this…
#
POST
/applications/{applicationId}/devices/{deviceId}/setConnectionStatus
Set the current connection status of the device
#
GET
/applications/{applicationId}/devices/{deviceId}/state
Retrieve the last known state(s) of the device
#
GET
/applications/{applicationId}/devices/{deviceId}/stateStream
Attach to a real time stream of state messages from this device using Server…
#