Karel Minarik
1f65454872
Clarified the various endpoints in the `cluster.node_stats` API
2013-06-17 18:50:46 +02:00
Clinton Gormley
ca4d56f6e2
Yet another change to preference - get requests also accept shard/node
2013-06-17 16:58:12 +02:00
Clinton Gormley
5106335a82
Improved the preference description to distinguish get requests from search requests
2013-06-17 16:43:02 +02:00
Clinton Gormley
1ae0752d1a
Corrected the description of the preference parameter
2013-06-17 16:29:50 +02:00
Karel Minarik
faa0ee14bd
[UTIL] Added a source code generator using the JSON API specs
...
The generator is based on [Thor](https://github.com/wycats/thor ),
a library/framework for command line applications.
The generator will read the JSON API spec file(s), and generate
the Ruby source code (one file per API endpoint) with correct
module namespace, method names, and RDoc documentation.
It will generate a test file for each API endpoint as well.
Currently it only generates Ruby source, but can easily be
extended and adapted to generate source code for other
programming languages.
Usage example:
$ thor api:code:generate ../../api-spec/*.json --force --verbose
2013-06-16 23:25:08 +02:00
Karel Minarik
74837bfe86
[UTIL] Moved the JSON spec generator into the `utils` folder
2013-06-16 17:10:42 +02:00
Zachary Tong
fa8cffc6d6
Fix documentation URL for Scroll
2013-06-13 21:06:00 -04:00
Karel Minarik
12c341d9eb
Fixed incorrect `options` property for "cluster.node_stats" and "indices.stats"
2013-06-12 20:39:16 +02:00
Karel Minarik
a8fe8a7bbe
Changed the `nodeID` parameter to `node_id`
2013-06-12 17:52:32 +02:00
Honza Kral
0b747c1a11
Format param for analyze API
2013-06-10 17:30:24 +02:00
Honza Kral
eba4d9e59e
Add doc url for put_template
2013-06-09 21:50:59 +02:00
Honza Kral
6487fb4bd1
Required settings for path parts
2013-06-09 21:17:29 +02:00
Honza Kral
dc67d86af7
put_* apis have required body
2013-06-08 15:34:13 +02:00
Honza Kral
cd01b8dcaa
Put mapping has a body
2013-06-08 15:31:15 +02:00
Honza Kral
7f3a9c582b
Use singular for index and type, index is default for exists methods
2013-06-07 23:24:04 +02:00
Zachary Tong
a3f7d61719
Index is not required for segments
2013-06-07 14:53:03 -04:00
Zachary Tong
c962bb55f3
Index is not required for refresh
2013-06-07 14:50:14 -04:00
Zachary Tong
eb9e90e5c2
Index is required for open
2013-06-07 14:41:02 -04:00
Zachary Tong
fafadd7376
Index is not required for optimize
2013-06-07 14:38:55 -04:00
Honza Kral
ea35a7af1b
Index is not required for flush
2013-06-07 20:23:02 +02:00
Honza Kral
63d6f9907d
Split settings to get_ and set_ methods
2013-06-07 19:44:28 +02:00
Honza Kral
ec9be6a29b
snapshot_index as last of the renames
2013-06-07 19:01:48 +02:00
Honza Kral
7c6f8a0b83
validate_query for consistency
2013-06-07 18:58:34 +02:00
Honza Kral
9a4362e774
Rename api methods to verb_object for consistency
2013-06-07 18:56:11 +02:00
Honza Kral
db7d5b702e
The api is actuall called delete mapping
2013-06-07 18:38:20 +02:00
Honza Kral
0a65ed2688
Revert "Only support one path path for node info"
...
This reverts commit 04134492cc2bc8656512288b0127b4658b739c3e.
We should only support one path but we should still maintain the full
spec in the json file.
2013-06-07 18:38:20 +02:00
Honza Kral
c01c8ba5df
name the scroll endpoint correctly
2013-06-07 18:38:20 +02:00
Karel Minarik
11cac7d57e
Added "alias exists" API
2013-06-07 18:37:37 +02:00
Honza Kral
18a866d011
cluster reroute filter_metadata description
2013-06-04 17:35:22 +02:00
Honza Kral
a8a966435e
Only support one path path for node info
2013-06-04 17:30:01 +02:00
Honza Kral
97f0024374
node_hot_threads descriptions
2013-06-04 17:27:21 +02:00
Honza Kral
73b13a42a4
cluster.node. -> cluster.node_
2013-06-04 17:24:11 +02:00
Honza Kral
ab56dc2cf9
Don't expose operation_threading
2013-06-04 17:15:05 +02:00
Honza Kral
34ace1ff91
Split scroll as separate endpoint
2013-06-04 16:33:24 +02:00
Honza Kral
b8eee37882
Exists as separate endpoint
2013-06-04 13:31:37 +02:00
Honza Kral
c505079bac
Separate endpoint for op_type create
2013-06-04 13:27:25 +02:00
Honza Kral
8a7a955775
Alias -> Aliases
2013-06-04 12:58:05 +02:00
Karel Minarik
712dc3d337
Fixed, that `routing` parameter for the "search" API takes multiple values
...
“The routing parameter can be multi valued represented as a comma separated string. This will result in hitting the relevant shards where the routing values match to.”
--> http://www.elasticsearch.org/guide/reference/api/search/
2013-05-31 11:35:45 +02:00
Karel Minarik
4de673d3b0
[DOC] Improved the example in README and small edits
2013-05-28 10:55:24 +02:00
Karel Minarik
57be0827e9
Improved description for the `prefer_local` parameter in the `_percolate` and `_analyze` APIs
2013-05-28 10:52:44 +02:00
Karel Minarik
60365ff08e
Correct name and small text edits for `_msearch`
2013-05-28 10:49:36 +02:00
Karel Minarik
9f5f984bd9
Corrected the formatting in the `_mlt` API
2013-05-28 10:48:23 +02:00
Karel Minarik
ef96799629
Correct name for the `info` API (root endpoint)
2013-05-28 10:45:10 +02:00
Karel Minarik
bed0635104
Corrected the descriptions in the "create or update warmer" API
2013-05-28 10:44:51 +02:00
Karel Minarik
077fe78963
Corrected the description in the index `_open` API
2013-05-28 10:41:37 +02:00
Karel Minarik
79e54dbe73
Added basic description of the "recycler" parameter in the `_cache/clear` API
2013-05-28 10:38:30 +02:00
Karel Minarik
8b4b7be9c5
Removed the `id` URL parameter in `_explain` API
2013-05-28 10:36:06 +02:00
Karel Minarik
c9ad3658e9
Removed the `index` and `type` URL parameters for the "delete by query" API
2013-05-28 10:35:16 +02:00
Karel Minarik
c1af9236c0
Removed the `id` URL parameter in the delete index API
2013-05-28 10:34:40 +02:00
Karel Minarik
f9bc428491
Removed the `index` and `type` URL parameters for the `_count` API
2013-05-28 10:33:48 +02:00