Skip to content

Commit e3f137f

Browse files
committed
Remove content service git operation endpoints
- Removed: /content/github/push, /content/github/abandon, /content/github/diff - Removed: /content/git-create-branch, /content/git-list-branches Agent handles all git operations - content service endpoints no longer needed for manual operations
1 parent 6d3728d commit e3f137f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

components/backend/routes.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ func registerContentRoutes(r *gin.Engine) {
1212
r.GET("/content/file", handlers.ContentRead)
1313
r.GET("/content/list", handlers.ContentList)
1414
r.DELETE("/content/delete", handlers.ContentDelete)
15-
r.POST("/content/github/push", handlers.ContentGitPush)
16-
r.POST("/content/github/abandon", handlers.ContentGitAbandon)
17-
r.GET("/content/github/diff", handlers.ContentGitDiff)
1815
r.GET("/content/git-status", handlers.ContentGitStatus)
1916
r.POST("/content/git-configure-remote", handlers.ContentGitConfigureRemote)
2017
r.GET("/content/workflow-metadata", handlers.ContentWorkflowMetadata)
21-
// Removed: /content/git-pull, /content/git-push, /content/git-sync - agent handles all git operations
22-
r.POST("/content/git-create-branch", handlers.ContentGitCreateBranch)
23-
r.GET("/content/git-list-branches", handlers.ContentGitListBranches)
18+
// Removed: All manual git operation endpoints - agent handles all git operations
19+
// - /content/github/push, /content/github/abandon, /content/github/diff
20+
// - /content/git-pull, /content/git-push, /content/git-sync
21+
// - /content/git-create-branch, /content/git-list-branches
2422
}
2523

2624
func registerRoutes(r *gin.Engine) {

0 commit comments

Comments
 (0)