Improve Dropbox Watch Agent event payload documentation.

This commit is contained in:
Guilherme J. Tramontina 2014-10-10 16:54:47 -03:00
parent 2030227a49
commit 5da7832025

View file

@ -9,14 +9,17 @@ module Agents
MD
event_description <<-MD
The event payload will contain the following fields, when applicable:
```
{
"added": [ "path/to/new/file" ],
"removed": [ "path/to/removed/file" ],
"updated": [ "path/to/updated/file" ]
}
```
The event payload will contain the following fields:
{
"added": [ {
"path": "/path/to/added/file",
"rev": "1526952fd5",
"modified": "Fri, 10 Oct 2014 19:00:43 +0000"
} ],
"removed": [ ],
"updated": [ ]
}
MD
def default_options