curl --request GET \
--url https://api.example.com/main-menu/buttons \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"text": "<string>",
"action_type": "url",
"action_value": "<string>",
"visibility": "all",
"is_active": true,
"display_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Получение списка кнопок главного меню.
curl --request GET \
--url https://api.example.com/main-menu/buttons \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"text": "<string>",
"action_type": "url",
"action_value": "<string>",
"visibility": "all",
"is_active": true,
"display_order": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"limit": 123,
"offset": 123
}1 <= x <= 200x >= 0