Данные кэшей группы пользователей (groups_caches)
Содержание
Запросы
HTTP verb | Endpoint | Описание |
---|---|---|
|
|
Получение списка объектов с данными кэшей пользовательских групп |
|
|
Получение списка объектов с данными кэшей пользовательских групп
Запрос
Имя | Тип | Описание |
---|---|---|
|
|
Фильтр по значениям полей. |
|
|
Список полей для вывода. Доступные поля для выдачи: id, direct_parents, direct_children, direct_users, direct_roles, deep_parents, deep_children, deep_users, deep_roles. |
|
|
Смещение в списке ресурсов, подлежащих выдаче. |
|
|
Максимальное количество ресурсов в списке. |
|
|
Порядок сортировки ресурсов в списке. |
|
|
Преобразование в плоский вид составных полей. |
Пример запроса
GET /rest/v1/domain/groups_caches?offset=0&limit=4 HTTP/1.1
Ответ
Описание полей: group_caches entity
Пример ответа
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[
{
"deep_children": [],
"deep_parents": [
"65413330-0180-2d08-e626-7cd30a921f58",
"ebf06e52-0180-2d4d-87d1-7cd30a921f58"
],
"deep_roles": [
"aaarole",
"ccc2role",
"cccrole",
"dddrole"
],
"deep_users": [
"00000001-1234-1234-1234-123412341234"
],
"direct_children": [],
"direct_parents": [
"65413330-0180-2d08-e626-7cd30a921f58",
"ebf06e52-0180-2d4d-87d1-7cd30a921f58"
],
"direct_roles": [
"aaarole"
],
"direct_users": [
"00000001-1234-1234-1234-123412341234"
],
"id": "0c355641-0180-2cf1-71fb-7cd30a921f58"
},
{
"deep_children": [
"0c355641-0180-2cf1-71fb-7cd30a921f58",
"c1c6b5b7-0180-2cf2-397d-7cd30a921f58"
],
"deep_parents": [
"ebf06e52-0180-2d4d-87d1-7cd30a921f58"
],
"deep_roles": [
"ccc2role",
"cccrole",
"dddrole"
],
"deep_users": [
"00000001-1234-1234-1234-123412341234",
"00000002-1234-1234-1234-123412341234",
"00000003-1234-1234-1234-123412341234"
],
"direct_children": [
"0c355641-0180-2cf1-71fb-7cd30a921f58",
"c1c6b5b7-0180-2cf2-397d-7cd30a921f58"
],
"direct_parents": [
"ebf06e52-0180-2d4d-87d1-7cd30a921f58"
],
"direct_roles": [
"ccc2role",
"cccrole"
],
"direct_users": [
"00000003-1234-1234-1234-123412341234"
],
"id": "65413330-0180-2d08-e626-7cd30a921f58"
},
{
"deep_children": [],
"deep_parents": [
"65413330-0180-2d08-e626-7cd30a921f58",
"ebf06e52-0180-2d4d-87d1-7cd30a921f58"
],
"deep_roles": [
"bbb2role",
"bbbrole",
"ccc2role",
"cccrole",
"dddrole"
],
"deep_users": [
"00000002-1234-1234-1234-123412341234"
],
"direct_children": [],
"direct_parents": [
"65413330-0180-2d08-e626-7cd30a921f58"
],
"direct_roles": [
"bbb2role",
"bbbrole"
],
"direct_users": [
"00000002-1234-1234-1234-123412341234"
],
"id": "c1c6b5b7-0180-2cf2-397d-7cd30a921f58"
},
{
"deep_children": [
"0c355641-0180-2cf1-71fb-7cd30a921f58",
"65413330-0180-2d08-e626-7cd30a921f58",
"c1c6b5b7-0180-2cf2-397d-7cd30a921f58"
],
"deep_parents": [],
"deep_roles": [
"dddrole"
],
"deep_users": [
"00000001-1234-1234-1234-123412341234",
"00000002-1234-1234-1234-123412341234",
"00000003-1234-1234-1234-123412341234"
],
"direct_children": [
"0c355641-0180-2cf1-71fb-7cd30a921f58",
"65413330-0180-2d08-e626-7cd30a921f58"
],
"direct_parents": [],
"direct_roles": [
"dddrole"
],
"direct_users": [],
"id": "ebf06e52-0180-2d4d-87d1-7cd30a921f58"
}
]
Получение объекта данных кэшей пользовательских групп
Запрос
Имя | Тип | Описание |
---|---|---|
|
|
Список полей для вывода. |
|
|
Преобразование в плоский вид составных полей. |
Пример запроса
GET /rest/v1/domain/groups_caches/0c355641-0180-2cf1-71fb-7cd30a921f58 HTTP/1.1
Ответ
Описание полей: group_caches entity
Пример ответа
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"id": "0c355641-0180-2cf1-71fb-7cd30a921f58",
"direct_children": [],
"direct_parents": [
"65413330-0180-2d08-e626-7cd30a921f58",
"ebf06e52-0180-2d4d-87d1-7cd30a921f58"
],
"direct_roles": [
"aaarole"
],
"direct_users": [
"00000001-1234-1234-1234-123412341234"
],
"deep_children": [],
"deep_parents": [
"65413330-0180-2d08-e626-7cd30a921f58",
"ebf06e52-0180-2d4d-87d1-7cd30a921f58"
],
"deep_roles": [
"aaarole",
"ccc2role",
"cccrole",
"dddrole"
],
"deep_users": [
"00000001-1234-1234-1234-123412341234"
]
}