Upload project files to deploy
Send each file's path and content. The response's uploadId goes into deployApp or inspectSource as source { type: "upload", uploadId }. A single .zip file is taken as the whole project. Up to 3000 files and 50 MB; an upload that no app uses within an hour is deleted.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
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/uploads" \ -H "Content-Type: application/json" \ -d '{ "files": [ { "path": "string", "content": "string" } ] }'{ "uploadId": "ef523ba8-509e-47af-8e2c-5fa751596497", "name": "string", "files": 0, "size": 0}List importable units from a provider, or import one POST
Credentials are used for this call only and never stored. Without projectId the response is a listing of importable units; with projectId it is an import result whose source can be passed straight to deployApp.
Get workspace billing info GET
Next Page