当我尝试提交PATCH或PUT请求以更新事件时,我得到:
{"error":"incident is missing"}
这是我的要求:
curl --location --request PATCH 'https://api.statuspage.io/v1/pages/xxxx/incidents/lf7****nf2?api_key=xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"incident": "Requests Failed (500)","status": "identified"
}'
我还尝试了Authorization:Oauth方法
我能够创建事件并列出事件,所以我不确定发生了什么。
我正在关注https://developer.statuspage.io/#operation/putPagesPageIdIncidentsIncidentId和https://developer.statuspage.io/#operation/patchPagesPageIdIncidentsIncidentId
我想念什么?
任何建议都值得赞赏