Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Actionable API Endpoints #2

@rishiosaur

Description

@rishiosaur

The informative endpoints all carry data points, but we also ned 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions