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

Purpose of NewRepositoryWebHook class #1088

Closed
M-Zuber opened this issue Feb 3, 2016 · 2 comments
Closed

Purpose of NewRepositoryWebHook class #1088

M-Zuber opened this issue Feb 3, 2016 · 2 comments
Labels
Status: Stale Used by stalebot to clean house

Comments

@M-Zuber
Copy link
Contributor

M-Zuber commented Feb 3, 2016

This class does not seem to be used anywhere in the actual code.

Is there implementation missing somewhere? Or am I missing something?

cc'ing @alfhenrik as it seems that he was the contributor of that code.

@haacked
Copy link
Contributor

haacked commented Feb 4, 2016

That's a helper class for when you're implementing a server side web hook target. For example, on gtihub.com you can configure a repository to request a URL every time a new repository is created.

Well, now you need to implement that endpoint. If you happen to be using ASP.NET MVC for example, you could add an action method that accepts this class (and use the JSON model binder) and receive the payload.

We should document this better. Or consider moving to its own library.

@github-actions
Copy link

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@github-actions github-actions bot added the Stale label Jul 14, 2022
@nickfloyd nickfloyd added Status: Stale Used by stalebot to clean house and removed Stale labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Used by stalebot to clean house
Projects
None yet
Development

No branches or pull requests

4 participants