获取部署状态

Changed on

通过状态 ID 获取部署更新的状态。

使用管理员 API 密钥进行身份验证。

get/project/update-status/{statusId}

Request

  • Base URL
    https://api.mintlify.com/v1
  • Auth
    HTTP bearer

Path parameters

statusIdstring required

已触发的更新的状态 ID。

Response

更新的状态。

_idstring

已触发更新项的状态 ID。

projectIdstring

文档项目的 ID。

createdAtstring

具有指定 UTC 日期时间的 ISODate

endedAtstring

包含指定 UTC 日期时间的 ISODate

status'queued' | 'in_progress' | 'success' | 'failure' | 'skipped'

更新状态。

summarystring

更新状态概览

logsstring[]

一组日志。

subdomainstring

正在更新的文档站点的子域。

screenshotstring

文档截图。

screenshotLightstring

文档截图。

screenshotDarkstring

文档在深色模式下的截图。

source'internal' | 'github-app-installation' | 'api' | 'github' | 'dashboard' | 'gitlab' | 'onboarding'

更新触发器的来源。

Changes

    • warning

      added the new skipped enum value to the status response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    3 more changes in this revision