The Apps API lets you deploy containers, manage environments, scale replicas, view logs, and perform rollbacks.
List Apps
Response:
Create an App
Application name (used for subdomain)
Source type: image, git, or upload
Docker image URL (required for image source type)
Git repository URL (required for git source type)
Git branch to deploy (default: main)
Build command for git/upload sources
Port the application listens on
Number of replicas (default: 1)
Environment variables as key-value pairs
Marketplace template ID for one-click deploys
Image-Based Deploy
Git-Based Deploy
Get an App
Update an App
Update configuration, scaling, or environment:
Delete an App
Removes the app and all associated Kubernetes resources (Deployment, Service, Ingress, ConfigMap).
Deploy / Redeploy
Trigger a new deployment:
For image-based apps, this pulls the latest version of the image. For git-based apps, this rebuilds from the latest commit.
Restart
Restart all pods without redeploying:
Build from Source
Upload source code as a tarball and trigger a build:
App Status
Get runtime status including ready replicas and pod phases:
Logs
Tail application logs from running pods:
Build Logs
View build output for git/upload deployments:
Metrics
Get CPU, memory, disk, and network metrics:
Deployment History
List all deployments:
Rollback
Revert to a previous deployment:
Pods
List running pods for the app:
Events
List Kubernetes events:
Audit Log
View all actions performed on the app: