Application

获取部署

获取部署

GET /application/v1/workers/{worker_id}/deployments/{deployment_id}

Get one deployment with its status and upload progress; poll this after CreateDeployment until praxis.status is active or failed.

支持状态: supported

参数

名称位置类型必填说明
worker_idpathstringtrueWorker ID (wkr_…).
deployment_idpathstringtrueID from the id of CreateDeployment or ListDeployments, prefixed dep_.

响应

HTTP 200

Success

application/json

名称类型说明
idstringDeployment ID, prefixed dep_.
created_onstringWhen the deployment was created.
sourcestringOrigin: api, sdk, console or rollback.
strategystringRollout strategy.
versionsarray<object>Exactly one version at 100 percent.
versions[].version_idstringDeployed version.
versions[].percentagenumberTraffic share; always 100.
annotationsobjectFree-form annotations.
annotations.workers/messagestringDeployment message.
annotations.workers/triggered_bystringWhat triggered the deployment.
author_emailstring | nullWho created the deployment.
praxisobjectPlatform fields: deployments run asynchronously, so track status, progress and error here.
praxis.worker_idstringOwning Worker.
praxis.statusstringDeployment status: pending (queued), uploading (pushing components and assets), activating (switching traffic), active (serving), superseded (replaced by a later deployment), failed (see error), cancelled (replaced before it finished).
praxis.progressobject | nullUpload progress.
praxis.errorobject | nullWhy the deployment failed.
praxis.finished_onstring | nullWhen the deployment reached a final status.
导出

本页内容