Deploy a project build
Deploys a project build to an environment. Use the /api/projects/:id/build
endpoint to build the project first.
Path parameters
id
The ID of the project build to retrieve.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
environment_type
Specifies the deployment environment for the build. Accepted values include the following:
-
sandbox
-
test
-
stage
-
uat
-
preprod
-
prod
title
Title of the build.
description
A brief description of the build.
Response
Success reply
id
Deployment ID.
created_at
Timestamp in ISO 8601 format.
updated_at
Timestamp in ISO 8601 format.
title
Title of the deployment
description
Description of the deployment.
project_build_id
ID of the associated project build.
environment_type
Specifies the deployment environment for the build.
project_id
Project ID.
state
Status of the build.
Allowed values:
performed_by_name
Name of the user who initiated the build.