mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
[DOCS] Document missing script APIs (#72175)
Documents the following APIs: * [Delete stored script][0] * [Get stored script][1] * [Get script contexts][2] * [Get script languages][3] [0]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json [1]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json [2]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json [3]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json
This commit is contained in:
parent
2bd1b33d6a
commit
0edb8f4708
6 changed files with 174 additions and 21 deletions
|
@ -0,0 +1,24 @@
|
|||
[[get-script-languages-api]]
|
||||
=== Get script languages API
|
||||
++++
|
||||
<titleabbrev>Get script languages</titleabbrev>
|
||||
++++
|
||||
|
||||
Retrieves a list of supported <<scripting-available-languages,script languages>>
|
||||
and their contexts.
|
||||
|
||||
[source,console]
|
||||
----
|
||||
GET _script_language
|
||||
----
|
||||
|
||||
[[get-script-languages-api-request]]
|
||||
==== {api-request-title}
|
||||
|
||||
`GET _script_language`
|
||||
|
||||
[[get-script-languages-api-prereqs]]
|
||||
==== {api-prereq-title}
|
||||
|
||||
* If the {es} {security-features} are enabled, you must have the `manage`
|
||||
<<privileges-list-cluster,cluster privilege>> to use this API.
|
Loading…
Add table
Add a link
Reference in a new issue