Follow REST API conventions

Use REST API standards to provide a consistent and easy to use interface for clients.

REST API conventions define specific behavior for each type of method. Use the following guidelines as a starting point for designing your API.

  • GET operations only query data. A GET request should never modify data.
  • POST operations create new records but do not modify existing records.
  • PUT and PATCH operations modify existing records.
  • DELETE operations destroy records.