Get script languages

GET /_script_language

Get a list of available script types, languages, and contexts.

Responses

GET /_script_language
curl \
 -X GET http://api.example.com/_script_language
Response examples (200)
{
  "language_contexts": [
    {
      "contexts": [
        "string"
      ],
      "": "painless"
    }
  ],
  "types_allowed": [
    "string"
  ]
}