Retrieves pending change requests in configured environments
GET/api/admin/projects/:projectId/change-requests/open
This endpoint has been deprecated and may be replaced or removed in future versions of the 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
Responses
- 200
changeRequestsSchema
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD2
Array [
Array [
- MOD1
- MOD2
- MOD3
- MOD4
- setStrategySortOrderSchema
Array [
]
]
]
Array [
- MOD1
- MOD2
- MOD3
- MOD4
- setStrategySortOrderSchema
Array [
]
]
Array [
]
Array [
]
Array [
]
Array [
Array [
- MOD1
- MOD2
- MOD3
- MOD4
- setStrategySortOrderSchema
Array [
]
]
]
Array [
- MOD1
- MOD2
- MOD3
- MOD4
- setStrategySortOrderSchema
Array [
]
]
Array [
]
Array [
]
Array [
]
- MOD1
- MOD2
- MOD3
]
oneOf
This change requests's ID.
3
A title describing the change request's content.
Increasing gradual rollout
The environment in which the changes should be applied.
development
The minimum number of approvals required before this change request can be applied.
2
The project this change request belongs to.
unleash-project
features
object[]
required
The list of features and their changes that relate to this change request.
The name of the feature
my-feature
A string describing the conflicts related to this change. Only present if there are any concflicts on the feature level.
Feature has been archived
changes
object[]
required
List of changes inside change request. This list may be empty when listing all change requests for a project.
The ID of this change.
33
The kind of action that the change contains information about.
updateStrategy
A description of the conflict caused by this change. Only present if there are any conflicts.
Strategy has been deleted
payload
object
required
The data required to perform this action.
oneOf
string
boolean
object
number
An array of strategies with their new sort order
The ID of the strategy
9c40958a-daac-400e-98fb-3bb438567008
The new sort order of the strategy
1
createdBy
object
The user who created this change.
The user's username.
The URL where the user's image can be found.
When this change was suggested
2023-07-31T13:22:03+02:00
defaultChange
object
A description of a default change that will be applied with the change request to prevent invalid states.
Default changes are changes that are applied in addition to explicit user-specified changes when a change request is applied. Any default changes are applied in the background and are not a real part of the change request.
The kind of action this is.
addStrategy
The necessary data to perform this change.
{"name":"flexibleRollout","title":"","disabled":false,"segments":[],"parameters":{"groupId":"my-feature","rollout":"100","stickiness":"default"},"constraints":[{"values":["ux"],"inverted":false,"operator":"STR_CONTAINS","contextName":"userId","caseInsensitive":false}]}
segments
object[]
required
The list of segments and their changes that relate to this change request.
The ID of this change.
33
The kind of action that the change contains information about.
updateStrategy
A description of the conflict caused by this change. Only present if there are any conflicts.
Strategy has been deleted
payload
object
required
The data required to perform this action.
oneOf
string
boolean
object
number
An array of strategies with their new sort order
The ID of the strategy
9c40958a-daac-400e-98fb-3bb438567008
The new sort order of the strategy
1
createdBy
object
The user who created this change.
The user's username.
The URL where the user's image can be found.
When this change was suggested
2023-07-31T13:22:03+02:00
The current name of the segment
beta-users
approvals
object[]
deprecated
A list of approvals that this change request has received.
createdBy
object
required
Information about the user who gave this approval.
The ID of the user who gave this approval.
33
The approving user's username.
unleash-user
The URL where the user's image can be found.
When the approval was given.
2022-12-12T12:13:24.218Z
rejections
object[]
deprecated
A list of rejections that this change request has received.
createdBy
object
required
Information about the user who gave this approval.
The ID of the user who gave this approval.
33
The approving user's username.
unleash-user
The URL where the user's image can be found.
When the approval was given.
2022-12-12T12:13:24.218Z
comments
object[]
deprecated
All comments that have been made on this change request.
The comment's ID. Unique per change request.
33
The content of the comment.
This is a comment
createdBy
object
required
Information about the user who posted the comment
The user's username.
unleash-user
The URL where the user's image can be found.
When the comment was made.
2022-12-12T12:13:24.218Z
createdBy
object
required
The user who created this change request.
Hunter
The URL of the user's profile image.
When this change request was created.
2023-07-31T13:33:02Z
The current state of the change request.
Possible values: [Draft
, In review
, Approved
, Applied
, Cancelled
, Rejected
]
This change requests's ID.
3
A title describing the change request's content.
Increasing gradual rollout
The environment in which the changes should be applied.
development
The minimum number of approvals required before this change request can be applied.
2
The project this change request belongs to.
unleash-project
features
object[]
required
The list of features and their changes that relate to this change request.
The name of the feature
my-feature
A string describing the conflicts related to this change. Only present if there are any concflicts on the feature level.
Feature has been archived
changes
object[]
required
List of changes inside change request. This list may be empty when listing all change requests for a project.
The ID of this change.
33
The kind of action that the change contains information about.
updateStrategy
A description of the conflict caused by this change. Only present if there are any conflicts.
Strategy has been deleted
payload
object
required
The data required to perform this action.
oneOf
string
boolean
object
number
An array of strategies with their new sort order
The ID of the strategy
9c40958a-daac-400e-98fb-3bb438567008
The new sort order of the strategy
1
createdBy
object
The user who created this change.
The user's username.
The URL where the user's image can be found.
When this change was suggested
2023-07-31T13:22:03+02:00
defaultChange
object
A description of a default change that will be applied with the change request to prevent invalid states.
Default changes are changes that are applied in addition to explicit user-specified changes when a change request is applied. Any default changes are applied in the background and are not a real part of the change request.
The kind of action this is.
addStrategy
The necessary data to perform this change.
{"name":"flexibleRollout","title":"","disabled":false,"segments":[],"parameters":{"groupId":"my-feature","rollout":"100","stickiness":"default"},"constraints":[{"values":["ux"],"inverted":false,"operator":"STR_CONTAINS","contextName":"userId","caseInsensitive":false}]}
segments
object[]
required
The list of segments and their changes that relate to this change request.
The ID of this change.
33
The kind of action that the change contains information about.
updateStrategy
A description of the conflict caused by this change. Only present if there are any conflicts.
Strategy has been deleted
payload
object
required
The data required to perform this action.
oneOf
string
boolean
object
number
An array of strategies with their new sort order
The ID of the strategy
9c40958a-daac-400e-98fb-3bb438567008
The new sort order of the strategy
1
createdBy
object
The user who created this change.
The user's username.
The URL where the user's image can be found.
When this change was suggested
2023-07-31T13:22:03+02:00
The current name of the segment
beta-users
approvals
object[]
deprecated
A list of approvals that this change request has received.
createdBy
object
required
Information about the user who gave this approval.
The ID of the user who gave this approval.
33
The approving user's username.
unleash-user
The URL where the user's image can be found.
When the approval was given.
2022-12-12T12:13:24.218Z
rejections
object[]
deprecated
A list of rejections that this change request has received.
createdBy
object
required
Information about the user who gave this approval.
The ID of the user who gave this approval.
33
The approving user's username.
unleash-user
The URL where the user's image can be found.
When the approval was given.
2022-12-12T12:13:24.218Z
comments
object[]
deprecated
All comments that have been made on this change request.
The comment's ID. Unique per change request.
33
The content of the comment.
This is a comment
createdBy
object
required
Information about the user who posted the comment
The user's username.
unleash-user
The URL where the user's image can be found.
When the comment was made.
2022-12-12T12:13:24.218Z
createdBy
object
required
The user who created this change request.
Hunter
The URL of the user's profile image.
When this change request was created.
2023-07-31T13:33:02Z
The current state of the change request.
Possible values: [Scheduled
]
schedule
object
required
A schedule for a change request's application. The schedule can either be pending, failed, or suspended. The schedule will always contain the state of the schedule and the last scheduled time, but other data varies between the different states.
oneOf
A pending schedule for a change request.
When this change request will be applied.
2023-07-31T13:33:02Z
The status of the schedule.
Possible values: [pending
]
pending
A failed schedule for a change request.
When Unleash last attempted to apply this change request.
2023-07-31T13:33:02Z
The status of the schedule.
Possible values: [failed
]
failed
The reason the scheduled failed to apply.
conflicts
The reason the scheduled failed to apply. Deprecated in favor of the reason
property.
conflicts
A suspended schedule for a change request.
When Unleash would have attempted to apply this change request if the schedule was not suspended.
2023-07-31T13:33:02Z
The status of the schedule.
Possible values: [suspended
]
suspended
Why the schedule was suspended.
The user who scheduled this change request (user id: 123) has been deleted from this Unleash instance.
[
null,
null
]