@@ -317,7 +317,6 @@ func (r *Router) setupRoutes() {
317317 p .Post ("/workspaces/{id}/approvals" , r .handleCreateApproval )
318318 p .Get ("/workspaces/{id}/approvals" , r .handleListApprovals )
319319 p .Get ("/approvals/{id}" , r .handleGetApproval )
320- p .Patch ("/approvals/{id}" , r .handleReviewApproval )
321320
322321 // Agent metrics
323322 p .Get ("/agents/{id}/metrics" , r .handleGetAgentMetrics )
@@ -345,25 +344,8 @@ func (r *Router) setupRoutes() {
345344 p .Get ("/workspaces/{id}/integrations" , r .handleListWorkspaceIntegrations )
346345 p .Delete ("/workspaces/{id}/integrations/{integrationId}" , r .handleUninstallIntegration )
347346
348- // SSO Providers
349- p .Get ("/workspaces/{id}/sso" , r .handleListSSOProviders )
350- p .Post ("/workspaces/{id}/sso" , r .handleCreateSSOProvider )
351- p .Delete ("/sso/{id}" , r .handleDeleteSSOProvider )
352- p .Get ("/sso/discover" , r .handleSSODiscover )
353-
354- // Calls
355- p .Get ("/calls" , r .handleListCalls )
356- p .Get ("/calls/{id}" , r .handleGetCall )
357-
358- // Workflows
359- p .Post ("/workspaces/{id}/workflows" , r .handleCreateWorkflow )
360- p .Get ("/workspaces/{id}/workflows" , r .handleListWorkflows )
361- p .Get ("/workflows/{id}" , r .handleGetWorkflow )
362- p .Patch ("/workflows/{id}" , r .handleUpdateWorkflow )
363- p .Delete ("/workflows/{id}" , r .handleDeleteWorkflow )
364- p .Post ("/workflows/{id}/trigger" , r .handleTriggerWorkflow )
365- p .Get ("/workflows/{id}/runs" , r .handleListWorkflowRuns )
366- p .Get ("/workflow-runs/{id}" , r .handleGetWorkflowRun )
347+
348+
367349
368350 // E2EE
369351 p .Post ("/keys" , r .handleRegisterKey )
@@ -404,18 +386,7 @@ func (r *Router) setupRoutes() {
404386 p .Put ("/agents/{id}/workspace/{itemID}" , r .handleUpdateWorkspaceItem )
405387 p .Delete ("/agents/{id}/workspace/{itemID}" , r .handleDeleteWorkspaceItem )
406388
407- // Reviews
408- p .Post ("/workspaces/{id}/reviews" , r .handleCreateReview )
409- p .Get ("/workspaces/{id}/reviews" , r .handleListReviews )
410- p .Get ("/reviews/{id}" , r .handleGetReview )
411- p .Patch ("/reviews/{id}" , r .handleUpdateReview )
412-
413- // Team templates
414- p .Get ("/workspaces/{id}/templates" , r .handleListTemplates )
415- p .Post ("/workspaces/{id}/templates" , r .handleCreateTemplate )
416- p .Get ("/templates/{id}" , r .handleGetTemplate )
417- p .Delete ("/templates/{id}" , r .handleDeleteTemplate )
418- p .Post ("/templates/{id}/instantiate" , r .handleInstantiateTemplate )
389+
419390
420391 })
421392 })
0 commit comments