GET /api/flashcards/flashcards/:record_idrecord_id (string)📗 200 Success Response
Response Example:
{
"data": [
{
"Record_ID": "1bc81ef4-969c-4b04-a8ed-e7601d0df92a",
"Flashcard_Num": 1,
"Question": "What do Asian people called?",
"Answer": "Yellow monke",
"Date": "2025-04-11T17:05:34.201752",
"Hint": "Yello"
},
{
"Record_ID": "1bc81ef4-969c-4b04-a8ed-e7601d0df92a",
"Flashcard_Num": 2,
"Question": "What do Black people called?",
"Answer": "Nigga",
"Date": "2025-04-11T17:05:51.947445",
"Hint": "N_qq_"
}
]
}
❌ 404 Not Found Response
Response Example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /flashcard/flashcards/1bc81ef4-969c-4b04-a8ed-e7601d0df92a</pre>
</body>
</html>
⚠️ 500 Internal Server Error
Response Example:
{
"error": "invalid input syntax for type uuid: \\"1bc81ef4-969c-4b04-a8ed-e7601d0df92\\""
}