Get script contexts Generally available

GET /_script_context

Get a list of supported script contexts and their methods.

Required authorization

  • Cluster privileges: manage

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • contexts array[object] Required
      Hide contexts attributes Show contexts attributes object
      • methods array[object] Required
        Hide methods attributes Show methods attributes object
        • name string Required
        • return_type string Required
        • params array[object] Required
      • name string Required
GET /_script_context
curl \
 --request GET 'http://api.example.com/_script_context' \
 --header "Authorization: $API_KEY"