deployment

Create a new deployment with the same version as a previous deployment.

Creates a deployment for a previously deployed version.

post/v1/deployments/{deployment_id}/redeploy

Path parameters

deployment_idstring required

The id of the deployment

Response

OK

idstring required

ID of the deployment.

project_namestring required

Project name associated with the deployment.

status'scheduled' | 'skipped' | 'in_progress' | 'failed' | 'deployed' required
deployed_functionsstring[] required

The list of deployed functions.

deploy_start_time_msinteger nullable

Time the Deploy was started (Unix timestamp milliseconds).

deploy_end_time_msinteger nullable

Time the Deploy completed (Unix timestamp milliseconds).

failure_codestring nullable

Failure code (generic_failure | git_clone_failure | not_runloop_repo | secrets_failure | provision_failure | runtime_failure). Only set on deploy_failed.

failure_messagestring nullable

Failure message

deploy_commit_shastring required

Associated Commit Sha

deploy_commit_time_msinteger required

Associated Commit Time

deploy_commit_messagestring required

Associated Commit Message

redeploy_ofstring nullable

ID of original deployment this is redeployment for.

Changes