mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
29 lines
638 B
Text
29 lines
638 B
Text
[[get-script-contexts-api]]
|
|
=== Get script contexts API
|
|
++++
|
|
<titleabbrev>Get script contexts</titleabbrev>
|
|
++++
|
|
|
|
.New API reference
|
|
[sidebar]
|
|
--
|
|
For the most up-to-date API details, refer to {api-es}/group/endpoint-script[Script APIs].
|
|
--
|
|
|
|
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.
|