Прикрепить файл к странице базы знаний
Changed onФайл до 25 МБ телом запроса; крупнее — сессией knowledgeCreateAssetUploadSession. До прикрепления файл проверяет антивирус — 422 transfer.infected, 503 transfer.scanner_unavailable. Идентификатор из ответа ставится в текст страницы разметкой [[file:id|имя]] или [[image:id|имя]] при сохранении редакции.
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
Path parameters
UUID страницы базы знаний
Headers
Slug выбранного кабинета; кабинет не является юрлицом
Request body multipart/form-data
Response
Прикреплённый файл
Разбор файла для индекса: pending, processing, ready, failed или unsupported
Вердикт антивируса. В поисковый разбор идёт только clean; skipped — файл антивирус не проверял
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
fieldto the response with the status
11 more changes in this revision
- info