Richardson maturity model
The Richardson maturity model (RMM) was developed by Leonard Richardson. Commonly referred to as RMM, it is used to upgrade the standard of your API.
Level 0
This is your traditional soap-based web service or the XML-RPC service. It uses HTTP, but it has one method and one URI. This method is usually POST
and will return a heavy dataset. I am sure all of us have worked with this type of web service or might encounter it at some point. The entire database as a dataset is wrapped in this output.
Level 1
Resources are exposed, but you still have an HTTP method. If you are at Level 0, then changing your web service to return a resource will take you from level 0 to level 1. You still have one HTTP method, but when your method is invoked, your service will pass back a resource:
Request: POST diet/ate Response diet/ate/12789 Request: POST diet/ate Response: diet/ate/99000
There is one endpoint diet/ate
still, it returns many...