Open TarjMecwan opened 1 month ago
Search Catalog with Filter
curl -X 'GET' \ 'https://redx-brri.onrender.com/catalog/search/?genre=Co-op&rating=E10&avg_review=4&sort_col=release_date&sort_order=desc' \ -H 'accept: application/json'
[ { "sku": "it_takes_two_0", "name": "IT TAKES TWO", "publisher": "Hazelight Studios", "price": 21, "genre": "Co-op", "platform": "PC", "avg_review": NOT YET REVIEWED, "rating": "E10", "release_date": "2021-03-26" } ]
Add Game to Cart with Quantity
curl -X 'POST' \ 'https://redx-brri.onrender.com/carts/9/items/overcooked_0?quantity=3' \ -H 'accept: application/json' \ -H 'access_token: redx' \ -d ''
View Account Reviews
curl -X 'GET' \ 'https://redx-brri.onrender.com/accounts/23/reviews' \ -H 'accept: application/json' \ -H 'access_token: redx'
{ { "sku": "gyat_iv_0", "name": "GYAT IV", "publisher": "Emans Recipes", "price": 100, "genre": "Adventure", "platform": "PC", "avg_review": -1, "rating": "A0", "release_date": "2023-07-18" }, { "sku": "banana_bread_battle_0", "name": "BANANA BREAD BAKING BATTLE ROYALE", "publisher": "Yeast Entertainment", "price": 25, "genre": "Shooter", "platform": "Nintendo", "avg_review": -1, "rating": "E10", "release_date": "2024-03-14" } }
New Test Cases
Search Catalog with Filter
Request
Response
[ { "sku": "it_takes_two_0", "name": "IT TAKES TWO", "publisher": "Hazelight Studios", "price": 21, "genre": "Co-op", "platform": "PC", "avg_review": NOT YET REVIEWED, "rating": "E10", "release_date": "2021-03-26" } ]
Add Game to Cart with Quantity
Request
Response
View Account Reviews
Request
Response
{ { "sku": "gyat_iv_0", "name": "GYAT IV", "publisher": "Emans Recipes", "price": 100, "genre": "Adventure", "platform": "PC", "avg_review": -1, "rating": "A0", "release_date": "2023-07-18" }, { "sku": "banana_bread_battle_0", "name": "BANANA BREAD BAKING BATTLE ROYALE", "publisher": "Yeast Entertainment", "price": 25, "genre": "Shooter", "platform": "Nintendo", "avg_review": -1, "rating": "E10", "release_date": "2024-03-14" } }
Testing Results Summary