Public API for IQChannels
Base URLs:
chats
checkIfAudioMessagesEnabled
POST /chats/channel/audio_messages_enabled/{channelName}
checkIfAudioMessagesEnabled
Проверка включены ли голосовые сообщения
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_channelChat
POST /chats/channel/chat/{channelName}
chats_channelChat
Информация о чате
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
body | body | schema.ChatInfoInput | false | Принимает одно из следующих значений: 'regular' - общий чат, 'personal_manager' - чат с персональным менеджером. Если не указано, по умолчанию считается как 'regular' |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.Chat |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
getChatSettings
POST /chats/channel/chat/get_settings/{channelName}
getChatSettings
Получение настроек чата
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.SystemChatSettings |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_channelMessages
POST /chats/channel/messages/{channelName}
chats_channelMessages
Получение истории сообщений в чате
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
body | body | schema.ChatMessageQuery | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ChatMessage |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
chats_channelSend
POST /chats/channel/send/{channelName}
chats_channelSend
Отправка сообщения в чат
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
body | body | schema.ChatMessageInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
systemChats_channelSend
POST /chats/channel/system_chats/send/{channelName}
systemChats_channelSend
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
checkOpenTickets
POST /chats/channel/tickets/existing/{channelName}
checkOpenTickets
Получение существующих открытых обращений
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
body | body | schema.CheckOpenTicketsRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.TicketList |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_channelTyping
POST /chats/channel/typing/{channelName}
chats_channelTyping
Отправка уведомления о том, что пользователь печатает сообщение
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
body | body | schema.ChatTypingInput | false | Принимает одно из следующих значений: 'regular' - общий чат, 'personal_manager' - чат с персональным менеджером. Если не указано, по умолчанию считается как 'regular' |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_acceptProduct
POST /chats/messages/accept_product
chats_acceptProduct
Получение услуги
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.AcceptProductRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_declineProduct
POST /chats/messages/decline_product
chats_declineProduct
Отклонить услугу
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.AcceptProductRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_messagesListen
POST /chats/messages/listen
chats_messagesListen
Подтверждение прослушивания сообщений
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | integer | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_messagesRead
POST /chats/messages/read
chats_messagesRead
Подтверждение прочтения сообщений
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | array[integer] | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_messagesReceived
POST /chats/messages/received
chats_messagesReceived
Подтверждение получения сообщений
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | array[integer] | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
chats_Version
POST /chats/version
chats_Version
Получение версии IQChannels
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.Version |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients
clients_anonymousAuth
POST /clients/anonymous/auth
clients_anonymousAuth
Авторизация анонимного клиента
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.Client |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_anonymousCreate
POST /clients/anonymous/create
clients_anonymousCreate
Создание анонимного клиента
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.ClientInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ClientAuth |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_anonymousSignup
POST /clients/anonymous/signup
clients_anonymousSignup
Регистрация анонимного клиента
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.ClientAnonSignup | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ClientAuth |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_auth
POST /clients/auth
clients_auth
Авторизация пользователя по сессии
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.ClientAuthInput | true | Токен внутренний сессии на сервере чата |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ClientAuth |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_integrationAuth
POST /clients/integration_auth
clients_integrationAuth
Авторизация клиента через внешнюю систему. Например, авторизация клиента, информация о котором есть в ДБО или CRM.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.ClientAuthCRMInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ClientAuth |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_integrationAuthInProject
POST /clients/integration_auth_in_project
clients_integrationAuthInProject
Авторизация клиента через внешнюю систему в проекте. Например, авторизация клиента, информация о котором есть в ДБО или CRM.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.ClientAuthCRMInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ClientAuth |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_refresh
POST /clients/integration_refresh
clients_refresh
Актуализация клиента
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.CredentialsRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.Client |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_me
POST /clients/me
clients_me
Информация о текущем клиенте
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.Client |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_online
POST /clients/online
clients_online
Отметить клиента как онлайн
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_signup
POST /clients/signup
clients_signup
Регистрация анонимного пользователя
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.ClientInputName | true | Имя клиента |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ClientAuth |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
clients_signupInProject
POST /clients/signup_in_project
clients_signupInProject
Регистрация анонимного пользователя в проекте
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.ClientInputProject | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ClientAuth |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
files
files_get_uid
POST /files/get/{fileId}
files_get
Ссылка на файл
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
fileId | path | integer | true | File Id |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Файл с правильным Content-Type | string |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
files_image_uid
POST /files/image/{fileId}
files_image
Ссылка на изображение. В отличии от ссылки на файл позволяет получить изображение в уменьшенном размере.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
fileId | path | integer | true | File Id |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Файл с изображением в нужном размере | string |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
files_meta_uid
POST /files/meta/{fileId}
files_meta
Информация о файле
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
fileId | path | integer | true | File Id |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | string |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
files_token_uid
POST /files/token
files_token
Получение токена файла
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.FileTokenRequest | true | Айди файла |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.TokenResponse |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
files_upload_uid
POST /files/upload
files_upload
Загрузка файла
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | string |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
info_requests
ignoreInfoRequest
POST /info_requests/ignore
ignoreInfoRequest
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.RequestIdRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
respondToInfoRequest
POST /info_requests/respond
respondToInfoRequest
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.InfoResponse | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.InfoRequest |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
personal_managers
personal_managers_getMy
POST /personal_managers/get_my
personal_managers_getMy
Информация о персональном менеджере
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Информация о персональном менеджере текущего клиента | schema.PersonalManagerResponse |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
push
push_APNS_uid
POST /push/apns
push_APNS
Регистрация APNs токена
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.PushTokenInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
push_channelAPNS_uid
POST /push/channel/apns/{channelName}
push_channelAPNS
Регистрация APNS пуш-токена
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
body | body | schema.PushTokenInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
push_channelFCM_uid
POST /push/channel/fcm/{channelName}
push_channelFCM
Регистрация GCM/FCM пуш-токена
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
body | body | schema.PushTokenInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
push_userFCM_uid
POST /push/user_fcm
push_userFCM
Регистрация FCM пуш-токена для приложения операторов
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.UserPushTokenInput | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.EmptyResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
ratings
finishPoll_uid
POST /ratings/finish_poll
finishPoll
Завершить опрос
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.FinishRatingPollRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
ignoreRating_uid
POST /ratings/ignore
ignoreRating
Проигнорировать оценку оператора.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.RatingIdRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.Rating |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
queryPoll_uid
POST /ratings/query_poll
queryPoll
Получить опрос
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.QueryRatingPollRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.RatingPollResponse |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
rateRating_uid
POST /ratings/rate
rateRating
Дать оценку оператору
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.RatingRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.Rating |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
sendPoll_uid
POST /ratings/send_poll
sendPoll
Отправить ответ на вопрос из опроса
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | schema.SendRatingPollRequest | true | Тело запроса |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ResponseApi1 |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
sse
sse_chatsChannelEvents
POST /sse/chats/channel/events/{channelName}
sse_chatsChannelEvents
События в чате
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ChatEvent |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
sse_chatsChannelUnread
POST /sse/chats/channel/unread/{channelName}
sse_chatsChannelUnread
Количество непрочитанных сообщений
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | integer |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
widget
widgetGreetings_uid
POST /widget/greetings/{channelName}
widgetGreetings
Получение приветствия
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.GreetingResponse |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
widgetStyles_uid
POST /widget/styles.css
widgetStyles
Получение кастомных стилей для виджета, заданных в IQChannels
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication
ws
ws_chatsChannelEvents
POST /ws/chats/channel/events/{channelName}
ws_chatsChannelEvents
События в чате
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | schema.ChatEvent |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
ws_chatsChannelUnread
POST /ws/chats/channel/unread/{channelName}
ws_chatsChannelUnread
Количество непрочитанных сообщений
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
channelName | path | string | true | Channel name |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | OK | integer |
400 | Bad Request | Bad Request | schema.ResponseApi1 |
404 | Not Found | Not Found | schema.ResponseApi1 |
500 | Internal Server Error | Internal Server Error | schema.ResponseApi1 |
default | Default | none | schema.ResponseApi1 |
This operation does not require authentication