find()

Finds all devices which match the specified options.

📘

Note

This API cannot be invoked in a Cloud Action or Cloud Connector.

Octave.Device.find(options)

Parameters

ParameterTypeRequiredDescription
optionsObjectYesAn object literal of query options.
options.filterStringNoA filter string. For more info see filtering.
options.startIntegerNoStart index of the search, integer, default value 0.
options.limitIntegerNoMaximum response size, integer, default value 20.
options.sortStringNoString representation of the member key to sort the results over, default value creationDate.
option.orderStringNoAvailable options are asc and desc, default value desc.

Returns

Returns an array of JSON representations of the matching Devices.