Skip to main content
POST
/
menu-layout
/
buttons
/
{button_id}
/
move-to-row
Move Button To Row
curl --request POST \
  --url http://localhost:8080/menu-layout/buttons/{button_id}/move-to-row \
  --header 'Content-Type: application/json' \
  --data '
{
  "target_row_id": "<string>",
  "position": 1
}
'
{
  "button_id": "<string>",
  "new_row_index": 123,
  "target_row_id": "<string>",
  "position": 123
}

Path Parameters

button_id
string
required

Body

application/json

Запрос на перемещение кнопки в другую строку.

target_row_id
string
required

ID целевой строки

position
integer | null

Позиция в строке (по умолчанию - в конец)

Required range: x >= 0

Response

Successful Response

Ответ на перемещение кнопки.

button_id
string
required
new_row_index
integer | null
target_row_id
string | null
position
integer | null