From d5f7e1cf1b40630d498469b6cb59e77c3a3789a2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 19 2016 08:40:27 +0000 Subject: Link to the fedmsg doc on pagure for topics and payload examples --- diff --git a/doc/usage/using_webhooks.rst b/doc/usage/using_webhooks.rst index 4e1d4ae..721a7f4 100644 --- a/doc/usage/using_webhooks.rst +++ b/doc/usage/using_webhooks.rst @@ -45,3 +45,10 @@ to validate the message, in python, you can do something like the following: if hashhex != headers.get('X-Pagure-Signature'): raise Exception('Message received with an invalid signature') + + +The notifications sent via web-hooks have the same payload as what is sent +via `fedmsg `_. Therefore, the list of +pagure topics as well as example messages can be found in the +`fedmsg documentation about pagure +`_