-
Notifications
You must be signed in to change notification settings - Fork 7
add status and error fields to webhook records #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "title": "Webhook Detail", | ||
| "description": "Describes a Webhook", | ||
| "type": "object", | ||
| "allOf": [ | ||
| { | ||
| "$ref": "webhook-with-id.json" | ||
| }, | ||
| { | ||
| "type": "object", | ||
| "properties": { | ||
| "error": { | ||
| "description": "Provides more information for the error status, as described by the [Error](../schemas/error#top) type", | ||
| "$ref": "error.json" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,6 +86,15 @@ | |
| "verbose_storage": { | ||
| "description": "Whether to include storage metadata in the `get_urls` property in `flows/segments_added` events. This option is the same as the `verbose_storage` query parameter for the /flows/{flowId}/segments API endpoint.", | ||
| "type": "boolean" | ||
| }, | ||
| "status": { | ||
| "description": "Status of the Webhook. A disabled webhook will not POST events.", | ||
| "type": "string", | ||
| "default": "enabled", | ||
| "enum": [ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this have
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not think about it to this depth, apologies. You have valid points, my response is "yes"! The difference between |
||
| "enabled", | ||
| "disabled" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.