Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Webhook functions for organizations #26

Merged
merged 1 commit into from
Dec 24, 2016
Merged

Conversation

ethantkoenig
Copy link
Member

  1. Rename repo_hooks.go to hooks.go, to share code for organization-owned and repository-owned webhooks.
  2. Add functions for the following endpoints:
  • GET repos/:owner/:reponame/hooks/:id: Get a single repo webhook
  • GET orgs/:orgname/hooks: Get an organization's webhooks
  • GET orgs/:orgname/hooks/:id: Get a single organization webhook
  • POST orgs/:orgname/hooks: Create an organization webhook
  • PATCH orgs/:orgname/hooks/:id: Update an organization webhook
  • DELETE orgs/:orgname/hooks/:id: Delete an organization webhook

These endpoint are added by go-gitea/gitea#372

@lunny
Copy link
Member

lunny commented Dec 12, 2016

This PR has to wait until go-gitea/gitea#372 merged

@bkcsoft
Copy link
Member

bkcsoft commented Dec 12, 2016

@lunny the other way around though... go-gitea/gitea#372 has to wait on this

@bkcsoft
Copy link
Member

bkcsoft commented Dec 12, 2016

LGTM

@tboerger tboerger removed this from the 1.1.0 milestone Dec 23, 2016
@lunny
Copy link
Member

lunny commented Dec 24, 2016

LGTM

@lunny lunny merged commit d628d07 into go-gitea:master Dec 24, 2016
@ethantkoenig ethantkoenig deleted the develop branch December 24, 2016 03:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants