OpenSearch/rest-api-spec/api
Brian Murphy e79b7086de Indexed Scripts/Templates: Add support for storing/deleting/getting scripts/template from an index.
This change allow elasticsearch users to store scripts and templates in an index for use at search time.
Scripts/Templates are stored in the .scripts index. The type of the events is set to the script language.
Templates use the mustache language so their type is be "mustache".
Adds the concept of a script type to calls to the ScriptService types are INDEXED,INLINE,FILE.
If a script type of INDEXED is supplied the script will be attempted to be loaded from the indexed, FILE will
look in the file cache and INLINE will treat the supplied script argument as the literal script.
REST endpoints are provided to do CRUD operations as is a java client library.
All query dsl points have been upgraded to allow passing in of explicit script ids and script file names.
Backwards compatible behavior has been preserved so this shouldn't break any existing querys that expect to
pass in a filename as the script/template name. The ScriptService will check the disk cache before parsing the
script.

Closes #5921 #5637 #5484
2014-07-14 14:37:55 +01:00
..
abort_benchmark.json [SPEC] Renamed benchmark endpoints 2014-04-22 19:14:26 +02:00
benchmark.json [SPEC] Renamed benchmark endpoints 2014-04-22 19:14:26 +02:00
bulk.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cat.aliases.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.allocation.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.count.json [SPEC] Added missing cat endpoints. count and recovery 2014-01-16 22:09:48 +01:00
cat.fielddata.json Fix typo in path specification for /_cat/fielddata 2014-05-09 15:03:51 +02:00
cat.health.json [SPEC] Added missing cat endpoints. count and recovery 2014-01-16 22:09:48 +01:00
cat.help.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.indices.json [SPEC] Added missing cat endpoints. count and recovery 2014-01-16 22:09:48 +01:00
cat.master.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.nodes.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.pending_tasks.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.plugins.json Add _cat/plugins endpoint 2014-03-16 12:16:09 +01:00
cat.recovery.json Recovery API 2014-03-20 10:13:30 -07:00
cat.shards.json [SPEC] Fixed cat.* spec files - were missing the endpoints 2014-01-16 19:43:58 +01:00
cat.thread_pool.json [TEST] Added REST tests for _cat/thread_pool endpoint 2014-02-10 16:20:03 +01:00
clear_scroll.json [SPEC] Added path without scroll_id to clear_scroll 2014-04-22 19:38:55 +02:00
cluster.get_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.health.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.pending_tasks.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.put_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
cluster.reroute.json Add `explain` flag support to the reroute API 2014-02-27 09:48:51 -07:00
cluster.state.json Cluster State API: Remove index template filtering 2014-05-05 14:54:14 +02:00
cluster.stats.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
count.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
count_percolate.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
delete.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
delete_by_query.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
exists.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
explain.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
get.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
get_source.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
index.json Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
indexed_script.create.json Indexed Scripts/Templates: Add support for storing/deleting/getting scripts/template from an index. 2014-07-14 14:37:55 +01:00
indexed_script.delete.json Indexed Scripts/Templates: Add support for storing/deleting/getting scripts/template from an index. 2014-07-14 14:37:55 +01:00
indexed_script.get.json Indexed Scripts/Templates: Add support for storing/deleting/getting scripts/template from an index. 2014-07-14 14:37:55 +01:00
indexed_template.create.json Indexed Scripts/Templates: Add support for storing/deleting/getting scripts/template from an index. 2014-07-14 14:37:55 +01:00
indexed_template.delete.json Indexed Scripts/Templates: Add support for storing/deleting/getting scripts/template from an index. 2014-07-14 14:37:55 +01:00
indexed_template.get.json Indexed Scripts/Templates: Add support for storing/deleting/getting scripts/template from an index. 2014-07-14 14:37:55 +01:00
indices.analyze.json Added char_filters param to indices.analyze spec 2014-05-05 18:07:50 +02:00
indices.clear_cache.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.close.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.create.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_template.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.delete_warmer.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists_template.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.exists_type.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.flush.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_aliases.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_field_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_template.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.get_warmer.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.open.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.optimize.json Add an option to force _optimize operations. 2014-03-14 18:21:56 +01:00
indices.put_alias.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.put_mapping.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.put_settings.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.put_template.json Put index template api: unified PUT/POST behaviour in relation to create parameter 2014-06-06 15:45:05 +02:00
indices.put_warmer.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.recovery.json Recovery API 2014-03-20 10:13:30 -07:00
indices.refresh.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.segments.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.stats.json [API SPEC] Update indicies.stats group param 2014-07-08 11:25:13 -07:00
indices.update_aliases.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
indices.validate_query.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
info.json [SPEC] Separated info.json into info and ping.json (GET vs HEAD) 2014-01-16 17:07:47 +01:00
list_benchmarks.json [SPEC] Renamed benchmark endpoints 2014-04-22 19:14:26 +02:00
mget.json Revert mget yaml test changes 2014-01-27 11:28:32 +01:00
mlt.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
mpercolate.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
msearch.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
mtermvectors.json [SPEC] Renamed termvectors.* to termvector and mtermvectors 2014-01-21 16:31:50 +01:00
nodes.hot_threads.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
nodes.info.json Migrating NodesInfo API to use plugins instead of singular plugin 2014-02-11 10:05:10 +01:00
nodes.shutdown.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
nodes.stats.json Add suggest stats 2014-03-28 11:13:54 +01:00
percolate.json [SPEC] Added the `percolator_format` URL parameter to the "Percolate" API spec 2014-05-23 18:26:17 +02:00
ping.json [SPEC] Fixed bad name in ping.json 2014-01-16 19:54:25 +01:00
scroll.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
search.json Rest-Spec: search was missing the track_scores param 2014-06-12 18:25:20 +02:00
search_shards.json Add REST API spec for /_search_shards endpoint 2014-04-23 13:29:29 -06:00
search_template.json Made template endpoint compatible with search endpoint 2014-04-03 00:01:30 +02:00
snapshot.create.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.create_repository.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.delete.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.delete_repository.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.get.json [SPEC] Fix cardinality of the repository parameter in get snapshot action 2014-01-20 12:56:32 -05:00
snapshot.get_repository.json Added base Request class for read operations that usually happen on the master but can be executed locally. 2014-01-20 12:35:48 +01:00
snapshot.restore.json [SPEC] Various API fixes 2014-01-20 11:14:11 +01:00
snapshot.status.json Add ability to get snapshot status for running snapshots 2014-03-17 20:13:49 -04:00
suggest.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
termvector.json [SPEC] Updated docs URLs to point to master 2014-01-22 14:40:31 +01:00
update.json Switch to Groovy as the default scripting language 2014-06-25 12:15:12 +02:00