API

Get site settings

GET/api/crm/v2/sites_settingsv2
operationId: sitesSettings.default

Authorization

api-token + language + role

Query parameters

branch_idintegerrequired

Example: 8810

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject
filtersobjectrequired
branch_idobject (FilterSelectInteger)
valueinteger

Example: 8920

typestringrequired

Example: select

optionarray of object
valueintegerrequired

Example: 8920

namestringrequired

Example: Green Basket | Kaliningrad

modestring (FilterMode)

How the interface handles the filter; a regular filter does not have mode.
force_shown — always displayed, cannot be hidden.
value_required — entry point to the section: always displayed, cannot have an empty value (until a value is selected, the list is empty; there is no "all" option), global reset does not clear it.

Values:force_shownvalue_required

Example: value_required

noticestring

Example: message

yandex_metrikastring

Example: 314159

listarray of object
idstringrequired

Composite identifier: [page]_[platform]_[type]_[section]

Example: all_site_desktop_head

pagestringrequired

Values:allaboutfeedbackmainmobidel-trackerpopularrecommendspecial-offersvacancies

Example: all

platformstringrequired

Values:allsitesocial-app

Example: all

typestringrequired

Values:alldesktopmobile

Example: all

sectionstringrequired

Values:headbody

Example: head

htmlstringrequired

Example: <meta name='robots' content='index, follow'>