fix: correct API path for listing application deployments#120
fix: correct API path for listing application deployments#120StuMason merged 1 commit intoStuMason:mainfrom
Conversation
The `listApplicationDeployments` method was using the path
`/applications/{uuid}/deployments` which returns 404. The correct
Coolify API path per the OpenAPI spec (operationId:
`list-deployments-by-app-uuid`) is `/deployments/applications/{uuid}`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #120 +/- ##
=======================================
Coverage 91.33% 91.33%
=======================================
Files 1 1
Lines 404 404
Branches 111 111
=======================================
Hits 369 369
Misses 6 6
Partials 29 29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Claude finished @StuMason's task in 2m 28s —— View job • Endpoint Audit & Documentation Update CompleteHow Was This Bug Missed?The incorrect endpoint path (
Endpoint Audit ResultsI audited all 70+ endpoints in
Documentation UpdateI've updated
| |
Summary
listApplicationDeploymentsusing wrong API path/applications/{uuid}/deployments(returns 404)/deployments/applications/{uuid}per the Coolify OpenAPI spec (operationId: list-deployments-by-app-uuid, line 4166 indocs/coolify-openapi.yaml)How to reproduce
The correct Coolify v4 endpoint is
GET /api/v1/deployments/applications/{uuid}(with optionalskipandtakequery params), notGET /api/v1/applications/{uuid}/deployments.Test plan
coolify-client.test.tsto expect correct URL