Nimbuz API Docs
Nimbuz Public API

Build and run applications from a Git repository or an uploaded archive.


Get a deployment

GET
https://api.nimbuz.tech
/deployment/v1/deployments
Bearer (JWT)

Get a deployment › query Parameters

deploymentId
​string · uuid · required
projectId
​string · uuid · required
environmentId
​string · required

Get a deployment › Responses

The deployment, with build configuration, domains and (decoded) secrets.

Standard success envelope. `status` is `success` or `Success` depending on the service.
status
​string
message
​string
​Deployment

Create a deployment

POST
https://api.nimbuz.tech
/deployment/v1/deployments
Bearer (JWT)

Creates a deployment and starts the first build. The deployment is returned with status: "Pending"; poll Get a deployment to follow it.

gitUrl must use the form https://<host>/<owner>/<repo>.git -b <branch> where host is github.com, gitlab.com or bitbucket.org. Unknown fields are rejected.

Create a deployment › Request Body

name
​string · minLength: 3 · maxLength: 40 · pattern: ^[a-z0-9-]+$ · required
projectId
​string · uuid · required
environmentId
​string · required
​SourceCode · required
​Application · required
​ConfigFile · required

Optional file mounted into the container.

​Network
​object

Environment variables.

​object

Secret environment variables.

​Hpa

Create a deployment › Responses

Deployment created; build queued.

Standard success envelope. `status` is `success` or `Success` depending on the service.
status
​string
message
​string
​Deployment

Delete a deployment

DELETE
https://api.nimbuz.tech
/deployment/v1/deployments
Bearer (JWT)

Delete a deployment › query Parameters

deploymentId
​string · uuid · required
projectId
​string · uuid · required
environmentId
​string · required

Delete a deployment › Responses

Deployment deleted.

Standard success envelope. `status` is `success` or `Success` depending on the service.
status
​string
message
​string
data
​

List deployments

GET
https://api.nimbuz.tech
/deployment/v1/deployments/list
Bearer (JWT)

Lists all deployments in an environment. Not paginated.

List deployments › query Parameters

projectId
​string · uuid · required
environmentId
​string · required

List deployments › Responses

Deployments in the environment.

Standard success envelope. `status` is `success` or `Success` depending on the service.
status
​string
message
​string

Update, start, stop or restart a deployment

PUT
https://api.nimbuz.tech
/deployment/v1/deployments/{deploymentId}
Bearer (JWT)

One endpoint covers configuration changes and lifecycle actions. projectId and environmentId are always required in the body.

GoalBody
Stop (scale to 0, HPA off){"action": "pause", "projectId": "…", "environmentId": "…"}
Start{"action": "resume", "projectId": "…", "environmentId": "…"}
Restart pods{"action": "restart", "projectId": "…", "environmentId": "…"}
Update config / redeployAny create fields to change, e.g. application, environment, sourceCode

Changing sourceCode or build commands triggers a new build. A deploy-only update fails if the deployment has never built successfully.

Update, start, stop or restart a deployment › path Parameters

deploymentId
​string · uuid · required

Update, start, stop or restart a deployment › Request Body

projectId
​string · uuid · required
environmentId
​string · required
action
​string · enum

pause = stop, resume = start, restart = restart pods.

Enum values:
pause
resume
restart
name
​string
​SourceCode
​Application
​Network
​ConfigFile

Optional file mounted into the container.

​object
​object
​Hpa

Update, start, stop or restart a deployment › Responses

Update accepted.

Standard success envelope. `status` is `success` or `Success` depending on the service.
status
​string
message
​string
​Deployment

Stream deployment status (SSE)

GET
https://api.nimbuz.tech
/deployment/v1/live/deployment/stream
Bearer (JWT)

Server-Sent Events stream of deployment status for an environment. See the Streaming guide.

Stream deployment status (SSE) › query Parameters

projectId
​string · uuid · required
environmentId
​string · required
interval
​integer

Push interval in seconds.

Stream deployment status (SSE) › Responses

200

text/event-stream

string