-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/BE-38: Bidding System #371
Conversation
Btw, 403 error message for |
I realize you required authentication even for |
"bought_by": {
"id": 2,
"username": "use1r2222d22222222222",
"profile_path": "avatar/default.png"
} Tested the APIs with Postman, everything seems ok. Thanks for the efforts. Approved. (We may update |
Yes, after our discussions about bidding system in the meetings, we landed on max bid not being visible to users. So only the owner of the art item will be able to see all the bids on item. Other than that owner and the buyer can reach a specific bid via id. |
Sorry 😈 @KarahanS Thank you for the review and updates. I am merging the PR. |
Created Bid model and updated ArtItem and User models accordingly.
Created 2 endpoints with 5 APIs in total.

Added new_bid_flag to user, that will be set to true when one of user's art items gets bid on, and it will be set to false when user visits their own profile (after being sent as true).
Possible sale status for art item are;
Possible responses for a bid are;
Created detailed swagger documentation for APIs.
:8000/api/v1/swagger/schema/
Tested through Postman, Admin site and swagger.