new ConversationController(db)
REST API - Conversation controller. Allows user to manage conversations from client app through REST API.
Parameters:
| Name | Type | Description |
|---|---|---|
db |
Connection |
- Source:
- app/controllers/ConversationController.js, line 11
Methods
-
find(req, res, next)
-
GET /api/conversations/:id For more information see web service documentation.
Parameters:
Name Type Description reqresnext- Source:
- app/controllers/ConversationController.js, line 43
-
findAll(req, res, next)
-
GET /api/conversations For more information see web service documentation.
Parameters:
Name Type Description reqresnext- Source:
- app/controllers/ConversationController.js, line 25
-
update(req, res, next)
-
PUT /api/conversations/:id For more information see web service documentation.
Parameters:
Name Type Description reqresnext- Source:
- app/controllers/ConversationController.js, line 66