OpenSearch/rest-api-spec/test/get
Adrien Grand 7c698146f5 Rest: Add all meta fields to the top level json document.
Some of our meta fields (such as _id, _version, ...) are returned as top-level
properties of the json document, while other properties (_timestamp, _routing,
...) are returned under `fields`. This commit makes all meta fields returned
as top-level properties.

So eg. `GET test/test/1?fields=_timestamp,foo` would now return

```json
{
   "_index": "test",
   "_type": "test",
   "_id": "1",
   "_version": 1,
   "_timestamp": 10000000,
   "found": true,
   "fields": {
     "foo": [ "bar" ]
   }
}
```

while it used to return

```json
{
   "_index": "test",
   "_type": "test",
   "_id": "1",
   "_version": 1,
   "found": true,
   "fields": {
     "_timestamp": 10000000,
     "foo": [ "bar" ]
   }
}
```
2015-06-04 23:42:17 +02:00
..
10_basic.yaml remove default `_all` for `type` and `index` if these are missing in REST tests 2014-01-09 10:17:42 +01:00
15_default_values.yaml remove default `_all` for `type` and `index` if these are missing in REST tests 2014-01-09 10:17:42 +01:00
20_fields.yaml [TEST] Fix yaml tests after #4542 2014-01-07 16:06:25 +01:00
30_parent.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
40_routing.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
55_parent_with_routing.yaml Rest: Add all meta fields to the top level json document. 2015-06-04 23:42:17 +02:00
60_realtime_refresh.yaml [TEST] Fixed get_source/60_realtime_refresh REST test to work against multiple nodes 2014-02-10 12:32:34 +01:00
70_source_filtering.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
80_missing.yaml Changed the `ignore_missing` client parameter to `ignore: 404` 2013-09-09 23:36:45 +02:00
90_versions.yaml Version types `EXTERNAL` & `EXTERNAL_GTE` test for version equality in read operation & disallow them in the Update API 2014-04-25 23:06:12 +02:00
TODO.txt Added realtime/refresh tests to get 2013-07-01 16:02:38 +02:00