ListChangeRequests
Retrieves a list of change requests.
Try it now
Test
RAM authorization
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 |
| 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 Valid values:
|
id |
| sort |
string |
No |
The sort order. For consistent traversal, we recommend using ascending order. Valid values:
|
desc |
| nextToken |
string |
No |
The next token for keyset pagination. Omit this parameter for the first page. For subsequent pages, use the |
4dc150725770510122396e2476 |
| stateList |
array |
No |
Filters the results by one or more states. |
|
|
string |
No |
The state value. Valid values:
|
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 |
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.