ice_king
ice_king

Reputation: 259

Creating webhooks via GitLab API

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

Answers (2)

VonC
VonC

Reputation: 1323115

There only seem to be an API (for listing/creating or deleting hooks) for:

Upvotes: 9

druuu
druuu

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

Related Questions