Posts

Showing posts from March, 2018

Rest API Design Reference

REST stands for Representational State Transfer. It is an architectural style for developing software. Architectural Constraints REST defines 6 architectural constraints which make any web service – a true RESTful API. Uniform interface Client–server Stateless Cacheable Layered system Code on demand Uniform interface Uniform interface suggests that the resource in a system to have only one logical URI and  Then provide additional information to retrieve the related data. For instance we can provide Links for related resources like child objects, parent objects etc. User of one API end point should be able to identify and work similarly with other Resources. Also, the resource representations across system should follow certain guidelines such as naming conventions, link formats or data format, filter formats pagination formats etc. All resources should be accessible in similar way and should use similar status codes. Client–server Server should not depend on previ