職缺檢舉
POST /reports/{id}/dismiss 審核人員
駁回報告並給出理由,可以選擇告訴記者。
路徑參數
idinteger 必填- 報告 ID。範例
3
請求內容
reasonstring- 為什麼什麼都沒有改變。設定notify_reporter 後透過電子郵件逐字發送給報告者。範例
not an issue notify_reporterboolean- 透過電子郵件將此決定告知記者。省略時預設為 false。範例
true
curl -X POST "https://freehire.me/api/v1/reports/3/dismiss" \
-H "Authorization: Bearer $MODERATOR_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"reason":"not an issue"}'{ "data": { "id": 3, "status": "dismissed", "review_reason": "not an issue" } }