Hi,<div>While I was playing with scaffolding and tried to build a simple Blog Application with Aerogear I faced the current situation :</div><div>I have a <b>Post</b> object which contains many <b>Comment</b> objects. Now I want to call my Post pipe to retrieve the related comments, I have currently 2 options :</div>
<div><b><br></b></div><div><b>/posts/1</b> -> assuming comments will be implicitly retrieved (eager loading)</div><div><b>/comments/?postid=1</b></div><div><br></div><div>But regarding our model the correct form should be : </div>
<div><br></div><div><b>/posts/1/comments</b></div><div><b><br></b></div><div>But, AFAIK, with the current API, it is not possible to define this last pattern (at least for JS and iOs, confirmed by Matzew). When doing a <b>read </b>we can pass an <b>id </b>option but as mentioned in the doc, this id will always be append to the endpoint.</div>
<div><br></div><div>IMO, we should be able to support this pattern but for now I'm not really sure how to specify this in our API, so if you have any ideas feedback this thread has been made for you ! </div><div><br></div>
<div>Seb</div><div> </div>