Skip to content

Commit

Permalink
docs: add commit_id to committed events webhook payloads
Browse files Browse the repository at this point in the history
Co-Authored-By: Christopher Bell <chris@knock.app>
  • Loading branch information
devin-ai-integration[bot] and cjbell committed Jan 29, 2025
1 parent 42192d7 commit a94b802
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions content/developer-tools/outbound-webhooks/event-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,21 @@ Occurs whenever a workflow is committed to the environment.
description="The associated workflow"
typeSlug="/mapi#workflows-object"
/>
<Attribute
name="event_data"
type="EventData"
description="Additional information about the commit"
/>
</Attributes>

`EventData` attributes:

<Attributes>
<Attribute
name="commit_id"
type="string"
description="The ID of the corresponding commit for the event"
/>
</Attributes>

## Email layout events
Expand Down Expand Up @@ -320,6 +335,21 @@ Occurs whenever an email layout is committed to the environment.
description="The associated email layout"
typeSlug="/mapi#email-layouts-object"
/>
<Attribute
name="event_data"
type="EventData"
description="Additional information about the commit"
/>
</Attributes>

`EventData` attributes:

<Attributes>
<Attribute
name="commit_id"
type="string"
description="The ID of the corresponding commit for the event"
/>
</Attributes>

## Translation events
Expand Down Expand Up @@ -348,6 +378,21 @@ Occurs whenever a translation is committed to the environment.
description="The associated translation"
typeSlug="/mapi#translations-object"
/>
<Attribute
name="event_data"
type="EventData"
description="Additional information about the commit"
/>
</Attributes>

`EventData` attributes:

<Attributes>
<Attribute
name="commit_id"
type="string"
description="The ID of the corresponding commit for the event"
/>
</Attributes>

## Source event action events
Expand Down Expand Up @@ -376,6 +421,21 @@ Occurs whenever a source event action is committed to the environment.
description="The associated source event action"
typeSlug="/integrations/sources/overview#events"
/>
<Attribute
name="event_data"
type="EventData"
description="Additional information about the commit"
/>
</Attributes>

`EventData` attributes:

<Attributes>
<Attribute
name="commit_id"
type="string"
description="The ID of the corresponding commit for the event"
/>
</Attributes>

## Partial events
Expand Down Expand Up @@ -404,4 +464,19 @@ Occurs whenever a partial is committed to the environment.
description="The associated partial"
typeSlug="/mapi#partials-object"
/>
<Attribute
name="event_data"
type="EventData"
description="Additional information about the commit"
/>
</Attributes>

`EventData` attributes:

<Attributes>
<Attribute
name="commit_id"
type="string"
description="The ID of the corresponding commit for the event"
/>
</Attributes>

0 comments on commit a94b802

Please sign in to comment.