v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Add Badges to Quest

post/quests/{quest_id}/badges

Path parameters

quest_idstring required

the quest id

Request body

badge_idsstring[]

List of Badge Ids that should be attached to Quest

Response

200

quest_idstring

Example response

{
  "quest_id": "29eaf205-a0cd-4ce2-bb2a-7e1084165361",
  "quest_badges": [
    {
      "id": "c0dd5ab6-1b51-413e-9c3a-9d34074d5559",
      "url": "http://localhost:8888/api/v1/badges/c0dd5ab6-1b51-413e-9c3a-9d34074d5559/",
      "client_id": "kTytonx4hY0fI1rWrCtwdtacsj21pbuAn3Y4MrNr",
      "name": "My Badge",
      "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"
    }
  ]
}