Skip to main content

Questions tagged [hateoas]

Hypermedia As The Engine Of Application State (HATEOAS) is a constraint of the REST application architecture.

0 votes
3 answers
317 views

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 ...
DMJ's user avatar
  • 111
-3 votes
1 answer
159 views

I have a HATEOAS API (in ASP.NET) with an endpoint: POST /api/messages - to create a new message and it returns the location of a new message Now I have a requirement that in some cases based on ...
MarisKs's user avatar
  • 97
1 vote
3 answers
250 views

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 ...
wertzui's user avatar
  • 119
3 votes
3 answers
543 views

Let's say I have a CQRS system where my write model contains the business rules. My read model is simply a DTO; it is a collection of properties and "dumb". Now if you were to create a REST ...
S. ten Brinke's user avatar
-1 votes
2 answers
146 views

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 ...
Richard Robinson's user avatar
0 votes
1 answer
140 views

I have my system which receives data from another service and then I show the data to my users. I'd like to store an ID or a link to the data. Then UI will go for the data using the ID/link. If we ...
Stanislav Bashkyrtsev's user avatar
1 vote
2 answers
261 views

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 ...
Zymus's user avatar
  • 2,553
0 votes
2 answers
116 views

I'm designing a web-app that will use a REST API. What I've never understood is what is REST's equivalent of HTML forms? HTML5 forms have a reasonably rich set of server-provided, declarative controls,...
David Kerr's user avatar
1 vote
2 answers
596 views

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 { ...
Daniel Lopes's user avatar
2 votes
2 answers
429 views

Context Let's say I have the API endpoints /api, /api/accounts and /api/accounts/{id}. As far as I understand, the idea is that a call to /api gives me a list of "base" API calls, among ...
R. Schmitz's user avatar
  • 2,598
2 votes
3 answers
375 views

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 ...
S. ten Brinke's user avatar
1 vote
1 answer
687 views

I am building a REST API which would power a front end as well as other 3rd party apps and hence I want it to be as "standard" as possible. Right now, I am trying to stick to HATEOAS. The ...
Sayak Mukhopadhyay's user avatar
0 votes
3 answers
859 views

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&...
ssougnez's user avatar
  • 135
1 vote
1 answer
592 views

When using routing in a SPA web app (angular, react, etc), the user doesn't have to start at the entry point of the application. They can use a URL in the browser to drill down into any part of the ...
wired_in's user avatar
  • 332
0 votes
1 answer
711 views

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 ...
wired_in's user avatar
  • 332

15 30 50 per page