Selaa lähdekoodia

[DOCS] Update SQL REST API pages for new structure (#50690)

#43007 restructured the SQL REST API docs so they display across several pages.

This updates up a reference that assumes a single page in the "Paginating through a large response" section. It also reformats a tip for the Kibana console.

Closes #50688
James Rodewig 5 vuotta sitten
vanhempi
commit
a5b6242aa5
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      docs/reference/sql/endpoints/rest.asciidoc

+ 6 - 2
docs/reference/sql/endpoints/rest.asciidoc

@@ -42,12 +42,15 @@ James S.A. Corey |Leviathan Wakes     |561            |2011-06-02T00:00:00.000Z
 // TESTRESPONSE[non_json]
 
 [[sql-kibana-console]]
+[TIP]
 .Using Kibana Console
+====
 If you are using {kibana-ref}/console-kibana.html[Kibana Console]
 (which is highly recommended), take advantage of the
 triple quotes `"""` when creating the query. This not only automatically escapes double
 quotes (`"`) inside the query string but also support multi-line as shown below:
 image:images/sql/rest/console-triple-quotes.png[]
+====
 
 [[sql-rest-format]]
 === Response Data Formats
@@ -270,8 +273,9 @@ cursor: "sDXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAAEWWWdrRlVfSS1TbDYtcW9lc1FJNmlYdw==:BAFmB
 [[sql-pagination]]
 === Paginating through a large response
 
-Using the example above, one can continue to the next page by sending back the `cursor` field. In
-case of text format the cursor is returned as `Cursor` http header.
+Using the example from the <<sql-rest-format,previous section>>, one can
+continue to the next page by sending back the cursor field. In case of text
+format, the cursor is returned as `Cursor` http header.
 
 [source,console]
 --------------------------------------------------