Reputation: 259
Is there any way of creating webhooks in GitLab via API similiar to what we have in GitHub using GitHub API by Koshuke?
Upvotes: 19
Views: 13914
Reputation: 1323115
There only seem to be an API (for listing/creating or deleting hooks) for:
Upvotes: 9
Reputation: 1716
You can add, list, edit and delete webhooks.
POST /projects/:id/hooks
You can add a webhook with your project ID or with namespace/project_name
Take a look at this http://doc.gitlab.com/ce/api/projects.html#add-project-hook
Upvotes: 19