From d35dec25239e79564e366fd7e84eec7a452b1333 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 30 Jan 2023 13:59:17 -0500 Subject: [PATCH] [8.4] [DOCS] Fixes formatting in the Osquery manager APIs (#149871) (#149875) # Backport This will backport the following commits from `main` to `8.4`: - [[DOCS] Fixes formatting in the Osquery manager APIs (#149871)](https://github.com/elastic/kibana/pull/149871) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Kaarina Tungseth --- docs/api/osquery-manager/live-queries/get-all.asciidoc | 3 ++- docs/api/osquery-manager/packs/delete.asciidoc | 2 +- docs/api/osquery-manager/packs/get-all.asciidoc | 4 ++-- docs/api/osquery-manager/saved-queries/delete.asciidoc | 2 +- docs/api/osquery-manager/saved-queries/get-all.asciidoc | 4 ++-- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/api/osquery-manager/live-queries/get-all.asciidoc b/docs/api/osquery-manager/live-queries/get-all.asciidoc index 9dfd5e0621d41..7415518438b6d 100644 --- a/docs/api/osquery-manager/live-queries/get-all.asciidoc +++ b/docs/api/osquery-manager/live-queries/get-all.asciidoc @@ -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`. diff --git a/docs/api/osquery-manager/packs/delete.asciidoc b/docs/api/osquery-manager/packs/delete.asciidoc index e53549f747008..ae0834e6f2b4a 100644 --- a/docs/api/osquery-manager/packs/delete.asciidoc +++ b/docs/api/osquery-manager/packs/delete.asciidoc @@ -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: diff --git a/docs/api/osquery-manager/packs/get-all.asciidoc b/docs/api/osquery-manager/packs/get-all.asciidoc index 2a725b486c510..c0b573e59c69c 100644 --- a/docs/api/osquery-manager/packs/get-all.asciidoc +++ b/docs/api/osquery-manager/packs/get-all.asciidoc @@ -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`. diff --git a/docs/api/osquery-manager/saved-queries/delete.asciidoc b/docs/api/osquery-manager/saved-queries/delete.asciidoc index 4656d717beb95..5518159a1aa1b 100644 --- a/docs/api/osquery-manager/saved-queries/delete.asciidoc +++ b/docs/api/osquery-manager/saved-queries/delete.asciidoc @@ -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: diff --git a/docs/api/osquery-manager/saved-queries/get-all.asciidoc b/docs/api/osquery-manager/saved-queries/get-all.asciidoc index 081fa42fcd61f..8212bf845f8c4 100644 --- a/docs/api/osquery-manager/saved-queries/get-all.asciidoc +++ b/docs/api/osquery-manager/saved-queries/get-all.asciidoc @@ -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`.