跳转到主要内容
POST
/
report
/
oncall
/
changes
变更数量
curl --request POST \
  --url 'https://api.flashcat.cloud/report/oncall/changes?app_key=' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "step": "day",
  "start_time": 123,
  "end_time": 123
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "ts": 123,
        "change_cnt": 123,
        "change_event_cnt": 123
      }
    ]
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string
必填

请求体

application/json
step
enum<string>
必填

天,周,月

可用选项:
day,
week,
month
start_time
integer
必填
end_time
integer
必填

响应

200 - application/json
error
object

错误信息,仅失败时存在

data
object