Skip to content

Commit

Permalink
Merge pull request #57 from DINA-Web/cgendreau-api-isolation
Browse files Browse the repository at this point in the history
Added API Isolation section
  • Loading branch information
cgendreau authored Jun 23, 2020
2 parents e430ecf + 0c27db6 commit eb096bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DINA-Web-API-Guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ However, it some circumstances web api wrappers may be used where appropriate.

DINA REST API standard - Specification
======================================

API Isolation
-----
An API **SHOULD** only serve what its responsible for and avoid calling another API to supplement data. The caller of the API is responsible for aggregating the data from different API responses. The goal is to keep the system simple and flexible by avoiding a cascade of calls from a single API call by the client. This is also valid for data mutations since distributed transaction are not supported.

Adheres to the JSON API -specification
------
Expand Down

0 comments on commit eb096bc

Please sign in to comment.