Chat

Получить состояние сессии загрузки чата

Changed on

Возвращает состояние только автору сессии и не раскрывает ключи хранилища.

get/api/v1/chat/upload-sessions/{sessionId}

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

Path parameters

sessionId, string uuid required

Headers

X-Tenant, string required

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

Response

Состояние сессии автора

ChatUploadSession required
id, string uuid required
owner_type, 'conversation' required
owner_id, string uuid
name, string required
mime_type, string required
size_bytes, integer required
sha256, string
status, 'pending' | 'processing' | 'attached' | 'failed' | 'expired' required
failure, string
failure_detail, string
scan_status, 'clean' | 'infected' | 'skipped'
scan_verdict, string
published_ref, string uuid
expires_at, string date-time required
created_at, string date-time required
completed_at, string date-time
upload, ChatUploadInstructions

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

    3 more changes in this revision