Retrieves number of project change requests in each state
GET/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 (from schema)
Schema
total numberrequired
The number of total change requests in this project
Example:
10
applied numberrequired
The number of applied change requests
Example:
5
rejected numberrequired
The number of rejected change requests
Example:
2
reviewRequired numberrequired
The number of change requests awaiting the review
Example:
2
approved numberrequired
The number of approved change requests
Example:
1
scheduled numberrequired
The number of scheduled change requests
Example:
1
{
"total": 10,
"applied": 5,
"rejected": 2,
"reviewRequired": 2,
"approved": 1,
"scheduled": 1
}
Loading...