curl --request GET \ --url https://api.example.com/flashcard/getFlashCardById/{flashcardId} \ --header 'api-key: <api-key>'
Copy
{ "_id": "65f4...", "orgId": "65f1c0f5a2b3c4d5e6f7a8b9", "userId": "user-123", "flashName": "Algebra Concepts", "flashCards": [ { "term": "Variable", "definition": "A symbol that represents an unknown value in an equation" }, { "term": "Coefficient", "definition": "A number that multiplies a variable" } ], "createdAt": "2024-03-12T10:00:00.000Z", "updatedAt": "2024-03-12T10:00:00.000Z"}
Flashcards
Get Flashcard by ID
Retrieve a flashcard set by its ID
GET
/
flashcard
/
getFlashCardById
/
{flashcardId}
Get Flashcard by ID
Copy
curl --request GET \ --url https://api.example.com/flashcard/getFlashCardById/{flashcardId} \ --header 'api-key: <api-key>'
Copy
{ "_id": "65f4...", "orgId": "65f1c0f5a2b3c4d5e6f7a8b9", "userId": "user-123", "flashName": "Algebra Concepts", "flashCards": [ { "term": "Variable", "definition": "A symbol that represents an unknown value in an equation" }, { "term": "Coefficient", "definition": "A number that multiplies a variable" } ], "createdAt": "2024-03-12T10:00:00.000Z", "updatedAt": "2024-03-12T10:00:00.000Z"}
This endpoint retrieves the details of a specific flashcard set using its unique flashcardId. It returns all information about the flashcard set, including its terms, definitions, and metadata. Use this endpoint to fetch flashcard data for study, review, or display in your application.
{ "_id": "65f4...", "orgId": "65f1c0f5a2b3c4d5e6f7a8b9", "userId": "user-123", "flashName": "Algebra Concepts", "flashCards": [ { "term": "Variable", "definition": "A symbol that represents an unknown value in an equation" }, { "term": "Coefficient", "definition": "A number that multiplies a variable" } ], "createdAt": "2024-03-12T10:00:00.000Z", "updatedAt": "2024-03-12T10:00:00.000Z"}
{ "_id": "65f4...", "orgId": "65f1c0f5a2b3c4d5e6f7a8b9", "userId": "user-123", "flashName": "Algebra Concepts", "flashCards": [ { "term": "Variable", "definition": "A symbol that represents an unknown value in an equation" }, { "term": "Coefficient", "definition": "A number that multiplies a variable" } ], "createdAt": "2024-03-12T10:00:00.000Z", "updatedAt": "2024-03-12T10:00:00.000Z"}