REST API Design Guideline: Resource Modeling

Garri Hovhannisyan
garri.hov
Published in
8 min readMay 13, 2019

--

“The key abstraction of information in REST is a resource. Any information that can be named can be a resource: a document or image, a temporal service (e.g. “today’s weather in Los Angeles”), a collection of other resources, a non-virtual object (e.g. a person), and so on.“

Dr. Roy Fielding

Content

Concept

Resources are the core component in any REST API modeling. The other building blocks, namely HTTP verbs, status codes, custom headers and payloads formatting are built on top of it. Modeling API resources in a right granularity level is a key aspect. It is crucial to maintain balance between fine grained chatty versus very…

--

--

Garri Hovhannisyan
garri.hov

Principal Software Architect at Nuance Communications