[7.x][DOCS] Fine-tunes the Node.Js client Typescript and examples sections. (#1079)

This commit is contained in:
István Zoltán Szabó
2020-02-03 17:24:28 +01:00
committed by GitHub
parent 2a59c634f7
commit a34c6dd3a7
10 changed files with 64 additions and 27 deletions

View File

@ -1,8 +1,9 @@
[[get_examples]]
== Get
The get API allows to get a typed JSON document from the index based on its id. +
The following example gets a JSON document from an index called `game-of-thrones`, under a type called `_doc`, with id valued `'1'`.
The get API allows to get a typed JSON document from the index based on its id.
The following example gets a JSON document from an index called
`game-of-thrones`, under a type called `_doc`, with id valued `'1'`.
[source,js]
---------