Practice App Postman Results - bounswe/bounswe2022group7 GitHub Wiki

This page contains the usage of our practice app API endpoints with Postman.

Create Art Item (Can Atakan Uğur)

POST requests to /api/art_item

  • Success, status code: 201
Screen Shot 2022-05-18 at 16 48 20
  • Error, status code: 400
Screen Shot 2022-05-18 at 16 47 56
  • Error, status code: 409 (trying to create same art item again)
Screen Shot 2022-05-18 at 16 49 01
View Art Item (Can Atakan Uğur)

GET requests to /api/art_item/<art_item_id>

  • Success, status code: 200
Screen Shot 2022-05-18 at 16 18 34
  • Error, status code: 404
Screen Shot 2022-05-18 at 16 22 12
Create Event (Cahid Arda Öz)

image

View Event (Cahid Arda Öz)

image

View Event Participants (Erim Erkin Doğan) resim
Get Share Link For Event (Erim Erkin Doğan) resim
Add Participant to Event (Erim Erkin Doğan) resim
Remove Participant from Event (Erim Erkin Doğan) resim
Create Copyright Report (Ali Can Milani)

POST requests to /api/copyright

Success, status code: 201

Error, status code: 400

Error, status code: 404

View Copyright Report (Ali Can Milani)

GET requests to /api/copyright/<report_id>

Success, status code: 200

Error, status code: 404

Remove Reported Art Item (Ali Can Milani)

DELETE requests to /api/copyright

Success, status code: 200

Error, status code: 400

Error, status code: 404

Home (Cahid Arda Öz)

image

Wikipedia Search (Atilla Türkmen)

168970877-7b6e266a-44db-4d9e-bd91-9688beeff538

View Profile (Atilla Türkmen)

168999213-3b0952e3-370e-4e22-ba8a-53ffee3eb291

Create Comment under the Discussion Forum Post(Aziza Mankenova)

POST requests to /api/forum_comment_post

  • Success, status code: 201

image

  • Error, status code: 400

image

  • Error, status code: 401 (unauthorized)

image

View Forum Post with comments(Aziza Mankenova)

GET requests to /api/get_discussion_post/<post_id>

  • Success, status code: 200

image image

  • Error, status code: 404

image

Request Verification (Musa Şimşek)

POST requests to /api/verification/request

Success, status code: 201

Screenshot (8)

Error, status code: 409 (There is a pending request)

Screenshot (9)

Error, status code: 409 (The user is already verified)

Screenshot (15)

View Verification Request (Musa Şimşek)

GET requests to /api/verification/<request_id>

Success, status code: 201

Screenshot (10)

Error, status code: 404 (No request with this id is available)

Screenshot (17)

Review Verification Request (Musa Şimşek)

POST requests to /api/verification/review/<request_id>

Success, status code: 201

Screenshot (14)

Error, status code: 404(No request with this id is available)

Screenshot (18)

⚠️ **GitHub.com Fallback** ⚠️