Edit card goal
Edit Card Goal
API Documentation
Account
- Create account
Card management
- Create flashcard
- Create folder
- Get all cards
- Get flashcard
- Get flashcard item
- Get today cards
- Move flashcard set
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
Edit card goal
Edit Card Goal
Edit an existing card goal for the user.
POST
/
edit-card-goal
curl --request POST \
--url http://dolphinflashcards.com/api/edit-card-goal \
--header 'Content-Type: application/json' \
--data '{
"userID": "123",
"goalID": "goal1",
"newEndDate": "30/07/2024",
"newTitle": "title1",
"newCardsToRevise": "4"
}'
{
"success": "Goal updated successfully"
}
Body
application/json
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url http://dolphinflashcards.com/api/edit-card-goal \
--header 'Content-Type: application/json' \
--data '{
"userID": "123",
"goalID": "goal1",
"newEndDate": "30/07/2024",
"newTitle": "title1",
"newCardsToRevise": "4"
}'
{
"success": "Goal updated successfully"
}