This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 457
Standardise middleware API responses #674
Labels
Comments
16 tasks
karmacoma
added a commit
that referenced
this issue
Nov 12, 2017
Standardise middleware API responses for /node and /peers endpoints - #674
This was referenced Nov 13, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Parent #899
The current Middleware does not implement an standardized API response. It needs to create a better Middleware according to the REST API standards. I suggest to follow http://jsonapi.org . This standard includes for example the possibility to introduce HATEOAS: referencing to another endpoints directly in the response (self link, related entity links, pagination links, etc). It offers to the user an smoothly navigation.
Also, setting this standard will allow us to have several developers working in parallel on same issues, overall the ones related to the API refactoring #457 #225 .
The proposed structure is as follows:
Success
Error
The text was updated successfully, but these errors were encountered: