Получить объект всех схем политик
Отдает объект всех схем политик
Request
GET
https://corp.browser.yandex.ru/browser/public/api/browser-management/policySchemas
Responses
200 OK
OK
Body
application/json
{
"schema": {},
"groupName": "string",
"features": {
"canBeMandatory": false,
"canBeRecommended": false
},
"platforms": {
"android": false,
"windows": false,
"linux": false,
"macOS": false,
"ios": false
},
"example": {},
"caption": "string",
"desc": "string",
"items": [
{
"caption": "string",
"name": "string",
"value": 0
}
]
}
|
Name |
Description |
|
example* |
Type: object Can be anything: string, number, array, object, etc., including |
|
features* |
Type: PolicyFeatures |
|
platforms* |
Type: Platforms Объект платформ, на которых поддерживается политика |
|
schema* |
Type: object JSONSchema7 |
|
caption |
Type: string Короткое описание |
|
desc |
Type: string Описание |
|
groupName |
Type: string Имя группы политики |
|
items |
Type: PolicySchemaItem[] |
PolicyFeatures
|
Name |
Description |
|
canBeMandatory* |
Type: boolean Есть ли у политики опция быть обязательной |
|
canBeRecommended* |
Type: boolean Есть ли у политики опция быть рекомендованной |
Platforms
Объект платформ, на которых поддерживается политика
|
Name |
Description |
|
android* |
Type: boolean Android |
|
ios* |
Type: boolean IOS |
|
linux* |
Type: boolean Linux |
|
macOS* |
Type: boolean MacOS |
|
windows* |
Type: boolean Windows |
PolicySchemaItem
|
Name |
Description |
|
caption* |
Type: string |
|
name* |
Type: string |
|
value* |
Type: number or boolean or string |
No longer supported, please use an alternative and newer version.