Adds a custom navigation item with the parameters specified in the request.
Name | Description | Type | Example |
Id
sent in body
|
ID | guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
Label
sent in body
|
Label | string | some text |
Url
sent in body
|
URL | string | some text |
BigImg
sent in body
|
Big image | string | some text |
SmallImg
sent in body
|
Small image | string | some text |
ShowInMenu
sent in body
|
Show in menu or not | Bool value | true |
ShowOnHomePage
sent in body
|
Show on home page or not | Bool value | true |
POST api/2.0/settings/customnavigation/create Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB", "Label": "some text", "Url": "some text", "BigImg": "some text", "SmallImg": "some text", "ShowInMenu": true, "ShowOnHomePage": true }
Custom navigation item
{ "status": 0, "response": { "Id": "9924256A-739C-462b-AF15-E652A3B1B6EB", "Label": "some text", "Url": "some text", "BigImg": "some text", "SmallImg": "some text", "ShowInMenu": true, "ShowOnHomePage": true } }