meta { name: Test Repository Connection type: http seq: 3 } post { url: {{baseUrl}}/api/git-repos/1/test body: none auth: none } headers { Accept: application/json Cookie: {{sessionCookie}} } docs { # Test Repository Connection Tests if the repository connection is working correctly by fetching the first 10 commits. ## Response ```json { "success": true, "message": "Repository connection successful!", "details": { "commits": 10, "firstCommit": "abc123d: Add new feature", "provider": "github|gitea|local" } } ``` ## Error Response ```json { "success": false, "error": "Connection failed: ...", "hint": "Check owner/repo/branch settings" } ``` }