mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
Documents the following APIs: * [Delete stored script][0] * [Get stored script][1] * [Get script contexts][2] * [Get script languages][3] [0]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json [1]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json [2]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_context.json [3]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/get_script_languages.json
40 lines
1,001 B
Text
40 lines
1,001 B
Text
[[script-apis]]
|
|
== Script APIs
|
|
|
|
Use the following APIs to manage, store, and test your
|
|
<<modules-scripting,scripts>>.
|
|
|
|
[discrete]
|
|
[[script-support-apis]]
|
|
=== Script support APIs
|
|
|
|
Use the script support APIs to get a list of supported script contexts and
|
|
languages.
|
|
|
|
* <<get-script-contexts-api>>
|
|
* <<get-script-languages-api>>
|
|
|
|
[discrete]
|
|
[[stored-script-apis]]
|
|
=== Stored script APIs
|
|
|
|
Use the stored script APIs to manage <<script-stored-scripts,stored scripts>> and
|
|
<<search-template,search templates>>.
|
|
|
|
* <<create-stored-script-api>>
|
|
* <<get-stored-script-api>>
|
|
* <<delete-stored-script-api>>
|
|
|
|
[discrete]
|
|
[[painless-apis]]
|
|
=== Painless APIs
|
|
|
|
Use the {painless}/painless-execute-api.html[Painless execute API] to safely
|
|
test Painless scripts before using them in production.
|
|
|
|
|
|
include::create-stored-script-api.asciidoc[]
|
|
include::delete-stored-script-api.asciidoc[]
|
|
include::get-script-contexts-api.asciidoc[]
|
|
include::get-script-languages-api.asciidoc[]
|
|
include::get-stored-script-api.asciidoc[]
|