aesirxio / web3-id-preregistration-backend

Backend for the pre-registration and share2earn of web3 id
GNU General Public License v3.0
0 stars 3 forks source link

Step 4.a #25

Open lunguyenhat opened 1 year ago

lunguyenhat commented 1 year ago

Add a new /preregistration/share2earn/:account (GET) endpoint to get the share2earn.

Validations should be returning using 4xx error and a json document:

{
   "error": "<specific error>"
}

Validations:

Procedure:

If everything succeeds, return a 201 http code:

{
   "result": "share2earn"
}