v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Missions

Partial Update

Update a subset of properties of a mission

patch/public/api/missions/{id}

Path parameters

idstring required

The id of the mission

Headers

Acceptstring

e.g. application/json

Request body

Example request

{
  "score": {
    "title": "my other score",
    "value": 20
  },
  "answers": [
    {
      "question_id": "e8335f8d-109d-475f-b10b-113ce6876dc7",
      "answer": 3
    },
    {
      "question_type": "text",
      "question": "ice-cream flavors",
      "answer": [
        "chocolate",
        "vanilla",
        "strawberry"
      ],
      "page_number": 1
    }
  ]
}

Response

OK