Open lunguyenhat opened 1 year ago
Add a new /preregistration/share2earn/:account (GET) endpoint to get the share2earn.
/preregistration/share2earn/:account
Validations should be returning using 4xx error and a json document:
{ "error": "<specific error>" }
Validations:
preregistration
account
Procedure:
If everything succeeds, return a 201 http code:
{ "result": "share2earn" }
Add a new
/preregistration/share2earn/:account
(GET) endpoint to get the share2earn.Validations should be returning using 4xx error and a json document:
Validations:
preregistration
collection AND in theaccount
collection (it needs to be in both): 404Procedure:
If everything succeeds, return a 201 http code: