...
- The API should be RESTful (see here about the REST)
- The API should return the data in the JSON format with the 'Content-Type: application/json' header.
- The API should return the standard HTTP response codes depending on the result. (Example: return '200 OK' after the objects listing, return '201 Created' after the object creation, return '404 Not Found' if the object was not found etc.)
- The API should be aware of the request method (e.g. GET, POST, PUT).
- The JSON response should have the same structure (see below).
...