Questions tagged [hateoas]
Hypermedia As The Engine Of Application State (HATEOAS) is a constraint of the REST application architecture.
43 questions
0 votes
3 answers
317 views
How does HTML-based HATEOAS apply in applications which also want to expose an external API?
I recently read through Hypermedia Systems, and found its arguments incredibly compelling. The book brought a lot of clarity and structure to ideas and frustrations that have been bouncing around in ...
1 vote
3 answers
250 views
What are the benefits of HATEOAS in programs without user interaction?
Let's assume I have a batch job that needs to print orders. It will do so by getting orders from the order service and send them to the print service. It uses HATEOAS to discover the link from the ...
-1 votes
2 answers
146 views
Best practices for API design for an E-Commerce System
I have a few basic questions on how to implement an API for a basic e-commerce system. The relevant entities are Customer, Puffle, and Review. Each Puffle can have zero or more Reviews. Each Review is ...
1 vote
2 answers
259 views
How does a RESTful client know the proper way of manipulating the state of a resource?
I've read that a key portion of a RESTful interface is that the client doesn't have to know what options are available before they hit the page/access the resource. The client starts with the initial ...
1 vote
2 answers
596 views
Eliminating duplication of validation metadata in client and server
I tried to find some insight in how to handle the duplication of client-side and server-side validation in my app. If, for example, I have an User Entity like this on my back end: type User struct { ...
2 votes
3 answers
375 views
Good ways to prevent client side logic duplication without HATEOAS?
I know HATEOAS can be a bit of a heated topic. Some people like it, some people don't. That is not what I want to discuss. What I want to discuss is what technology other than HATEOAS (or some form of ...
0 votes
3 answers
856 views
Direct link with HATEOAS?
I'm considering HATEOAS for one of my application but for that, I need to be sure that it fits my needs. One of them is the ability to support direct links such as "https://www.webapp.com/user/1&...
0 votes
1 answer
709 views
HATEOAS with Child Resources
Suppose Person has a Car. Car is a separate resource with its own URI. For the sake of this example, assume a person can only have one car. We want to include the Person's Car in the response when ...