API design: Filters for fleetctl get mdm-commands (#20623)
API design for: - #19143
This commit is contained in:
@@ -6286,6 +6286,8 @@ This endpoint returns the list of custom MDM commands that have been executed.
|
||||
| per_page | integer | query | Results per page. |
|
||||
| order_key | string | query | What to order results by. Can be any field listed in the `results` array example below. |
|
||||
| order_direction | string | query | **Requires `order_key`**. The direction of the order given the order key. Options include `asc` and `desc`. Default is `asc`. |
|
||||
| host_identifier | string | query | The host's `hostname`, `uuid`, or `hardware_serial`. |
|
||||
| request_type | string | query | The request type to filter commands by. |
|
||||
|
||||
#### Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user