Incoming Webhook
Incoming webhook インテグレーションを設定した後、Show details をクリックすると詳細を表示できます。システムは以下を提供します。
- Token
- URL: Incoming webhook の URL で、Incident を POST するために使用します。
Incoming webhook に Incident を送信するには、webhook に POST リクエストを送信します。curl を使った例を以下に示します。
curl "https://api-incident-stg.fci.fmon.fptcloud.com/api/v1/create_incident?title=json(report.title)" --request POST --header 'Authorization: a9210eeee765e209c6a81a13e957574e' --header 'Content-Type: application/json' --data '{"report":{"title":"cool that this title comes from the json"}}'
