API

Sayt sozlamalarini olish

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

Avtorizatsiya

api-token + language + role

So‘rov parametrlari

branch_idintegermajburiy

Misol: 8810

Javoblar

OK

object
statusstringmajburiy

Qiymatlar:successerror

Misol: success

dataobject
filtersobjectmajburiy
branch_idobject (FilterSelectInteger)
valueinteger

Misol: 8920

typestringmajburiy

Misol: select

optionarray of object
valueintegermajburiy

Misol: 8920

namestringmajburiy

Misol: Green Basket | Kaliningrad

modestring (FilterMode)

Interfeys filtrni qanday ishlashini belgilaydi; oddiy filtrda mode mavjud emas. force_shown — doim ko‘rsatiladi, yashirib bo‘lmaydi. value_required — bo‘limga kirish nuqtasi: doim ko‘rsatiladi, bo‘sh qiymatga ega emas (qiymat tanlanmaguncha ro‘yxat bo‘sh; “barchasi” varianti yo‘q), umumiy tozalash uni tozalamaydi.

Qiymatlar:force_shownvalue_required

Misol: value_required

noticestring

Misol: message

yandex_metrikastring

Misol: 314159

listarray of object
idstringmajburiy

Murakkab identifikator: [page]_[platform]_[type]_[section]

Misol: all_site_desktop_head

pagestringmajburiy

Qiymatlar:allaboutfeedbackmainmobidel-trackerpopularrecommendspecial-offersvacancies

Misol: all

platformstringmajburiy

Qiymatlar:allsitesocial-app

Misol: all

typestringmajburiy

Qiymatlar:alldesktopmobile

Misol: all

sectionstringmajburiy

Qiymatlar:headbody

Misol: head

htmlstringmajburiy

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