mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
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
23 lines
511 B
Text
23 lines
511 B
Text
[[get-script-contexts-api]]
|
|
=== Get script contexts API
|
|
++++
|
|
<titleabbrev>Get script contexts</titleabbrev>
|
|
++++
|
|
|
|
Retrieves a list of supported script contexts and their methods.
|
|
|
|
[source,console]
|
|
----
|
|
GET _script_context
|
|
----
|
|
|
|
[[get-script-contexts-api-request]]
|
|
==== {api-request-title}
|
|
|
|
`GET _script_context`
|
|
|
|
[[get-script-contexts-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.
|