elasticsearch/docs/reference/scripting/apis/get-script-contexts-api.asciidoc

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.