-
Notifications
You must be signed in to change notification settings - Fork 1
API Documentation for Practice App Yugioh Card
egeek259 edited this page May 11, 2023
·
1 revision
- Endpoint: /api/v1/games/yugiohcard
- Definition: Requests the data for a Yugioh card from a third party API and inserts them into the database
- Query Parameters: None
- Body Data: userEmail:string (it is required) , card_name:string (it is required)
- Example Request Query:
http://localhost:3001/api/v1/games/yugiohcard
- Example Request Body:
{
"card_name" : "Dark Magician" ,
"userEmail" : "[email protected]"
}
- Example Response Body:
{
"status": "success",
"message": "Yugioh card info is inserted to database successfully"
}
- Endpoint: api/v1/games/yugiohcard
- Definition: Returns the information about the cards that are added to the database for the user with email as userEmail
- Query Parameters: userEmail:string(it is required)
- Body Data: None
- Example Request Query:
http://localhost:3001/api/v1/games/[email protected]
- Example Request Body: None
- Example Response Body:
[
{
"card_id": "55144522",
"card_name": "Pot of Greed",
"card_type": "Spell Card",
"user_email": "[email protected]",
"createdAt": "2023-05-11T18:21:50.002Z"
},
{
"card_id": "89943724",
"card_name": "Elemental HERO Neos",
"card_type": "Normal Monster",
"user_email": "[email protected]",
"createdAt": "2023-05-11T18:21:36.646Z"
},
{
"card_id": "46986421",
"card_name": "Dark Magician",
"card_type": "Normal Monster",
"user_email": "[email protected]",
"createdAt": "2023-05-11T18:21:21.411Z"
}
]
Cmpe 352
Cmpe 451
Cmpe 352
Milestone 1
Final Milestone
Milestone 1
Milestone 2
Final Milestone
- Authentication Mockup
- Forum Mockup
- Game Reviews Mockup
- Games Page Mockup
- Group Page Mockup
- Home Page Mockup
- Profile Page Mockup
- Unregistered User Scenario: Sign Up
- Unregistered User Scenario: Search for a Game and Browse the Game Forum
- Registered User Scenario: Create Post in a Game Forum
- Registered User Scenario: Search For Groups and Join A Group
📝 RAM
- Issue Template
- Personal Information Template
- Meeting Note Template
- Contributions Template
- API Documentation Template
API Documentation for Practice App
- Top Games
- Yugioh Card
- Hearthstone Card
- Games By User
- Game Reviews
- Games By Genre
- Games By Category
- Game Suggestions
- Esport Tournaments
- Achievement By Game Id
- Rock Paper Scissors
- Game By Deal