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
| Parameter | Type | Required | Description |
|---|---|---|---|
| options | Object | Yes | An object literal of query options. |
| options.filter | String | No | A filter string. For more info see filtering. |
| options.start | Integer | No | Start index of the search, integer, default value 0. |
| options.limit | Integer | No | Maximum response size, integer, default value 20. |
| options.sort | String | No | String representation of the member key to sort the results over, default value creationDate. |
| option.order | String | No | Available options are asc and desc, default value desc. |
Returns
Returns an array of JSON representations of the matching Devices.
