Chat

Найти или создать каноническое обсуждение доступного объекта

Changed on

Принимает пустой JSON-объект. Сейчас поддерживается tasks.task; дополнительно нужны chat:read, tasks:read и видимость задачи. Адрес объекта — естественный ключ идемпотентности: повторный и конкурентный запросы сходятся к одному обсуждению. Idempotency-Key не читается.

post/api/v1/chat/entities/{module}/{entity}/{entityId}/conversation

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

module, 'tasks' required
entity, 'task' required
entityId, string uuid required

Headers

X-Tenant, string required

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

Request body

object required

Response

Существующее или созданное обсуждение

ChatEntityConversation required
conversation_id, string uuid required
title, string required
deep_link, string 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