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

API for Organization Webhooks CRUD #38

Open
kmadel opened this issue Aug 1, 2016 · 1 comment
Open

API for Organization Webhooks CRUD #38

kmadel opened this issue Aug 1, 2016 · 1 comment

Comments

@kmadel
Copy link
Contributor

kmadel commented Aug 1, 2016

Would be nice to support the ability to interact with Organization webhooks via the API.

@Kalyse
Copy link

Kalyse commented Sep 23, 2016

This is also something I'd really like to be able to do.

guyzmo pushed a commit to guyzmo/go-gogs-client that referenced this issue May 5, 2017
* Add Issue webhook payload

* Add copyright header

* Whoops, wrote license header in wrong file...

* Move fields of PR/Issue payload to BaseIssuePayload

* Fix license header

* remove BaseIssuePayload

* Add comment to IssuePayload.JSONPayload

* Fix comment mentioning IssuePayload

* Reorder structs

* Mimic GitHub webhooks

Since the Gitea webhooks currently mimic for a big part the way GitHub does webhook, issue comments HookIssueActions have been removed to be added again at a later stage and milestone_set and milestone_cleared have been changed to milestoned and demilestoned, respectively.

* Change also constant names
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

No branches or pull requests

2 participants