pub struct Webhook {Show 14 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub label: Option<String>,
pub url: Option<String>,
pub enabled: Option<bool>,
pub team: Option<Box<Team>>,
pub team_ids: Option<Vec<String>>,
pub all_public_teams: Option<bool>,
pub creator: Option<Box<User>>,
pub secret: Option<String>,
pub resource_types: Option<Vec<String>>,
pub failures: Option<Box<Vec<WebhookFailureEvent>>>,
}Expand description
A webhook used to send HTTP notifications over data updates.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
label: Option<String>Webhook label.
url: Option<String>Webhook URL.
enabled: Option<bool>Whether the Webhook is enabled.
team: Option<Box<Team>>The team that the webhook is associated with. If null, the webhook is associated with all public teams of the organization or multiple teams.
team_ids: Option<Vec<String>>INTERNAL The teams that the webhook is associated with. Used to represent a webhook that targets multiple teams, potentially in addition to all public teams of the organization.
all_public_teams: Option<bool>Whether the Webhook is enabled for all public teams, including teams created after the webhook was created.
creator: Option<Box<User>>The user who created the webhook.
secret: Option<String>Secret token for verifying the origin on the recipient side.
resource_types: Option<Vec<String>>The resource types this webhook is subscribed to.
failures: Option<Box<Vec<WebhookFailureEvent>>>INTERNAL Webhook failure events associated with the webhook (last 50).