feat(crm): align shared attachment payloads
This commit is contained in:
@@ -1004,9 +1004,10 @@ func registerV1Routes(g *gin.RouterGroup, h *Handlers) {
|
||||
contacts.DELETE("/:contact_id", h.Contact.Delete)
|
||||
contacts.DELETE("/:contact_id/avatar", h.Contact.DeleteAvatar)
|
||||
|
||||
// M4 G3: Contact extension routes (active, export, import, contactable_inboxes, custom_attributes)
|
||||
// M4 G3: Contact extension routes (active, export, import, contactable_inboxes, attachments, custom_attributes)
|
||||
contacts.GET("/:contact_id/conversations", h.Contact.ListConversations)
|
||||
contacts.GET("/:contact_id/contactable_inboxes", h.Contact.ContactableInboxes)
|
||||
contacts.GET("/:contact_id/attachments", h.Contact.ListAttachments)
|
||||
contacts.GET("/:contact_id/labels", h.Contact.ListLabels)
|
||||
contacts.GET("/:contact_id/labels/", h.Contact.ListLabels)
|
||||
contacts.POST("/:contact_id/labels", h.Contact.UpdateLabels)
|
||||
|
||||
Reference in New Issue
Block a user