Skip to content

feat: adds headers_template to webhooks and webhooks_collection#239

Merged
vdusek merged 2 commits intoapify:masterfrom
jakerobers:jr/add-headers-template-to-webhooks
Jul 16, 2024
Merged

feat: adds headers_template to webhooks and webhooks_collection#239
vdusek merged 2 commits intoapify:masterfrom
jakerobers:jr/add-headers-template-to-webhooks

Conversation

@jakerobers
Copy link
Copy Markdown
Contributor

Adds the headers_template kwarg and is included in the payload on POST/PUT to the webhook endpoints.

* The API for create webhook supports headersTemplate parameter. Related
  docs at https://docs.apify.com/api/v2#tag/WebhooksWebhook-collection/operation/webhooks_post
* The API for update webhook supports headersTemplate parameter. Related
  docs at https://docs.apify.com/api/v2#tag/WebhooksWebhook-object/operation/webhook_put
@vdusek vdusek self-requested a review July 12, 2024 07:32
Copy link
Copy Markdown
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution.

@vdusek vdusek merged commit 6dbd781 into apify:master Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants