Skip to content

Commit

Permalink
[DOCS] Fixes formatting in the Osquery manager APIs (elastic#149871)
Browse files Browse the repository at this point in the history
## Summary

Fixes the formatting of the rogue `Query parameters` sections.
  • Loading branch information
KOTungseth authored and kqualters-elastic committed Feb 6, 2023
1 parent a6f44e2 commit f0bce5f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/api/osquery-manager/live-queries/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ experimental[] Get live queries.
(Optional, string) An identifier for the space. When `space_id` is not provided in the URL, the default space is used.


=== Query parameters
[[osquery-manager-live-queries-api-get-all-query-params]]
==== Query parameters

`page`::
(Optional, integer) The page number to return. The default is `1`.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/osquery-manager/packs/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WARNING: Once you delete a pack, _it cannot be recovered_.
`200`::
Indicates that the pack is deleted. Returns an empty response body.


[[osquery-manager-packs-api-delete-example]]
==== Example

Delete a pack object with the `bbe5b070-0c51-11ed-b0f8-ad31b008e832` ID:
Expand Down
4 changes: 2 additions & 2 deletions docs/api/osquery-manager/packs/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ experimental[] Get packs.
`space_id`::
(Optional, string) The space identifier. When `space_id` is not provided in the URL, the default space is used.


=== Query parameters
[[osquery-manager-packs-api-get-all-query-params]]
==== Query parameters

`page`::
(Optional, integer) The page number to return. The default is `1`.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/osquery-manager/saved-queries/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ WARNING: Once you delete a saved query, _it cannot be recovered_.
`200`::
Indicates the saved query is deleted. Returns an empty response body.


[[osquery-manager-saved-queries-api-delete-example]]
==== Example

Delete a saved query object with the `42ba9c50-0cc5-11ed-aa1d-2b27890bc90d` ID:
Expand Down
4 changes: 2 additions & 2 deletions docs/api/osquery-manager/saved-queries/get-all.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ experimental[] Get saved queries.
`space_id`::
(Optional, string) The space identifier. When `space_id` is not provided in the URL, the default space is used.


=== Query parameters
[[osquery-manager-saved-queries-api-get-all-query-params]]
==== Query parameters

`page`::
(Optional, integer) The page number to return. The default is `1`.
Expand Down

0 comments on commit f0bce5f

Please sign in to comment.