Honza Král
28e5a649b4
[API] remove global parameter source from individual APIs
...
Same way we don't define pretty anywhere, we shouldn't have source
2015-04-29 14:01:47 +02:00
Honza Král
9c0f655674
[API] changed all the links in json specs to the new site
2015-03-24 17:30:32 +01:00
javanna
4e94be8a37
[TEST] Introduce basic validation of our REST spec
...
Whenever we have an api that supports GET with a body, we always support the POST method too, as well as providing the body as a query_string parameter called `source`. Our REST spec should reflect this convention. FIxed them and introduced a hard check at parse time in our Java REST tests runner, which will cause the tests to fail if spec are not compliant.
Closes #9629
2015-02-12 22:25:17 +11:00
Clinton Gormley
6aff2b9f65
Changed all rest-spec definitions of expand_wildcards to be an enum
...
with values: open, closed, none, all
Relates to #9295
2015-01-23 16:05:59 +01:00
Martijn Laarman
006acfe8bf
Added missing percolate API parameters (percolate_routing, percolate_preference) to the REST API Spec
...
Closes #7173
2014-10-28 19:34:34 +01:00
Karel Minarik
0e920c17dd
[SPEC] Added the `percolator_format` URL parameter to the "Percolate" API spec
2014-05-23 18:26:17 +02:00
Boaz Leskes
b7a95d11a7
Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE
...
Also added "external_gt" as an alias name for VersionType.EXTERNAL , accessible for the rest layer.
Closes #4213 , Closes #2946
2014-03-10 21:07:17 +01:00
Clinton Gormley
d70e6c4730
[SPEC] Updated docs URLs to point to master
2014-01-22 14:40:31 +01:00
Martijn van Groningen
9bc3d996ff
[SPECS] Updated percolator specs.
2014-01-20 18:18:27 +01:00
Spencer Alger
71d77d17e1
Updated the documentation urls in the rest api spec.
2014-01-09 14:44:14 -07:00
Karel Minarik
4c0487d005
Added, that `body` is required in "percolate" API
2013-06-22 11:28:14 +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
2490b50ddd
Added the API definition for `_percolate`
2013-05-27 23:03:30 +02:00
Karel Minarik
3a741444bb
[SETUP] Changed, that `parts` and `params` API definitions are sorted alphabetically
2013-05-26 12:20:43 +02:00
Karel Minarik
a55750dd70
[SETUP] Added the generated JSON skeleton files
...
Files were generated with the `thor api:generate:spec --force --verbose --crawl` command,
and based on the 0.90 branch (elasticsearch/elasticsearch@5ec4064 ).
2013-05-24 13:33:06 +02:00