ListChangeRequests - 查询变更列表

查询变更列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /appstack/apps/{appName}/changeRequests HTTP/1.1

请求参数

名称类型必填描述示例值
organizationIdstring

企业标识,也称企业 id

66c0c9fffeb86b450c199fcd
appNamestring

应用名

app-name
paginationstring

分页模式参数,目前只支持键集分页 keyset 模式

keyset
perPageinteger

分页尺寸参数,决定一页最多返回多少对象

20
orderBystring

分页排序属性,决定根据何种属性进行记录排序;推荐在实现严格遍历时,使用 id 属性

id
sortstring

分页排序升降序,asc 为升序,desc 为降序;推荐在实现严格遍历时,使用升序

desc
nextTokenstring

键集分页 token,获取第一页数据时无需传入,否则需要传入前一页查询结果中的 nextToken 字段

4dc150725770510122396e2476
stateListarray

按状态进行搜索

stateListstring

状态值

枚举值:
  • DEVELOPINGDEVELOPING
  • RELEASEDRELEASED
  • CLOSEDCLOSED
  • INTEGRATINGINTEGRATING
DEVELOPING
ownerIdListarray

按 ownerId 进行搜索

ownerIdListstring

拥有者 id

eycodj8dshsmf6ss65s
appNameListarray

按应用名称进行搜索

appNameListstring

应用名

app-name
displayNameKeywordstring

按展示名进行模糊搜索的关键字

change1
pageinteger

页面分页时使用,用于获取下一页内容

1

返回参数

名称类型描述示例值
object

PageList

nextTokenstring

采用键值分页时存在该字段,用于传给分页接口,迭代获取下一页数据

eb13ac6049d3d78159d60f84af
dataarray

分页结果数据

dataany

变更信息

{"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}
totallong

页码分页时存在该字段,表示结果总数

100
currentlong

页码分页时存在该字段,表示当前页

1
perPagelong

页码分页时存在该字段,表示每页大小

20
pageslong

页码分页时存在该字段,表示总页数

5

示例

正常返回示例

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
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史