Knowledge spaces
Получить доступные пространства базы знаний
Changed onЗакрытое пространство видно только его участникам; can_manage считается на сервере по владельцу, а не по модульному праву.
get/api/v1/knowledge/spaces
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Query parameters
include_archived, boolean
Показать архивные пространства
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Видимые пространства
Knowledge Space[] required
id, string uuid required
name, string required
slug, string required
description, string required
icon, string required
sort_order, integer required
is_archived, boolean required
is_restricted, boolean required
Закрытое пространство видно только участникам его списка
can_manage, boolean required
Смотрящий вправе вести пространство; считается сервером по владельцу
business_id, string uuid nullable required
has_cover, boolean required
page_count, integer required
created_by, integer required
created_at, string date-time required
updated_at, string date-time required
is_pinned, boolean required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
reasonto the response with the status
1 more change in this revision
- info