API Documentation
Account
- Create account
- Sign in
Card management
- Create flashcard
- Create folder
- Get all cards
- Get flashcard
- Get flashcard item
- Get today cards
- Move flashcard set
- Search
- Import flashcard
- Import from quizlet
- Import Anki Flashcards
Goals
- Create card goal
- Create xp goal
- Edit card goal
- Create xp goal
- Update goal status
- Delete goal
Statistics
- Calculate streak
- Get heatmap
- Update heatmap
Quests
- Get quests
- Create quest
- Delete quest
- Update quest progress
- Invite to quest
- Update invite status
Update quest progress
Update Quest Progress
Update the progress for the quest and for a user in a quest.
PATCH
/
update-quest-progress
Copy
curl --request PATCH \
--url http://dolphinflashcards.com/api/update-quest-progress \
--header 'Content-Type: application/json' \
--data '{
"jwtToken": "<string>",
"questId": "<string>",
"progress": 123
}'
Copy
{
"message": "Progress updated",
"quest": {
"quest_id": "<string>",
"title": "<string>",
"deadline": "2023-11-07T05:31:56Z",
"quest_type": "<string>",
"quest_sub_type": "<string>",
"quantity": 123,
"progress": 123,
"participants": [
{
"user_id": "<string>",
"status": "<string>",
"progress": 123,
"isOwner": true,
"invited_by": "<string>"
}
]
}
}
Body
application/json
Response
200
application/json
Progress updated.
The response is of type object
.
Copy
curl --request PATCH \
--url http://dolphinflashcards.com/api/update-quest-progress \
--header 'Content-Type: application/json' \
--data '{
"jwtToken": "<string>",
"questId": "<string>",
"progress": 123
}'
Copy
{
"message": "Progress updated",
"quest": {
"quest_id": "<string>",
"title": "<string>",
"deadline": "2023-11-07T05:31:56Z",
"quest_type": "<string>",
"quest_sub_type": "<string>",
"quantity": 123,
"progress": 123,
"participants": [
{
"user_id": "<string>",
"status": "<string>",
"progress": 123,
"isOwner": true,
"invited_by": "<string>"
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.