You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Something we will follow:

  • for unknown attributes in the request, we will throw an error with a whole list of all of them

  • for all the response, we prefer HATEOAS, such as: return resource link in the response of create/update/delete; add resource url for sub resources(region/indexes)

  • http status code: 201 and 409 for create, 204 and 404 for delete,  200 and 404 for put to update

  • camelCase is for all the key in the request and response body
  • No labels