v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Claim User Quest Badge

patch/user-quests/{quest_id}/badges

Path parameters

quest_idstring required

Request body

claim_badgesstring[]

list of badges that should be awarded to user for completing the Quest

Response

201

user_quest_idstring

Example response

{
  "user_quest_id": "fa1e61e9-6211-4943-ae10-8a5e4a0eaaa0",
  "claimed_badges": [
    {
      "id": "c0dd5ab6-1b51-413e-9c3a-9d34074d5559",
      "url": "http://localhost:8888/api/v1/badges/c0dd5ab6-1b51-413e-9c3a-9d34074d5559/",
      "client_id": "kTytonx4hY0fI1rWrCtwdtacsj21pbuAn3Y4MrNr",
      "name": "Badge 4",
      "description": "desc",
      "badge_icon_url": "/media/assets/9828393d-fabe-4540-b8ce-70e8230c7f85.jpg",
      "mimetype": "application/octet-stream",
      "file": "http://localhost:8888/media/assets/9828393d-fabe-4540-b8ce-70e8230c7f85.jpg"
    }
  ]
}