Start Application
Start a stopped application.Endpoint
Request Body
ID of the application to start
Example Request
Example Response
Stop Application
Stop a running application.Endpoint
Request Body
ID of the application to stop
Example Request
Example Response
Reload Application
Reload the application container configuration without rebuilding.Endpoint
Request Body
ID of the application to reload
Internal application name
Example Request
Example Response
Delete Application
Permanently delete an application and all its resources.Endpoint
Request Body
ID of the application to delete
Example Request
Example Response
Mark Application as Running
Manually mark an application’s status as running.Endpoint
Request Body
ID of the application
Example Request
Move Application
Move an application to a different environment.Endpoint
Request Body
ID of the application to move
ID of the destination environment
Response
Returns the updated application object with the new environment ID.Example Request
Example Response
Refresh Token
Generate a new refresh token for the application.Endpoint
Request Body
ID of the application
Example Request
Example Response
Traefik Configuration
Read Traefik Config
Retrieve the Traefik configuration for an application.Endpoint
Query Parameters
ID of the application
Example Request
Example Response
Update Traefik Config
Update the Traefik configuration for an application.Endpoint
Request Body
ID of the application
New Traefik configuration in YAML format
Example Request
Example Response
Monitoring
Read Application Monitoring
Retrieve monitoring statistics and metrics for an application.Endpoint
Query Parameters
Internal name of the application
This endpoint is only available in self-hosted deployments, not in the cloud version.
Example Request
Example Response
Build Management
Kill Build
Terminate an ongoing build process.Endpoint
Request Body
ID of the application
Example Request
Clean Queues
Clear the deployment queue for an application.Endpoint
Request Body
ID of the application
Example Request
Example Response
Best Practices
Resource Management
-
Set Resource Limits: Always configure memory and CPU limits to prevent resource exhaustion:
- Use Health Checks: Configure health checks to ensure proper application monitoring and automatic recovery.
-
Clean Old Deployments: Regularly use
clearDeploymentsto free up disk space.
Deployment Strategy
- Use Descriptive Titles: Provide meaningful titles and descriptions for deployments to maintain clear audit trails.
- Test Before Production: Use preview deployments or separate environments before deploying to production.
-
Enable Auto Deploy Carefully: Only enable
autoDeployafter thorough testing of your CI/CD pipeline.
Security
-
Protect Secrets: Use
buildSecretsfor sensitive build-time data instead ofbuildArgs. - Use Private Registries: For proprietary applications, always use private Docker registries with authentication.
-
Rotate Tokens: Regularly use the
refreshTokenendpoint to rotate application tokens.
Monitoring
-
Check Status Regularly: Monitor
applicationStatusto detect issues early. -
Use Monitoring Endpoint: Leverage
readAppMonitoringto track resource usage and performance. - Configure Alerts: Set up alerts based on memory and CPU thresholds.
Troubleshooting
Deployment Stuck
If a deployment is stuck inrunning status:
- Check the deployment logs
- Use
killBuildto terminate the build - Use
cleanQueuesto clear the queue - Retry with
redeploy
Application Won’t Start
If an application fails to start:- Check Traefik configuration with
readTraefikConfig - Verify resource limits are not too restrictive
- Check environment variables are properly configured
- Review container logs for errors
Git Provider Issues
If you have Git provider access issues:- Check
hasGitProviderAccessin the application response - Reconnect the Git provider if needed
- Verify webhook configuration in your Git repository
- Ensure the Git provider token hasn’t expired