Retrieves number of project change requests in each state
GET<your-unleash-url>/api/admin/projects/:projectId/change-requests/count
This endpoint will retrieve the number of project change requests that are: approved, applied, rejected, scheduled or awaiting review
Request
Path Parameters
projectId stringrequired
Responses
- 200
changeRequestsCountSchema
- application/json
- Schema
- Example (auto)
Schema
totalnumberrequired
The number of total change requests in this project
Example:
10
appliednumberrequired
The number of applied change requests
Example:
5
rejectednumberrequired
The number of rejected change requests
Example:
2
reviewRequirednumberrequired
The number of change requests awaiting the review
Example:
2
approvednumberrequired
The number of approved change requests
Example:
1
schedulednumberrequired
The number of scheduled change requests
Example:
1
{
"total": 10,
"applied": 5,
"rejected": 2,
"reviewRequired": 2,
"approved": 1,
"scheduled": 1
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/projects/:projectId/change-requests/count' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
ResponseClear