Chat
Получить окно сообщений
Changed onРазрешён не более чем один cursor before_seq, after_seq или around_seq; items всегда по seq ASC. q ищет по тексту видимой истории и именам готовых проверенных вложений без изменения прочитанности; удалённые сообщения исключены. Все слова учитываются независимо от регистра, е/ё равнозначны. q нельзя совмещать с around_seq; поиск листается через before_seq или after_seq.
get/api/v1/chat/conversations/{id}/messages
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
id, string uuid required
Query parameters
q, string
До 256 кодовых точек и 16 слов; буквальное сопоставление
before_seq, integer
after_seq, integer
around_seq, integer
limit, integer
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Окно сообщений
Chat Message Page required
items, Chat Message[] required
first_seq, integer
last_seq, integer
Example response
{
"items": [
{
"attachments": [
{
"content_url": "/api/v1/chat/attachments/00000000-0000-0000-0000-000000000001/content"
}
]
}
]
}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