ListChangeRequests

Updated at:

Retrieves a list of change requests.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

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

Path Parameters

Parameter

Type

Required

Description

Example

appName

string

Yes

The application name.

app-name

Request parameters

Parameter

Type

Required

Description

Example

organizationId

string

Yes

The organization ID.

66c0c9fffeb86b450c199fcd

pagination

string

No

The pagination mode. Currently, only keyset pagination is supported.

Valid values:

  • keyset :

    Keyset pagination.

keyset

perPage

integer

No

The maximum number of items to return per page.

20

orderBy

string

No

The sort property. To ensure consistent traversal, we recommend setting this to id.

Valid values:

  • id :

    id

id

sort

string

No

The sort order. For consistent traversal, we recommend using ascending order.

Valid values:

  • asc :

    ascending

  • desc :

    descending

desc

nextToken

string

No

The next token for keyset pagination. Omit this parameter for the first page. For subsequent pages, use the nextToken value from the previous response.

4dc150725770510122396e2476

stateList

array

No

Filters the results by one or more states.

string

No

The state value.

Valid values:

  • DEVELOPING :

    DEVELOPING

  • RELEASED :

    RELEASED

  • CLOSED :

    CLOSED

  • INTEGRATING :

    INTEGRATING

DEVELOPING

ownerIdList

array

No

Filters the results by one or more owner IDs.

string

No

The owner ID.

eycodj8dshsmf6ss65s

appNameList

array

No

Filters the results by one or more application names.

string

No

The application name.

app-name

displayNameKeyword

string

No

The keyword for a fuzzy search on display names.

change1

page

integer

No

The page number to retrieve. This parameter is used for page-based pagination.

1

Response elements

Element

Type

Description

Example

object

A paginated list of change request objects.

nextToken

string

The token to use to retrieve the next page of results. This field is returned for keyset pagination. To get the next page, pass this value in the nextToken parameter of your next request.

eb13ac6049d3d78159d60f84af

data

array

The list of paginated results.

any

The change request information.

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

integer

The total count of results. This field is returned for page-based pagination.

100

current

integer

The current page number. This field is returned for page-based pagination.

1

perPage

integer

The page size. This field is returned for page-based pagination.

20

pages

integer

The total number of pages. This field is returned for page-based pagination.

5

Examples

Success response

JSON format

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

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.