Chat

Получить закреплённые сообщения чата

Changed on

Возвращаются только действующие закрепления и только из видимой участнику части истории.

get/api/v1/chat/conversations/{id}/pins

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

id, string uuid required

Headers

X-Tenant, string required

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

Response

Действующие закрепления

ChatMessagePinPage required
items, ChatMessagePin[] required

Example response

{
  "items": [
    {
      "message": {
        "attachments": [
          {
            "content_url": "/api/v1/chat/attachments/00000000-0000-0000-0000-000000000001/content"
          }
        ]
      }
    }
  ]
}

Changes

    • info

      added the optional property items/items/message/attachments/items/image_height to the response with the status

    • info

      added the optional property items/items/message/attachments/items/image_width to the response with the status

    • info

      endpoint added