~muirrum/hackagotchi-backend#1: 
POST Routes

The informative endpoints all carry data points, but we also need endpoints that can be consumed by the frontend that modify or update data.

  • [ ] POST /market/items - Post a new item to the market. This is associated with a user's data.
  • [ ] GET /market/items/{id}/buy - Trigger a 'buy item' request. The headers that are associated with this are the users' information. It sends back a 200 OK along with confirmations that the payment has gone through.
  • [ ] GET /market/items/{id}/remove - Triggers a 'remove item' request. This should authenticate with the user to check if they are indeed the owner of the item.

(taken from github/hackagotchi/backend#2)

Status
REPORTED
Submitter
~muirrum
Assigned to
Submitted
1 year, 10 months ago
Updated
1 year, 10 months ago
Labels
api-route