Retrieves all pending change requests referencing a feature in the project
GET <your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName
Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
This endpoint will retrieve all pending change requests (change requests with a status of Draft | In review | Approved) referencing the given feature toggle name.
Request
Path Parameters
- projectId string required
- featureName 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/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
curl -L -X GET '<your-unleash-url>/api/admin/projects/:projectId/change-requests/pending/:featureName' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'