Get risk level changes
POST/stats/app/risk-level-changes
Get risk level changes.
Request
- application/json
Body
required
timeframe stringrequired
Possible values: [day
, week
, month
, year
, allTime
]
cmsProjectId stringrequired
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
average object[]required
subject stringnullable
windowStart date-timerequired
windowEnd date-timerequired
value numberrequired
groupBy objectrequired
object
changes object[]required
subject stringnullable
windowStart date-timerequired
windowEnd date-timerequired
value numberrequired
groupBy objectrequired
torisklevel stringrequired
Possible values: [Low
, Medium
, High
, No risk
]
{
"average": [
{
"subject": "string",
"windowStart": "2024-07-29T15:51:28.071Z",
"windowEnd": "2024-07-29T15:51:28.071Z",
"value": 0,
"groupBy": {}
}
],
"changes": [
{
"subject": "string",
"windowStart": "2024-07-29T15:51:28.071Z",
"windowEnd": "2024-07-29T15:51:28.071Z",
"value": 0,
"groupBy": {
"torisklevel": "Low"
}
}
]
}
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...