0% found this document useful (0 votes)
6 views

Test API Documentation

Uploaded by

Kuldeep Kewat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Test API Documentation

Uploaded by

Kuldeep Kewat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

tcid Title Request URL

tc001 Returns all the videos games in the DB http://localhost:8080/app/videogames

tc002 Add a new video game to the DB http://localhost:8080/app/videogames

tc003 Deletes a video game from the DB by ID http://localhost:8080/app/videogames/0

tc004 Returns the details of a single game by ID http://localhost:8080/app/videogames/1

Update an existing video game in the DB


tc005 by specifying a new body http://localhost:8080/app/videogames/1
Http Methods
(GET/POST/PUT/DELETE) Request Body Auth Keys

GET na na

POST { na
"id": 0,
"name": "string",
"releaseDate": "2020-05-17T07:40:00.689Z",
"reviewScore": 0,
"category": "string",
"rating": "string"
}
DELETE na na

GET na na

{
"id": 0,
"name": "string",
"releaseDate": "2020-05-17T07:40:00.690Z",
"reviewScore": 0,
"category": "string",
"rating": "string"
PUT }
Response Validations Bugs

Shoud Display all the Status Code: 200


video games from the DB Content Type: "applicatoin/json"
Status Code: 200
{"status": "Record Added Successfully"} Content Type: "applicatoin/json"

{"status": "Record Deleted Successfully"} Status Code: 200

{ "id": 1, "name": "Resident Evil 4",


"releaseDate": "2005-10-01",
"reviewScore": 85,
"category": "Shooter", "rating":
"Universal" } Status Code: 200

Content Type: "applicatoin/json"

You might also like