Get script contexts API

edit

Retrieves a list of supported script contexts and their methods.

response = client.get_script_context
puts response
GET _script_context

Request

edit

GET _script_context

Prerequisites

edit
  • If the Elasticsearch security features are enabled, you must have the manage cluster privilege to use this API.