Adding details for /queries/run endpoint. (#14956)

From discussions on PR https://github.com/fleetdm/fleet/pull/14909
This commit is contained in:
Victor Lyuboslavsky 2023-11-07 17:22:55 -06:00 committed by GitHub
parent 9543bef88f
commit 9cd4b9e770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6018,11 +6018,10 @@ load balancer timeout.
#### Parameters
| Name | Type | In | Description |
| --------- | ------ | ---- | --------------------------------------------- |
| query_ids | array | body | **Required**. The IDs of the saved queries to run. |
| host_ids | array | body | **Required**. The IDs of the hosts to target. |
| Name | Type | In | Description |
|-----------|-------|------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| query_ids | array | body | **Required**. The IDs of the saved queries to run. If a mix of authorized and unauthorized IDs is provided, only results from authorized queries will be returned. |
| host_ids | array | body | **Required**. The IDs of the hosts to target. User must be authorized to target all of these hosts. |
#### Example