James Rodewig 2021-05-04 11:03:30 -04:00 committed by GitHub
parent 2bd1b33d6a
commit 0edb8f4708
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 174 additions and 21 deletions

View file

@ -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.