curl --request POST \
--url https://api.icepanel.io/v1/user/goals/{userGoalId}/progress \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"increment": 123
}'
{
"userGoal": {
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "create-comment",
"progress": 1,
"progressData": [
"<string>"
],
"status": "incomplete",
"steps": 2,
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "<string>"
}
}
curl --request POST \
--url https://api.icepanel.io/v1/user/goals/{userGoalId}/progress \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"increment": 123
}'
{
"userGoal": {
"completedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "create-comment",
"progress": 1,
"progressData": [
"<string>"
],
"status": "incomplete",
"steps": 2,
"updatedAt": "2023-11-07T05:31:56Z",
"userId": "<string>"
}
}
OK
The response is of type object
.