Add a basic Freshdesk webhook.

The Freshdesk API is bonkers, but we do the best we can with it to
support notifications on ticket creation and ticket updates.

(imported from commit 2023622b274ef83f4e1544d0df286fe2e68581b3)
This commit is contained in:
Jessica McKellar
2013-11-08 15:14:57 -05:00
parent 676b14fb15
commit 3adb9c6d80
2 changed files with 127 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ urlpatterns += patterns('zerver.views',
url(r'^api/v1/external/bitbucket$', 'webhooks.api_bitbucket_webhook'),
url(r'^api/v1/external/desk$', 'webhooks.api_deskdotcom_webhook'),
url(r'^api/v1/external/stash$', 'webhooks.api_stash_webhook'),
url(r'^api/v1/external/freshdesk$', 'webhooks.api_freshdesk_webhook'),
url(r'^user_uploads/(?P<realm_id>\d*)/(?P<filename>.*)', 'rest_dispatch',
{'GET': 'get_uploaded_file'}),