Skip to content
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

How do I get the hook_id? #670

Open
robertherber opened this issue Feb 11, 2022 · 0 comments
Open

How do I get the hook_id? #670

robertherber opened this issue Feb 11, 2022 · 0 comments
Labels
Type: Support Any questions, information, or general needs around the SDK or GitHub APIs

Comments

@robertherber
Copy link

robertherber commented Feb 11, 2022

I'm really missing a way to see which hook_id triggered a webhook request. Not sure if this is a question regarding @octokit/webhooks or how Github webhooks work in general (didn't find any hook id in those docs either). The id on the request is unique for the request as far as I can tell, and apart from the ping request I can't seem to find the hook_id in the request body?

I'm building an app where multiple parties could potentially listen to the same repositories, and I wan't to ensure that I only update the data for the party in question.

@robertherber robertherber added the Type: Support Any questions, information, or general needs around the SDK or GitHub APIs label Feb 11, 2022
@wolfy1339 wolfy1339 moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Support Any questions, information, or general needs around the SDK or GitHub APIs
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

1 participant