summaryrefslogtreecommitdiff
path: root/api-ref/source/parameters.yaml
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2019-08-06 18:40:48 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2019-08-06 18:40:48 -0400
commitebd68b3d1e29beddb77704cb3f294a2f90f7334f (patch)
tree5f0e70c5e13ed436f31e22b8e70cfe03a5581361 /api-ref/source/parameters.yaml
parent92e1e0736dd2ee71e17a207774ee5ae62890cdd4 (diff)
downloadnova-ebd68b3d1e29beddb77704cb3f294a2f90f7334f.tar.gz
api-ref: document valid GET /os-migrations?migration_type values
There are only four valid values for the migration_type filter when listing migrations so let's document them for the request parameter. Note that the API jsonschema validation does not restrict the values since the filter parameter pre-dated jsonschema validation for query parameters. Specifying an invalid value would just result in no results from the DB query. Change-Id: I7fee254edefd524633af62d80cb47009b1cf010b
Diffstat (limited to 'api-ref/source/parameters.yaml')
-rw-r--r--api-ref/source/parameters.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index 41cd1a672c..fdadca4177 100644
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -1050,7 +1050,12 @@ migration_status:
type: string
migration_type:
description: |
- The type of migration to filter.
+ The type of migration to filter. Valid values are:
+
+ * ``evacuation``
+ * ``live-migration``
+ * ``migration``
+ * ``resize``
in: query
required: false
type: string