Skip to main content

ConversationController

Base path/api/conversations
ModulePlatform Misc
Endpoints5
OpenAPI tagConversations
Sourcebackend/src/main/java/com/motorph/payroll/controller/ConversationController.java

Endpoints​

MethodPathRequiresHandler
GET/api/conversations/meemployee.messages.viewlistMine()
GET/api/conversations/{id}employee.messages.viewgetById()
GET/api/conversations/{id}/messagesemployee.messages.viewlistMessages()
GET/api/conversations/{id}/messages/cursoremployee.messages.viewlistMessagesCursor()
POST/api/conversations/messagesemployee.messages.viewsendMessage()

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: ConversationService.

Tables reached​

EntityTableTenant-scoped
ChatMessagemessagesYes
ConversationconversationYes
EmployeeemployeeYes
NotificationnotificationsYes
Userusers—

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.