예제 #1
0
// CreateConversation creates a new conversation in the Organization
//
// POST /orgs/:org/conversations
//
func (c *OrganizationsController) CreateConversation(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #2
0
// ListPublicConversations returns all conversations that are marked as public in the Organization.
//
// GET /orgs/:org/public_conversations
//
func (c *OrganizationsController) ListPublicConversations(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #3
0
// DeleteDevice removes a client device from the authenticated users' account
//
// DELETE /devices/:id
//
func (c *DevicesController) DeleteDevice(ctx *gin.Context) {
	_ = ctx.MustGet("device")
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #4
0
// DeleteMessage deletes a message from a Conversation
//
// DELETE /conversations/:conversation_id/messages/:message_id
//
func (c *MessagesController) DeleteMessage(ctx *gin.Context) {
	_ = ctx.MustGet("conversation")
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #5
0
// RemoveIntegration removes a conversation's integration
//
// DELETE /conversations/:id/integrations/:integration_name
//
func (c *ConversationsController) RemoveIntegration(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #6
0
// AddDevice registers a new client device to the authenticated user
//
// POST /devices
//
func (c *DevicesController) AddDevice(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #7
0
// AddPulse pulses the current user in the conversation so we can track activity
//
// POST /conversations/:id/pulses
//
func (c *ConversationsController) AddPulse(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #8
0
// RemoveParticipant removes user as a participant from this conversation
//
// DELETE /conversations/:id/participants/:username
//
func (c *ConversationsController) RemoveParticipant(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #9
0
// ListSnippets lists all conversation snippets
//
// GET /conversations/:id/snippets
//
func (c *ConversationsController) ListSnippets(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #10
0
// DeleteConversation method deletes permanently a specificconversation
//
// DELETE /conversations/:id
//
func (c *ConversationsController) DeleteConversation(ctx *gin.Context) {
	helpers.JSONResponseNotImplemented(ctx)
}
예제 #11
0
파일: user.go 프로젝트: messagedb/messagedb
// ListMyConversations lists the conversations that the authenticated user participates in
//
// GET /user/conversations
//
func (c *UsersController) ListMyConversations(ctx *gin.Context) {
	// TODO: implement this
	helpers.JSONResponseNotImplemented(ctx)
}