curl --request GET \
--url https://api.mintlify.com/v1/project/update-status/{statusId} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"projectId": "<string>",
"createdAt": "<string>",
"endedAt": "<string>",
"status": "queued",
"summary": "<string>",
"logs": [
"<string>"
],
"subdomain": "<string>",
"screenshot": "<string>",
"screenshotLight": "<string>",
"screenshotDark": "<string>",
"author": "<string>",
"commit": {
"sha": "<string>",
"ref": "<string>",
"message": "<string>",
"filesChanged": {
"added": [
"<string>"
],
"modified": [
"<string>"
],
"removed": [
"<string>"
]
}
},
"source": "internal"
}通过状态 ID 获取更新状态
curl --request GET \
--url https://api.mintlify.com/v1/project/update-status/{statusId} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"projectId": "<string>",
"createdAt": "<string>",
"endedAt": "<string>",
"status": "queued",
"summary": "<string>",
"logs": [
"<string>"
],
"subdomain": "<string>",
"screenshot": "<string>",
"screenshotLight": "<string>",
"screenshotDark": "<string>",
"author": "<string>",
"commit": {
"sha": "<string>",
"ref": "<string>",
"message": "<string>",
"filesChanged": {
"added": [
"<string>"
],
"modified": [
"<string>"
],
"removed": [
"<string>"
]
}
},
"source": "internal"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
已触发的更新的状态 ID。
成功响应
已触发更新项的状态 ID。
文档项目的 ID。
具有指定 UTC 日期时间的 ISODate
包含指定 UTC 日期时间的 ISODate
更新状态。
queued, in_progress, success, failure 更新状态概览
一组日志。
正在更新的文档站点的子域。
文档截图。
文档截图。
文档在深色模式下的截图。
此更新的作者。
更新触发器的来源。
internal, github-app-installation, api, github, dashboard