職缺檢舉
POST /reports/{id}/resolve 審核人員
解決報告,可以選擇關閉職缺並告訴報告者。
路徑參數
idinteger 必填- 報告 ID。範例
3
請求內容
close_jobboolean- 軟關閉報告的職缺。範例
true notestring- 您對該報告做了什麼。設定notify_reporter 後,透過電子郵件逐字傳送給報告者,並以任何方式儲存為審核原因。範例
Fixed — the job is now marked hybrid notify_reporterboolean- 透過電子郵件將此決定告知記者。省略時預設為 false。範例
true
curl -X POST "https://freehire.me/api/v1/reports/3/resolve" \
-H "Authorization: Bearer $MODERATOR_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"close_job":true,"note":"Fixed — the job is now marked hybrid","notify_reporter":true}'{ "data": { "id": 3, "status": "resolved", "notified": true } }