Earlier quoted context omitted.
Thanks for your feedback. A Few questions/comments. > The "*.json" thing is not standard and breaks HTTP. It's more of a Rails convention and so we just followed it in the docs. Everything works fine without .json using the HTTP Accept header. > "tickets/search" endpoint is not a resource. It's a different projection of the "tickets" collection. It's basic filtering. Rule of thumb is whenever you're about to use a ve…
> I agree. However at this point it just seems a lot more work It's a lot more work for the end user to have to assemble URLs themselves instead of you providing them in the response. Let's say someone does a GET request on /tickets. The response should include URLs for each ticket that gets returned, e.g. something like: { "tickets": [ { "ticket_id": 1337, "url": "/tickets/1337" }, { "ticket_id": 1336, "url": "/tick…
A question about resource discovery using links. In practice, does anyone write web service clients that use, and are driven by, link discovery? It seems to me that in a b2b scenario, an organisation that is going to be investing time and money in developing a client for an api will probably want some documentation to work against.
Also, is there a standard way to make discoverable the http methods that can be applied to a resource?