aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2015-02-06 15:57:38 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2015-02-06 15:57:38 +0100
commit4a90e7223674ed69a947a555af0057907083087d (patch)
tree0c95a9d39a4723d654e14df622b0b810e1a33a56 /doc
parente6af035fd9f7584b180fe7f155ee0a62421619cf (diff)
doc: Update send resource description.
Change-Id: I92e73de1a1340d0d8a33d6ae21e92469a72ec2b4
Diffstat (limited to 'doc')
-rw-r--r--doc/collection-send.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/collection-send.rst b/doc/collection-send.rst
index 23fe5e6..e1997ff 100644
--- a/doc/collection-send.rst
+++ b/doc/collection-send.rst
@@ -35,7 +35,7 @@ POST
:reqjson send_to: A string or an array of strings of email addresses where to send the reports.
:reqjson boot_send_to: A string or an array of strings of email addresses where to send only the boot report.
:reqjson build_send_to: A string or an array of strings of email addresses where to send only the build report.
- :reqjson int delay: Number of seconds after which the email report will be sent. Default to 60*60 seconds.
+ :reqjson int delay: Number of seconds after which the email report will be sent. Default to 60*60 seconds (1 hour) with a maximum value of 60*60*3 (3 hours).
:reqheader Authorization: The token necessary to authorize the request.
:reqheader Content-Type: Content type of the transmitted data, must be ``application/json``.
@@ -44,7 +44,7 @@ POST
:resheader Content-Type: Will be ``application/json; charset=UTF-8``.
:status 202: The request has been accepted and will be processed.
- :status 400: JSON data not valid.
+ :status 400: JSON data not valid or other.
:status 403: Not authorized to perform the operation.
:status 415: Wrong content type.
:status 422: No real JSON data provided.
@@ -63,6 +63,8 @@ POST
"job": "next",
"kernel": "next-20140801",
"boot_report": 1,
+ "build_report": 1,
+ "build_send_to": ["another.email@example.net"],
"send_to": ["email@example.net"],
"delay": 14400
}