Karel Minarik
4c0487d005
Added, that `body` is required in "percolate" API
2013-06-22 11:28:14 +02:00
Karel Minarik
21d17b8fd8
Added, that `body` is required in "msearch"
2013-06-21 22:35:25 +02:00
Karel Minarik
b471ecad9b
Added, that `body` is required in "mget" API
2013-06-21 18:38:55 +02:00
Karel Minarik
2a85552b6a
Added the `q` URL parameter to the `indices.validate_query` API
2013-06-21 18:02:22 +02:00
Karel Minarik
7bf106ede6
[UTIL] Fixed whitespace in Ruby template for code generator
2013-06-21 16:58:41 +02:00
Karel Minarik
68d3beb8c3
Improved formatting of endpoint in `indices.stats`
2013-06-21 16:58:41 +02:00
Clinton Gormley
7e26a7eb8b
Changed body to be required in update_aliases
2013-06-21 12:44:17 +02:00
Clinton Gormley
6eaccb2a6b
Removed put_aliases as we already have update_aliases.
2013-06-21 12:44:10 +02:00
Karel Minarik
fc97f8349b
Revert cfd49f8: type is required in "indices.put_mapping"
...
Fixed required, fixed the path
2013-06-20 17:07:06 +02:00
Karel Minarik
a30fc0a37a
Fixed: `type` in "indices.put_mapping" is not required
2013-06-20 16:38:52 +02:00
Karel Minarik
c1d2ada564
[UTIL] Set up `params` correctly in the Ruby template
...
When no params are specified in the spec, set `params` to empty Hash.
2013-06-20 15:13:58 +02:00
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