Chat
Получить временный адрес скачивания вложения чата
Changed onПовторно проверяет доступ к видимой части беседы и выдаёт подписанный адрес на 15 минут. Если хранилище не поддерживает подпись, direct=false и адрес ведёт в авторизованный API.
get/api/v1/chat/attachments/{attachmentId}/download-session
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
attachmentId, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Временный адрес
Chat Attachment Download Session required
url, string required
Подписанный абсолютный URL при direct=true; иначе авторизованный относительный путь API.
direct, boolean required
true — адрес хранилища открывается без Authorization.
expires_at, string date-time required
scan_status, 'clean' | 'skipped' 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
fieldto the response with the status
5 more changes in this revision
- info