6.3.リクエストとフォーマット
各イベント発生時、Webhook新規登録画面で設定したURLに対してPOSTリクエストを送信します。POSTリクエストは下記構造になっています。
| 名前 |
内容 |
サンプル |
| content-type |
application/json |
|
| 名前 |
内容 |
サンプル |
| result_id |
結果ID |
664 |
| start_at |
試験開始日時 |
2023-02-24T08:11:16 |
| end_at |
試験終了日時 |
2023-02-24T08:13:24 |
| project_id |
プロジェクトID |
55 |
| project_name |
プロジェクト名 |
テスト0001 |
| project_page |
プロジェクト詳細ページURL |
https://xxxxxx/xxxxxx |
| scenario_id |
シナリオID |
96 |
| action_list_id |
アクションリストID |
93 |
| result_download_link |
結果ファイルのダウンロードURL |
https://xxxxxx/xxxxxx |
| scenario_download_link |
シナリオファイルのダウンロードURL |
https://xxxxxx/xxxxxx |
| status |
試験ステータス |
終了済み |
{
"result_id":664,
"start_at":"2023-02-24T08:11:16",
"end_at":"2023-02-24T08:13:24",
"project_id":55,
"project_name":"テスト0001",
"project_page":"https://xxxxxx/xxxxxx",
"scenario_id":96,
"action_list_id":93,
"result_download_link":"https://xxxxxx/xxxxxx",
"scenario_download_link":"https://xxxxxx/xxxxxx",
"status":"終了済み"
}
- 常にStatus Code 200を返してください。
- Webhookから通知されるPOSTリクエストは失敗しても再送されません。