API ReferenceEndpointsApplications
Transfer an app to another workspace
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/apps/string/transfer" \ -H "Content-Type: application/json" \ -d '{ "targetWorkspaceSlug": "string" }'{ "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", "autoUpdate": true, "branchTracking": { "mode": "off", "pattern": "string" }, "profiles": [ "string" ] }, "type": "shared", "blocked": "string" }, "targetWorkspaceSlug": "string"}Trigger a new deployment for an app POST
Previous Page
Read a service's CPU, memory and traffic GET
Returns a service's CPU, memory and network over the range, read from the platform's own scrape, beside what the workspace has used this month toward the free tier's limits. It's what Monitor shows for an app on the free tier, and it answers on every plan. `serviceName` is a compose service.