Retrieves pending change requests in configured environments
GET <your-unleash-url>/api/admin/projects/:projectId/change-requests/open
Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
This endpoint will retrieve the pending change requests in the configured environments for the project, for the current user performing the request.
Request
Path Parameters
- projectId string required
- 200
changeRequestsSchema
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- id number required
This change requests's ID.
- title string
A title describing the change request's content.
- environment string required
The environment in which the changes should be applied.
- minApprovals number required
The minimum number of approvals required before this change request can be applied.
- project string required
The project this change request belongs to.
features object[]required
segments object[]required
approvals object[]
rejections object[]
comments object[]
createdBy objectrequired
- createdAt date-time required
When this change request was created.
- state string required
Possible values: [
Draft
,In review
,Approved
,Applied
,Cancelled
,Rejected
]The current state of the change request.
- id number required
This change requests's ID.
- title string
A title describing the change request's content.
- environment string required
The environment in which the changes should be applied.
- minApprovals number required
The minimum number of approvals required before this change request can be applied.
- project string required
The project this change request belongs to.
features object[]required
segments object[]required
approvals object[]
rejections object[]
comments object[]
createdBy objectrequired
- createdAt date-time required
When this change request was created.
- state string required
Possible values: [
Scheduled
]The current state of the change request.
schedule objectrequired
- ]
[
null,
null
]
Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
Request
Request
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/open' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'