API-ReferenzEndpointsDeploys
Redeploy an app (refresh code + roll pods)
Authorization
cloady AuthorizationBearer <token>
Personal API token (cldy_…)
In: header
Path Parameters
workspaceSlug*string
appSlug*string
Query Parameters
env?string
Value in
- "production"
- "preview"
- "development"
region?string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/apps/string/redeploy"{ "app": { "slug": "string", "env": "production", "name": "string", "namespace": "string", "status": "deploying", "uptime": "string", "region": "string", "subServices": [ { "name": "string", "image": "string", "role": "web", "port": 0, "status": "deploying", "limits": { "cpu": 0, "memory": 0 }, "volumes": [ "string" ], "function": true, "logFormat": "access" } ], "endpoints": [ { "component": "string", "url": "string", "protocol": "http", "port": 0, "custom": true } ], "limits": { "cpu": 0, "memory": 0, "storage": 0 }, "scale": { "cpu": 0.5, "memory": 0.5, "volumes": { "property1": 1, "property2": 1 } }, "source": { "type": "git", "repoUrl": "string", "branch": "string", "subdir": "string", "autoDeploy": true, "branchTracking": { "mode": "off", "pattern": "string" }, "profiles": [ "string" ] }, "type": "shared" }}Get an app's status page GET
Returns the address of the app's public status page and what it shows: one component per compose service with its state, its uptime and 60 daily bars, and the incidents of the last 14 days. Availability is measured once a minute from replica readiness and, for the service the app's address routes to, the uptime check. Every app has the page, and anyone with the address can read it.
Roll an app back to a previous deploy's image POST
Needs a running, build-backed app whose target image is still in the registry. Restarts every service in the instance, database included.