v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Update User Quest Task Progress

post/user-quest-task-progress/

Request body

user_quest_task_idstring required

the user quest task that the progress will be updated for

custom_incrementstring

this can be used in place of the default progress increment set on the Quest Task

custom_progressstring

this can be used to override the tasks overall progress

Response

201

idstring
{"stackTrail":"paths:/user-quest-task-progress/:post:responses:201:content:application/json:schema:properties:custom_increment","oasType":"schema","type":"unknown"}
custom_progressinteger

Example response

{
  "id": "7deab8c4-9f61-4069-b466-ce12c0fbf196",
  "custom_progress": 2,
  "user_quest_task": {
    "id": "608bb3d3-b01a-4fdf-94bc-c5f586d357fa",
    "user_quest_id": "c5883afe-202b-46e7-a986-f31650cc2f6f",
    "created_at": "2022-06-29T22:42:00.574641Z",
    "completed_at": "2022-07-01T17:12:41.408526Z",
    "status": "completed",
    "progress": 2,
    "quest_task": {
      "id": "9cd49174-492e-4feb-b57f-aa81d7de8d79",
      "name": "Send 5 emails",
      "description": "send 5 emails to complete this quest.",
      "quest_id": "0b3727a9-01c7-489b-88b5-bd189720bd45",
      "target_value": 5,
      "default_progress_increment": 1,
      "created_at": "2022-06-29T22:41:42.892227Z"
    }
  }
}