We're updating the issue view to help you get more done. 

missing _link from plain json representation

Description

missing _link from plain json representation

to reproduce:

  • create an aggregation. the aggregation link should be included in response.

  • create a relationship

aslo, for bulk writes the response is as follows:

POST /db/coll [ <array> ]

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 { "_results": [ { "_links": { "rh:newdoc": [ { "href": "/data/public/users2/pal@si.com" }, { "href": "/data/public/users2/dev@si.com" }, { "href": "/data/public/users2/art" } ] }, "deleted": 0, "inserted": 3, "matched": 0, "modified": 0 } ], "_warnings": [ "Reserved field _etag was filtered out from the request" ] }

"rh:newdoc" should not be there

with np qparam, _links missing

1 2 3 4 5 6 7 8 [ { "deleted": 0, "inserted": 0, "matched": 3, "modified": 3 } ]

results of aggregation, data should go in _embedded array, not _results

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 { "_embedded": [], "_results": [ { "where": { "places": { "direction": "L'Aquila" } } }, { "where": { "places": { "direction": "Pescara" } } } ], "_returned": 2, "_size": 2, "_total_pages": 1 }

Environment

None

Status

Assignee

Andrea Di Cesare

Reporter

Andrea Di Cesare

Labels

None

Fix versions

Priority

Major