You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Vieille 062f1d6403
7 years ago
.gitignore init 7 years ago readme 7 years ago
accounts.php-dist security 7 years ago
event.php HTTP Code issue, response message 7 years ago

Webhook API

Gogs webhook api system writed for gitnet project.



  • PHP >= 5.4

With GIT

$ git clone

Without GIT

$ wget
$ tar xvf master.tar.gz

Access keys

$ cp accounts.php-dist accounts.php
$ ... Add API keys in accounts.php ...

Webhook configuration

Payloading url

Configure a http webserver with PHP to access event.php script. for gitnet.

Content Type

Set application/x-www-form-urlencoded.


Choose an access key from accounts.php. If you use gitnet, the administrator sent you the secret key by email.