| Name | Method | Endpoint |
|---|---|---|
| Accept CloudEvent | POST | /api/v2/event |
| Accept Wait for Event Callback with JSON Payload | POST | /api/v2/callback |
| Accept Wait for Event Callbcak | GET | /api/v2/callback |
| Accept Webhook payloads from various sources. | POST | /api/v2/webhook |
POST /api/v2/event?ref=ref_example
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| ref | String | false | The Workflow reference the request relates to | Defaults to null. | ref_example |
| Schema | Required |
|---|---|
| String | true |
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
application/json, application/cloudevents+json;charset=utf-8, application/cloudevents+json; charset=utf-8*/*Object
POST /api/v2/callback?ref=ref_example,topic=topic_example,status=status_example
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| ref | String | true | The WorkflowRun reference the request relates to | Defaults to null. | ref_example |
| topic | String | true | The topic to publish to | Defaults to null. | topic_example |
| status | String | false | The status to set for the WaitForEvent TaskRun. Succeeded | Failed. | Defaults to succeeded. |
| Schema | Required |
|---|---|
| Object | true |
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
application/json;charset=utf-8, application/json; charset=utf-8Not definednull (empty response body)
GET /api/v2/callback?ref=ref_example,topic=topic_example,status=status_example
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| ref | String | true | The WorkflowRun reference the request relates to | Defaults to null. | ref_example |
| topic | String | true | The topic to publish to | Defaults to null. | topic_example |
| status | String | false | The status to set for the WaitForEvent TaskRun. Succeeded | Failed. | Defaults to succeeded. |
This endpoint does not require a request body.
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
Not definedNot definednull (empty response body)
POST /api/v2/webhook?ref=ref_example
| Name | Type | Required | Description | Notes | Example |
|---|---|---|---|---|---|
| ref | String | false | Workflow reference the request relates to | Defaults to null. | ref_example |
| X-GitHub-Event | String | false | Defaults to null. | X-GitHub-Event_example | |
| X-GitHub-Hook-Installation-Target-ID | String | false | Defaults to null. | X-GitHub-Hook-Installation-Target-ID_example | |
| x-slack-signature | String | false | Defaults to null. | x-slack-signature_example |
| Schema | Required |
|---|---|
| Object | true |
Note: this section and the documentation around what is required is still actively being updated.
No authorization required
application/json;charset=utf-8, application/json; charset=utf-8*/*Object