获取命名空间发布单列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
sae:ListNamespaceChangeOrders |
get |
*全部资源
|
无 | 无 |
请求语法
GET /pop/v1/sam/changeorder/listNamespaceChangeOrders HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NamespaceId |
string |
是 |
命名空间 ID。 |
cn-shanghai:test |
| CoStatus |
string |
否 |
发布单状态。取值说明如下:
|
2 |
| CoType |
string |
否 |
发布单类型。取值说明如下:
|
CoBatchStartApplication |
| Key |
string |
否 |
发布单描述信息模糊查询(包含此 key 的都会返回)。 |
test |
| CurrentPage |
integer |
否 |
当前页。 |
1 |
| PageSize |
integer |
否 |
分页大小。 |
20 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回数据。 |
||
| RequestId |
string |
请求 ID。 |
0bc3915638507554994370d**** |
| ErrorCode |
string |
错误码。取值说明如下:
|
|
| Success |
boolean |
获取发布单列表是否成功。取值说明如下:
|
true |
| Code |
string |
接口状态或 POP 错误码。取值说明如下:
|
200 |
| Message |
string |
调用结果的附加信息。 |
success |
| TraceId |
string |
调用链 ID,用于精确查询调用信息。 |
0bc3915638507554994370d**** |
| Data |
object |
返回结果。 |
|
| CurrentPage |
integer |
当前分页。 |
1 |
| PageSize |
integer |
分页大小。 |
20 |
| TotalSize |
integer |
变更单总数。 |
32 |
| ChangeOrderList |
array<object> |
发布单列表。 |
|
|
object |
发布单列表数据。 |
||
| Status |
integer |
发布单状态。取值说明如下:
|
2 |
| FinishTime |
string |
结束时间。 |
2019-07-11 20:12:58 |
| NamespaceId |
string |
命名空间 ID。 |
cn-shanghai:test |
| CreateTime |
string |
创建时间。 |
2019-07-11 15:54:49 |
| UserId |
string |
用户 ID。 |
test_sae |
| Source |
string |
变更单操作入口来源。 |
console |
| CreateUserId |
string |
创建用户 ID。 |
test@aliyun.com |
| BatchCount |
integer |
分批数。 |
1 |
| CoTypeCode |
string |
发布单类型 Code。取值说明如下:
|
CoBatchStartApplication |
| ChangeOrderId |
string |
发布单 ID。 |
7fa5c0-9ebb-4bb4-b383-1f885447**** |
| BatchType |
string |
分批类型。 |
|
| Description |
string |
发布单描述信息。 |
Batch Start Applications |
| GroupId |
string |
分组 ID。 |
c9ecd2-cf6c-46c3-9f20-525de202**** |
| CoType |
string |
发布单类型,是对 CoTypeCode 的描述。 |
msg.docker.app.actions.CoBatchStartApplication |
| Pipelines |
string |
变更流水线。 |
xxxx |
示例
正常返回示例
JSON格式
{
"RequestId": "0bc3915638507554994370d****",
"ErrorCode": "",
"Success": true,
"Code": "200",
"Message": "success",
"TraceId": "0bc3915638507554994370d****",
"Data": {
"CurrentPage": 1,
"PageSize": 20,
"TotalSize": 32,
"ChangeOrderList": [
{
"Status": 2,
"FinishTime": "2019-07-11 20:12:58",
"NamespaceId": "cn-shanghai:test",
"CreateTime": "2019-07-11 15:54:49",
"UserId": "test_sae",
"Source": "console",
"CreateUserId": "test@aliyun.com",
"BatchCount": 1,
"CoTypeCode": "CoBatchStartApplication",
"ChangeOrderId": "7fa5c0-9ebb-4bb4-b383-1f885447****",
"BatchType": "",
"Description": "Batch Start Applications",
"GroupId": "c9ecd2-cf6c-46c3-9f20-525de202****",
"CoType": "msg.docker.app.actions.CoBatchStartApplication",
"Pipelines": "xxxx"
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Resouce.no.permission | You are not authorized to operate on the specified resources. | 没有权限操作资源。 |
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | 不合法的参数:%s不能为空。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。