James Rodewig 2021-05-04 11:03:30 -04:00 committed by GitHub
parent 2bd1b33d6a
commit 0edb8f4708
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 174 additions and 21 deletions

View file

@ -0,0 +1,23 @@
[[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.