Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating webhooks via GitLab API

Tags:

gitlab

Is there any way of creating webhooks in GitLab via API similiar to what we have in GitHub using GitHub API by Koshuke?

like image 612
ice_king Avatar asked Apr 08 '15 06:04

ice_king


Video Answer


1 Answers

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

like image 153
druuu Avatar answered Sep 29 '22 19:09

druuu