Set of operations available to handle deployments. You can learn more about deployments here.
Gets a deployment status
Gets the deployment status of your upload. Use the UUID of the uploaded sources as the statusId.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectNamestring · requiredThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
statusIdstring · requiredThe UUID of the uploaded sources.
Responses
The request has succeeded.
statusstring · enum · requiredEnum values:SUCCESSERRORIN_PROGRESSExample: SUCCESSurlstring · requiredExample: https://api.zuplo.com/v1/deployments/lime-fox-main-bbe7540stepsobject · requiredbuildResultobject · required
Lists deployments
Lists the deployments for the specified account and project.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectNamestring · requiredThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
Responses
The request has succeeded.
dataobject[] · required
Upload deployment source
Creates a URL for uploading sources.
Request Body
accountNamestring · requiredThe name of the account
Example: my-accountprojectNamestring · requiredThe name of the project
Example: my-projectbranchNamestring · requiredThe name of the branch for deployment
Example: main
Responses
The request has succeeded.
uploadUrlstring · requiredExample: https://storage.googleapis.com/[..]1fac8da132b9
Get a deployment
Gets the specified deployment.
path Parameters
deploymentNamestring · requiredThe name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.
Responses
The request has succeeded.
namestring · requiredThe name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.
Example: lime-fox-main-bbe7540urlstring · requiredExample: https://api.zuplo.com/deployments/lime-fox-main-bbe7540labelstring · requiredExample: mainurlParameterstring · requiredExample: maincreatedOnstring · requiredExample: 2023-07-25T23:41:41.468ZupdatedOnstring · requiredExample: 2023-07-25T23:41:41.468ZloggingIdstring · requiredExample: chocolate_great_buzzard::lime-fox::main::main::bbe7540accountNamestring · requiredExample: chocolate_great_buzzardprojectNamestring · requiredExample: lime-foxstatestring · requiredExample: STARTEDmessagestring · enum · requiredEnum values:Example:branchNamestring · requiredExample: mainenvironmentTypestring · requiredExample: PRODUCTION
Re-deploy a deployment
Re-deploys the specified deployment so that it can pick up new environment variables or other configuration changes.
path Parameters
deploymentNamestring · requiredThe name of the deployment. You can find this in the Zuplo Portal under Settings > Environments.
Responses
The request has succeeded.
statusstring · required