iectl iem-v2 device-apps list¶
List Device Applications with Filter
Synopsis¶
This API returns a filtered list of Device Applications
iectl iem-v2 device-apps list [flags]
Options¶
-d, --data string use this flag for passing data via json or as datafile with @filename
--filter string Filter query parameter that can be used by API clients to provide a resource query expression to filter results.
The API client specifies the selection of resources in the following format.
[GET] /device-applications?filter=<expression>
The <expression> MUST contain the query and is on the right-hand side of the equal sign.
The <expression> specifies the logical filtering operation on a field in the resource that is being read.
Supported filter keys:
- name (operator 'contains')
- appSource (operator 'eq', value 'self-developed')
Example:
- Plain: /device-applications?filter=name contains 'Databus' and appSource eq 'self-developed'
- URL Encoded: /device-applications?filter=name%20contains%20%27Databus%27%20and%20appSource%20eq%20%27self-developed%27
-h, --help help for list
--sort string Sort query parameter that can be used by API clients to provide a resource query expression to sort results.
The API client specifies the selection of resources in the following format:
[GET] /device-applications?sort=<expression>
The <expression> MUST contain the query and is on the right-hand side of the equal sign.
The <expression> specifies the logical sorting operation on a field in the resource that is being read.
Supported sort keys:
- name
Supported sort operators:
- sort=<key> (ascending)
- sort=+<key> (ascending)
- sort=-<key> (descending)
Example:
- /device-applications?sort=-name
Options inherited from parent commands¶
-o, --output string output format
-q, --query string query on result of object
-v, --verbose verbose output
Example¶
$ iectl iem-v2 device-apps list --filter "name contains 'Databus' and appSource eq 'self-developed'" #not sure about this example
SEE ALSO¶
- iectl iem-v2 device-apps - device application related commands
- iectl iem-v2 device-apps details - Get Device Application Details
- iectl iem-v2 device-apps import - Import device application package to IEM
- iectl iem-v2 device-apps import-status - Get application import job status with jobId
- iectl iem-v2 device-apps validate - Validates application against pre defined rule set