Skip to content

Commit

Permalink
Use new event names for webhooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin committed Jun 28, 2018
1 parent 56e0e1a commit b9f1c1f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ Event types
+------------------------------+-----------------------------------------------------------+
| Event | Description |
+==============================+===========================================================+
| **report_created** | New report created |
| **reportCreated** | New report created |
+------------------------------+-----------------------------------------------------------+
| **report_state_changed** | Report's state changed |
| **reportStateChanged** | Report's state changed |
+------------------------------+-----------------------------------------------------------+
| **operation_created** | New operation created |
| **operationCreated** | New operation created |
+------------------------------+-----------------------------------------------------------+
| **operation_state_changed** | Operation's state changed |
| **operationStateChanged** | Operation's state changed |
+------------------------------+-----------------------------------------------------------+
| **operation_removed** | Operation removed |
| **operationRemoved** | Operation removed |
+------------------------------+-----------------------------------------------------------+

Receipt of webhook notification
Expand All @@ -54,7 +54,7 @@ it is possible to run through resources linked or embedded thanks to the HAL rep
.. code-block:: json
{
"event":"report_created",
"event": "reportCreated",
"payload": {
"type": "Report",
"id": "b0e7e28f-5b91-4c73-875e-8f34aa03553a",
Expand Down

0 comments on commit b9f1c1f

Please sign in to comment.