Runs a build for a site. The build will be scheduled to run at the first opportunity, but it might not start immediately if insufficient account build capacity is available.
Files for build can be uploaded as a zipped site using one of these methods:
- Set Content-Type to 'application/zip' and send the zip file as the raw request body
- Set Content-Type to 'multipart/form-data' and include the zip file in the 'zip' field
Query parameters
If no branch is specified, it is treated as a production deploy If a branch IS specified and matches the main branch, it is also production If a branch is specified and doesn't match the main branch, it is a branch deploy
Whether to clear the build cache before building
The build image tag to use for the build
The build template to use for the build
The title of the build
Response
OK
Changes
Changed in 2 of the 50 revisions of this API.511
- ○
added the new optional
queryrequest parameterbranchnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterclear_cachenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterimagenew-optional-request-parameter
- ○
added the new optional
queryrequest parametertemplate_idnew-optional-request-parameter
- ○
added the new optional
queryrequest parametertitlenew-optional-request-parameter
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
- ●
deleted the
queryrequest parameterbranchrequest-parameter-removed
- ●
deleted the
queryrequest parameterclear_cacherequest-parameter-removed
- ●
deleted the
queryrequest parameterimagerequest-parameter-removed
- ●
deleted the
queryrequest parametertemplate_idrequest-parameter-removed
- ●
deleted the
queryrequest parametertitlerequest-parameter-removed
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
removed the non-success response with the status
404response-non-success-status-removed
- ○
removed the non-success response with the status
422response-non-success-status-removed
- ●