Skip to main content
POST
/
cabinet
/
admin
/
wheel
/
prizes
/
reorder
Reorder Prizes
curl --request POST \
  --url http://localhost:8080/cabinet/admin/wheel/prizes/reorder \
  --header 'Content-Type: application/json' \
  --data '
{
  "prize_ids": [
    123
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/json

Запрос на переупорядочивание призов.

prize_ids
integer[]
required

Response

Successful Response