Skip to main content
POST
/
menu-layout
/
buttons
/
swap
Swap Buttons
curl --request POST \
  --url http://localhost:8080/menu-layout/buttons/swap \
  --header 'Content-Type: application/json' \
  --data '
{
  "button_id_1": "<string>",
  "button_id_2": "<string>"
}
'
{
  "button_1": {},
  "button_2": {}
}

Body

application/json

Запрос на обмен местами двух кнопок.

button_id_1
string
required

ID первой кнопки

button_id_2
string
required

ID второй кнопки

Response

Successful Response

Ответ на обмен кнопок.

button_1
Button 1 · object
required
button_2
Button 2 · object
required