hateoas Questions

4

Solved

I was reading an article on HATEOAS and while I understand the idea of providing the URLs for further actions in the response, I don't see where you specify what HTTP verbs should usedto interact w...
Grafton asked 13/11, 2013 at 16:33

3

Solved

I'm in the process of designing a REST api and to be as RESTful as it gets. I want to incorporate HATEOAS into the json responses. Adding URLs to related resources is easy enough, but there ...
Roselynroseman asked 22/10, 2012 at 19:25

2

I have some old code which exposes services on a web API which works basically on HTTP verbs. I'd like to move this project to use hypermedia controls (HATEOAS). I'm wondering if there are any libr...
Stigmatic asked 26/4, 2014 at 8:34

4

Solved

I'm curious to know how others have dealt with the issue of generating hypermedia links for their web APIs? Specifically, I'm using ASP.NET Web API, and am torn between having operations return hyp...
Knighterrant asked 5/9, 2012 at 21:37

2

Solved

I am working on a new asp.net web api restful service and spent some time with some Pluralsight courses on the subject. One of the better ones dives deep into design and the implementation of hyper...
Cementation asked 18/4, 2014 at 15:19

1

Solved

I am trying to create OpenAPI yml documentation file (via swagger). One of my API calls returns a list of resources. Each resources has properties, a self link and a link to an additional link whic...
Felecia asked 1/9, 2017 at 11:50

4

Following HATEOAS principles that each states should be hyperlinked, what is the best way to model links that change resource state? Let's take classical example with orders: { id : 12, state: ...
Thoer asked 8/7, 2013 at 14:32

3

I'm using Spring Data REST and Hateoas in combination with HAL browser. This works perfectly, but now I would like to make a JSON dump of a specific entity with (a set of) its associated objects. I...
Rotz asked 29/6, 2016 at 9:56

1

I'm working on an Angular 4 front-end for an API built by another team. The API follows HATEOAS and provides me with hypermedia links with every single response. I know the shape of the API and I...
Interdigitate asked 25/7, 2017 at 22:46

1

By default when we have a repository with save method exposed we can do a PATCH request. Then Spring Data REST retrieves the original object from the database and apply changes to entity and then s...
Edington asked 31/5, 2017 at 13:13

1

So I'm building a mobile app which will be using a RESTful web service (which I am also writing myself) After lots of research I have a few questions regarding mobile apps and the HATEOAS constrain...
Saldivar asked 25/8, 2014 at 17:0

3

I'm trying to figure out the right way to handle permissions in a single page app that talks directly to several RESTful APIs, that implement HATEOAS. As an example: "As a user of my application ...
Guipure asked 9/7, 2014 at 23:55

2

Solved

I'm having some serious trouble seeing how HATEOAS and Microservices can co-exist. Let's take an example: Let's say we have a shopping cart resource. And we need to put snapshots of products into...
Erine asked 27/3, 2015 at 14:26

2

All the articles and books I read on REST repeat the importance of adding "self" rel links to your hypermedia responses but they're all light on the reasons and use cases. Why should you add a sel...
Landscapist asked 6/1, 2013 at 17:58

1

I'm trying to understand how to create and modify links in Spring HATEOAS. For example, say I have two collections, one at api/users and another at api/event. I would like to associate a user api/...
Repossess asked 9/10, 2014 at 22:29

6

Solved

Does the HATEOAS (hypermedia as the engine of app state) recommendation imply that query strings are not RESTful? Edit: It was suggested below that query strings may not have much to do with state...
Funicular asked 5/1, 2011 at 7:35

2

Solved

I am working with Spring Hateoas for HAL standards in HTTP response. I have a HTTP DELETE method in my controller which returns nothing (void). And in the response for same entity I want to provide...
Onions asked 7/12, 2016 at 12:17

2

I'm interested in using the HATEOAS principle of REST to reduce business logic in a SPA application. In a React-specific context, I'd like to know if there are challenges that make this impractical...
Kerato asked 5/3, 2016 at 20:55

1

I have a restful web service with the support of HATEOAS links. When I call "http://localhost:8080/v1/bookings/1225380?lock=true" link I got following resource URLs. I want to integrate these Hype...
Historiographer asked 26/9, 2016 at 7:13

2

I'm creating a new Jersey 2.21, Jackson 2.6.1 REST server (I tried with Jersey 2.19 and Jackson 2.5.3 as well) and a want to use @InjectLink to provide HATEOAS links (like 'self') for my callers. T...
Reptilian asked 31/8, 2015 at 2:49

4

Solved

I'm struggling with the correct way to implement Spring MVC 3.x RESTful services with HATEOAS. Consider the following constraints: I don't want my domain entities polluted with web/rest construct...
Soccer asked 23/8, 2011 at 20:54

1

Solved

I'm trying to wrap my head around how to (and if to) implement HATEOAS in my api. I like one of the concept of feeding the client only actions that are appropriate in the current situation. However...
Prolusion asked 12/9, 2016 at 19:40

5

Solved

I am trying to get a clear and concise understanding of HATEOAS, and I am by no means an expert WRT REST. (I think I get it though, thanks to this http://www.looah.com/source/view/2284 ). Can anyo...
Doubler asked 8/2, 2012 at 11:44

4

Solved

I have a HATEOAS (HAL) REST service and managed to talk to it with the code below (using halarious as a conversion engine) but when I try to merge the converters (stallone and stallone2), the app w...
Asteria asked 29/10, 2015 at 2:0

2

Solved

I've seen CURIEs described in the HAL specification. At first glance, it looks like a way to provide templating for URIs. However, I also see it prominently mentioned that it can be used to access ...
Churlish asked 26/1, 2015 at 17:2

© 2022 - 2024 — McMap. All rights reserved.