Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docs for configuring webhook URL from env var #1084

Merged
merged 4 commits into from
Dec 5, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/graphql/manual/event-triggers/create-trigger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Event triggers can be created using the Hasura console.
Open the Hasura console, head to the ``Events`` tab and click on the ``Create trigger`` button to open up the
interface below to create an event trigger:

.. image:: ../../../img/graphql/manual/event-triggers/create-event-trigger-annotations.png
.. image:: ../../../img/graphql/manual/event-triggers/create-event-trigger.png
:scale: 50 %

Parameters
----------
Expand All @@ -26,11 +27,15 @@ The operation on which event trigger needs to be invoked. Can be INSERT, UPDATE

**Webhook URL**

The HTTP(s) URL which will be called with event payload on configured operation. Must be a POST handler.
The HTTP(s) URL which will be called with event payload on configured operation. Must be a POST handler. This URL can be entered manually or can be picked up from an environment variable (*the environment variable needs to be set before using it for this configuration*).

Advanced Settings
-----------------

.. image:: ../../../img/graphql/manual/event-triggers/create-event-trigger-advanced-settings.png
:scale: 50 %


Listen columns for update
^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.