aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-12-17 13:20:25 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2014-12-17 13:20:25 +0100
commit632a602f868eaa10a2b2101072983abfcf5c170b (patch)
treea16563a47d38d40a0a7384cfc86f88bf0db3fd89
parentcc196e2ee23dab3035e6a74f2be8c2e02d444c9d (diff)
Add retries key to GET parameters for boot.
Change-Id: I188b95850af0d9d1073c493a4f5b9989a210fdd7
-rw-r--r--app/handlers/common.py3
-rw-r--r--doc/collection-boot.rst8
2 files changed, 6 insertions, 5 deletions
diff --git a/app/handlers/common.py b/app/handlers/common.py
index 907e80a..d426d42 100644
--- a/app/handlers/common.py
+++ b/app/handlers/common.py
@@ -106,8 +106,9 @@ BOOT_VALID_KEYS = {
models.KERNEL_KEY,
models.LAB_NAME_KEY,
models.NAME_KEY,
+ models.RETRIES_KEY,
models.STATUS_KEY,
- models.WARNINGS_KEY,
+ models.WARNINGS_KEY
],
'DELETE': [
models.BOARD_KEY,
diff --git a/doc/collection-boot.rst b/doc/collection-boot.rst
index b526165..8ae4f30 100644
--- a/doc/collection-boot.rst
+++ b/doc/collection-boot.rst
@@ -32,17 +32,17 @@ GET
:query string _id: The internal ID of the boot report.
:query string board: The name of a board.
:query string created_on: The creation date: accepted formats are ``YYYY-MM-DD`` and ``YYYYMMDD``.
- :query string job: The name of a job.
- :query string job_id: The ID of a job.
- :query string kernel: The name of a kernel.
:query string defconfig: The name of a defconfig.
:query string defconfig_full: The full name of a defconfig (with config fragments).
:query string defconfig_id: The ID of a defconfig.
:query string endian: The endianness of the board.
- :query string board: The name of a board.
+ :query string job: The name of a job.
+ :query string job_id: The ID of a job.
+ :query string kernel: The name of a kernel.
:query string lab_name: The name of the lab that created the boot report.
:query string name: The name of the boot report.
:query string status: The status of the boot report.
+ :query int retries: The number of boot retries performed.
:query int warnings: The number of warnings in the boot report.
:status 200: Resuslts found.