查询变更列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
GET /appstack/apps/{appName}/changeRequests HTTP/1.1
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 |
|---|---|---|---|---|
| organizationId | string | 是 | 企业标识,也称企业 id | 66c0c9fffeb86b450c199fcd |
| appName | string | 是 | 应用名 | app-name |
| pagination | string | 否 | 分页模式参数,目前只支持键集分页 keyset 模式 | keyset |
| perPage | integer | 否 | 分页尺寸参数,决定一页最多返回多少对象 | 20 |
| orderBy | string | 否 | 分页排序属性,决定根据何种属性进行记录排序;推荐在实现严格遍历时,使用 id 属性 | id |
| sort | string | 否 | 分页排序升降序,asc 为升序,desc 为降序;推荐在实现严格遍历时,使用升序 | desc |
| nextToken | string | 否 | 键集分页 token,获取第一页数据时无需传入,否则需要传入前一页查询结果中的 nextToken 字段 | 4dc150725770510122396e2476 |
| stateList | array | 否 | 按状态进行搜索 | |
| stateList | string | 否 | 状态值 枚举值:
| DEVELOPING |
| ownerIdList | array | 否 | 按 ownerId 进行搜索 | |
| ownerIdList | string | 否 | 拥有者 id | eycodj8dshsmf6ss65s |
| appNameList | array | 否 | 按应用名称进行搜索 | |
| appNameList | string | 否 | 应用名 | app-name |
| displayNameKeyword | string | 否 | 按展示名进行模糊搜索的关键字 | change1 |
| page | integer | 否 | 页面分页时使用,用于获取下一页内容 | 1 |
返回参数
示例
正常返回示例
JSON格式
{
"nextToken": "eb13ac6049d3d78159d60f84af",
"data": [
{
"sn": "sn_bbe378996538",
"appName": "app-name",
"state": "RELEASED",
"name": "name_7699a487e82c",
"type": "APP",
"appCodeRepoSn": "appCodeRepoSn_f46c1f3f2d3e",
"branch": "branch_8b3bcdcb8086",
"ownerId": "ownerId_2ec0c96eb7e2",
"ownerAccountId": "ownerAccountId_93a92d951cfe",
"originBranch": "master",
"originBranchRevisionSha": "originBranchRevisionSha_8fc026946097",
"creatorId": "creatorId_53660e01024f",
"creatorAccountId": "creatorAccountId_480afbff2edc",
"gmtCreate": "2024-07-09 11:19:54",
"gmtModified": "2024-07-09 11:19:54",
"autoDeleteBranchWhenEnd": false
}
],
"total": 100,
"current": 1,
"perPage": 20,
"pages": 5
}错误码
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 |
|---|
暂无变更历史
