
api design - What are best practices for REST nested resources?
IMHO this is the best and shortest answer, along with @Long Nguyen citing Microsoft learning resources. You don't have to decide to use nested or non-nested design for your whole life, …
rest - API pagination best practices - Stack Overflow
Dec 14, 2012 · I'd love some some help handling a strange edge case with a paginated API I'm building. Like many APIs, this one paginates large results. If you query /foos, you'll get 100 …
rest - RESTful API design best practices - Stack Overflow
I am current writing an API layer for my project, and am struggling with trying to figure out a good design approach for the following scenario: All users have a list of books Each list can be acce...
RESTful API routes design: nested vs. non-nested
Aug 27, 2016 · I think of REST APIs as a way to access resources, and that way to access the resources should be as easy as possible. Pick which ever makes more sense for your …
Best practices for REST-API models - Stack Overflow
Nov 18, 2015 · I am working on a REST-API and have run into an architectural problem. The model 'Book' represents a single book with properties and CRUD-based functions. It loads …
Best Practices for incoming and outgoing DTOs - Stack Overflow
Sep 25, 2019 · I'm facing an API design issue. Consider the following flow: As you can see, I have 2 classes to represent my model (SomethingDTO and SomethingResponse) and 2 classes to …
'Best' practice for restful POST response - Stack Overflow
Oct 5, 2013 · Returning the new object fits with the REST principle of "Uniform Interface - Manipulation of resources through representations." The complete object is the representation …
Is there any standard for JSON API response format?
Do standards or best practices exist for structuring JSON responses from an API? Obviously, every application's data is different, so that much I'm not concerned with, but rather the "response
RESTful API design - best practices for passing dates
Nov 28, 2011 · What is the best practice for sharing dates in an API? Is it best to share dates with an SQL-like datetime format - 'YYY-MM-DD HH:MM:SS' with an optional timezone embedded …
REST API DESIGN - Getting a resource through REST with different ...
Dec 5, 2013 · 160 I have a question related to REST URL design. I found some relevant posts here Different RESTful representations of the same resource and here RESTful url to GET …