release operations
Read recent local operation facts and verified cloud Release state for an owned Project
语法
joyihub release operations参数
选项
属性
类型
示例
joyihub release operations --project project-id --path . --limit 20响应示例
{
"items": [
{
"cli_version": "source-revision",
"cloud_state": "available",
"created_at": "2026-11-03T00:00:00Z",
"local": {
"outcome": "completed",
"recorded_at": "2026-11-03T00:01:00Z",
"stage": "complete"
},
"operation_key": "saved-operation-key",
"record": "record-identity",
"recorded_at": "2026-11-03T00:01:00Z",
"release": {
"id": "release-id",
"is_current": false,
"published_at": null,
"status": "ready",
"version": "1.2.3",
"visibility": "private"
},
"release_id": "release-id"
}
],
"latest_error": null,
"next_cursor": null,
"project_id": "project-id"
}返回字段
属性
类型
错误码
NOT_AUTHENTICATED · Exit 3
本机没有有效 CLI 登录凭据
{
"error": {
"code": "NOT_AUTHENTICATED",
"message": "本机没有有效 CLI 登录凭据"
}
}UNAUTHORIZED · Exit 3
服务端拒绝无效、过期或已撤销的凭据;重新登录后恢复任务
{
"error": {
"code": "UNAUTHORIZED",
"message": "服务端拒绝无效、过期或已撤销的凭据;重新登录后恢复任务"
}
}FORBIDDEN · Exit 3
当前账号缺少服务端权限
{
"error": {
"code": "FORBIDDEN",
"message": "当前账号缺少服务端权限"
}
}CLIENT_TOO_OLD · Exit 4
服务端明确拒绝低于最低支持版本的客户端;使用 joyihub update 更新
{
"error": {
"code": "CLIENT_TOO_OLD",
"message": "服务端明确拒绝低于最低支持版本的客户端;使用 joyihub update 更新"
}
}USAGE_ERROR · Exit 2
参数、取值或本地输入不合法
{
"error": {
"code": "USAGE_ERROR",
"message": "参数、取值或本地输入不合法"
}
}OPERATION_HISTORY_LIMIT · Exit 2
单次本地目录检查上限4096,不删除恢复键
{
"error": {
"code": "OPERATION_HISTORY_LIMIT",
"message": "单次本地目录检查上限4096,不删除恢复键"
}
}