mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-21 06:11:39 +00:00
Improve Dropbox Watch Agent event payload documentation.
This commit is contained in:
parent
2030227a49
commit
5da7832025
1 changed files with 11 additions and 8 deletions
|
@ -9,14 +9,17 @@ module Agents
|
||||||
MD
|
MD
|
||||||
|
|
||||||
event_description <<-MD
|
event_description <<-MD
|
||||||
The event payload will contain the following fields, when applicable:
|
The event payload will contain the following fields:
|
||||||
```
|
|
||||||
{
|
{
|
||||||
"added": [ "path/to/new/file" ],
|
"added": [ {
|
||||||
"removed": [ "path/to/removed/file" ],
|
"path": "/path/to/added/file",
|
||||||
"updated": [ "path/to/updated/file" ]
|
"rev": "1526952fd5",
|
||||||
|
"modified": "Fri, 10 Oct 2014 19:00:43 +0000"
|
||||||
|
} ],
|
||||||
|
"removed": [ … ],
|
||||||
|
"updated": [ … ]
|
||||||
}
|
}
|
||||||
```
|
|
||||||
MD
|
MD
|
||||||
|
|
||||||
def default_options
|
def default_options
|
||||||
|
|
Loading…
Add table
Reference in a new issue