feat(conversations): align draft message route

This commit is contained in:
2026-06-06 15:22:18 +08:00
parent 18a2cc5e83
commit 495b194411
9 changed files with 281 additions and 25 deletions
+4
View File
@@ -97,6 +97,10 @@ var criticalRoutes = []route{
{Method: "PUT", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/participants", Controller: "api/v1/accounts/conversations/participants#update", Source: "routes.rb:150"},
{Method: "DELETE", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/participants", Controller: "api/v1/accounts/conversations/participants#destroy", Source: "routes.rb:150"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/direct_uploads", Controller: "api/v1/accounts/conversations/direct_uploads#create", Source: "routes.rb:151"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/draft_messages", Controller: "api/v1/accounts/conversations/draft_messages#show", Source: "routes.rb:152"},
{Method: "PATCH", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/draft_messages", Controller: "api/v1/accounts/conversations/draft_messages#update", Source: "routes.rb:152"},
{Method: "PUT", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/draft_messages", Controller: "api/v1/accounts/conversations/draft_messages#update", Source: "routes.rb:152"},
{Method: "DELETE", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/draft_messages", Controller: "api/v1/accounts/conversations/draft_messages#destroy", Source: "routes.rb:152"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/labels", Controller: "api/v1/accounts/conversations/labels#create", Source: "routes.rb:149"},
{Method: "GET", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/labels", Controller: "api/v1/accounts/conversations/labels#index", Source: "routes.rb:149"},
{Method: "POST", Path: "/api/v1/accounts/:account_id/conversations/:conversation_id/toggle_status", Controller: "api/v1/accounts/conversations#toggle_status", Source: "routes.rb:158"},