1234567891011121314151617181920212223 |
- [[get-script-contexts-api]]
- === Get script contexts API
- ++++
- <titleabbrev>Get script contexts</titleabbrev>
- ++++
- Retrieves a list of supported script contexts and their methods.
- [source,console]
- ----
- GET _script_context
- ----
- [[get-script-contexts-api-request]]
- ==== {api-request-title}
- `GET _script_context`
- [[get-script-contexts-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.
|