lib/losant_rest/devices.rb in losant_rest-1.13.0 vs lib/losant_rest/devices.rb in losant_rest-1.13.1
- old
+ new
@@ -97,11 +97,11 @@
# * {boolean} _actions - Return resource actions in response
# * {boolean} _links - Return resource link in response
# * {boolean} _embedded - Return embedded resources in response
#
# Responses:
- # * 200 - Object indicating number of devices deleted or failed (https://api.losant.com/#/definitions/devicesDeleted)
+ # * 200 - Object indicating number of devices deleted or failed (https://api.losant.com/#/definitions/bulkDeleteResponse)
# * 202 - If a job was enqueued for the devices to be deleted (https://api.losant.com/#/definitions/jobEnqueuedResult)
#
# Errors:
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
# * 404 - Error if application was not found (https://api.losant.com/#/definitions/error)
@@ -188,10 +188,10 @@
# must include at least one of the following scopes:
# all.Application, all.Application.read, all.Device, all.Device.read, all.Organization, all.Organization.read, all.User, all.User.read, devices.*, or devices.get.
#
# Parameters:
# * {string} applicationId - ID associated with the application
- # * {string} sortField - Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated
+ # * {string} sortField - Field to sort the results by. Accepted values are: name, id, creationDate, lastUpdated, connectionStatus
# * {string} sortDirection - Direction to sort the results by. Accepted values are: asc, desc
# * {string} page - Which page of results to return
# * {string} perPage - How many items to return per page
# * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name
# * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering.