Knowledge spaces

Создать пространство базы знаний

Changed on

Создатель сразу становится владельцем пространства; без владельца-человека распоряжаться им было бы некому.

post/api/v1/knowledge/spaces

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

KnowledgeSpaceInput required
name, string required
slug, string

Адрес; выводится из названия, когда не задан

description, string
icon, string

Имя иконки Lucide; по умолчанию book-open

business_id, string uuid nullable

Response

Созданное пространство

KnowledgeSpace 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 field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision