-
Notifications
You must be signed in to change notification settings - Fork 15
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
Move webhook endpoints to the REST API #510
Conversation
Should the webhook payload also be added to the openapi specs? |
Hm, good question. I guess we could document what we really use from the payload (instead of everything the webhhook source provides). On the other site, documenting it would make it easier for people to use the webhook endpoints for other stuff and I do not think I would like to support this. The webhooks are depended on what the third party sends to us and not on how we would like it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JVT038 I have pushed my changes, looks good to merge to me now
This PR moves the webhooks to the API group instead of web.
Should the other webhook-related functions (such as deleting a webhook URL and regenerating an URL) be moved to the API group as well?