Get script languages
Get a list of available script types, languages, and contexts.
GET
/_script_language
curl \
-X GET http://api.example.com/_script_language
Response examples (200)
{
"language_contexts": [
{
"contexts": [
"string"
],
"": "painless"
}
],
"types_allowed": [
"string"
]
}