Karel Minarik
e541dc14a3
[UTIL] Improve the body argument handling in the Ruby template
2013-06-20 15:12:22 +02:00
Karel Minarik
6e3dd51f94
[UTIL] Added support for required body in Ruby template for code generator
2013-06-20 15:06:49 +02:00
Karel Minarik
059f78e5e6
Fixed: body is required in `indices.put_aliases`
2013-06-20 15:06:20 +02:00
Karel Minarik
aa503acf2d
Fixed: body is not required in `indices.put_alias`
2013-06-20 15:05:37 +02:00
Karel Minarik
92f9f165ea
Added the "Put Aliases" API
2013-06-20 13:05:06 +02:00
Karel Minarik
1dd08750b4
Corrected `timeout` description in the `indices.get_aliases` API
2013-06-20 13:05:06 +02:00
Karel Minarik
b1e8e21fb6
Added, that `index` and `name` are required for `indices.put_alias`
2013-06-20 13:05:06 +02:00
Clinton Gormley
a276671f86
Added timeout param to cluster.node_info
2013-06-20 11:44:02 +02:00
Clinton Gormley
2b91529c98
Added "version" param to delete and update
2013-06-20 11:34:18 +02:00
Karel Minarik
48176a1e85
Revert "Corrected `indices.get_warmer` API (index not required, base path just `/_warmer`)"
...
This reverts commit 9834e49a86c609e0e7dc7e28e0ee94c97eb4628c.
2013-06-20 11:21:19 +02:00
Karel Minarik
79a5dc9ee5
Corrected `indices.get_warmer` API (index not required, base path just `/_warmer`)
2013-06-20 11:04:45 +02:00
Karel Minarik
7d9387452e
Removed `index` and `name` parameters from the "Get Alias" API
2013-06-19 17:53:15 +02:00
Clinton Gormley
d06496b918
In the index API, id should be specified in the URL, not the query string
2013-06-19 15:32:30 +02:00
Karel Minarik
1f33e79345
Clarified the information about utils in the README
2013-06-19 15:12:20 +02:00
Clinton Gormley
b2323afe06
In indices.put_mapping, the type is required
2013-06-19 15:01:46 +02:00
Clinton Gormley
d283afcd63
"fields" is not a valid value for "metric_family"
2013-06-19 12:14:26 +02:00
Karel Minarik
6ac00c757b
Corrected the missing `field` parameter description for `indices.analyze` API
2013-06-18 22:16:52 +02:00
Clinton Gormley
adfac2023f
update_aliases does not accept an index name in the path
2013-06-18 18:56:55 +02:00
Clinton Gormley
f248bc043f
Separated indices.aliases into indices.update_aliases and indices.get_aliases
2013-06-18 18:53:13 +02:00
Karel Minarik
9da2c92388
Added the `cluster.put_settings` API
2013-06-17 18:55:34 +02:00
Karel Minarik
226f4f1d08
Extracted the `cluster.get_settings` API spec from `cluster.settings`
2013-06-17 18:54:25 +02:00
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