StuMason/coolify-mcp
TypeScript
Pull Request Opened
PR #120 opened: fix: correct API path for listing application deployments
Summary
- Fixed
listApplicationDeploymentsusing wrong API path/applications/{uuid}/deployments(returns 404) - Changed to correct path
/deployments/applications/{uuid}per the Coolify OpenAPI spec (operationId: list-deployments-by-app-uuid, line 4166 indocs/coolify-openapi.yaml) - Updated corresponding test assertion
How to reproduce
// This returns 404 with the current code:
const deployments = await client.listApplicationDeployments('your-app-uuid');
The correct Coolify v4 endpoint is GET /api/v1/deployments/applications/{uuid} (with optional skip and take query params), not GET /api/v1/applications/{uuid}/deployments.
Test plan
- Updated test in
coolify-client.test.tsto expect correct URL - All 200 tests pass
- Verified against live Coolify v4 instance (the correct path returns deployment history, the old path returns 404)
+2
additions
-2
deletions
2
files changed