Listing all months with mitigation statistics
Note
This endpoint is available to super admin users only.
Sends a GET request to the endpoint /mitigation-statistic-groups.
Description
The List-Mitigation-Statistic-Groups request returns a paginated list of all months for which mitigation statistics of the organisation are available.
Requirements
Values of the request: none
Objects: none
Request
To request a list of all months with mitigation statistics, no additional information is required in the path of the request.
As a result, the user gets one or more objects MitigationStatisticGroupVO with the requested information.
The object provides the following information:
| Attributes | Description | Values |
|---|---|---|
id |
The month identifier of the entry in the format YYYY-MM. |
string |
Example
Example response:
{
"data": [
{
"id": "2026-02"
}
],
"meta": {
"current_page": 0,
"last_page": 0,
"per_page": 0,
"total": 0
}
}
Responses
The following responses are available:
| STATUS CODE | DESCRIPTION |
|---|---|
| 200 | The request has succeeded. |
| 401 | The request has not succeeded because the user authentication was incorrect. |
| 403 | The request has not succeeded because the user does not have the right permissions. |