update WebhookAgent doc

Andrew Cantino 9 years ago
parent
commit
7592c3e455
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/models/agents/webhook_agent.rb

+ 2 - 2
app/models/agents/webhook_agent.rb

@@ -18,8 +18,8 @@ module Agents
18 18
         * `expected_receive_period_in_days` - How often you expect to receive
19 19
           events this way. Used to determine if the agent is working.
20 20
         * `payload_path` - JSONPath of the attribute in the POST body to be
21
-          used as the Event payload.  If `payload_path` points to an array,
22
-          Events will be created for each element.
21
+          used as the Event payload.  Set to `.` to return the entire message.
22
+          If `payload_path` points to an array, Events will be created for each element.
23 23
         * `verbs` - Comma-separated list of http verbs your agent will accept.
24 24
           For example, "post,get" will enable POST and GET requests. Defaults
25 25
           to "post".