curl --request PATCH \
--url http://dolphinflashcards.com/api/update-quest-progress \
--header 'Content-Type: application/json' \
--data '{
"jwtToken": "<string>",
"questId": "<string>",
"progress": 123
}'
{
"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>"
}
]
}
}
Update the progress for the quest and for a user in a quest.
curl --request PATCH \
--url http://dolphinflashcards.com/api/update-quest-progress \
--header 'Content-Type: application/json' \
--data '{
"jwtToken": "<string>",
"questId": "<string>",
"progress": 123
}'
{
"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>"
}
]
}
}
Progress updated.
The response is of type object
.