In microversion 2.80, the ``GET /os-migrations`` API will have
optional ``user_id`` and ``project_id`` query parameters for
filtering migrations by user and/or project:
* GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394
* GET /os-migrations?project_id=011ee9f4-8f16-4c38-8633-a254d420fd54
* GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394&project_id=011ee9f4-8f16-4c38-8633-a254d420fd54
And expose the ``user_id`` and ``project_id`` fields in the following APIs:
* GET /os-migrations
* GET /servers/{server_id}/migrations
* GET /servers/{server_id}/migrations/{migration_id}
Co-Authored-By: Qiu Fossen <qiujunting>
Part of blueprint add-user-id-field-to-the-migrations-table
Change-Id: I7313d6cde1a5e1dc7dd6f3c0dff9f30bbf4bee2c
21 lines
798 B
YAML
21 lines
798 B
YAML
---
|
|
features:
|
|
- |
|
|
Microversion 2.80 changes the list migrations APIs and the
|
|
os-migrations API.
|
|
|
|
In this microversion, expose the ``user_id`` and ``project_id``
|
|
fields in the following APIs:
|
|
|
|
* ``GET /os-migrations``
|
|
* ``GET /servers/{server_id}/migrations``
|
|
* ``GET /servers/{server_id}/migrations/{migration_id}``
|
|
|
|
The ``GET /os-migrations`` API will also have optional ``user_id`` and
|
|
``project_id`` query parameters for filtering migrations by user and/or
|
|
project, for example:
|
|
|
|
* ``GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394``
|
|
* ``GET /os-migrations?project_id=011ee9f4-8f16-4c38-8633-a254d420fd54``
|
|
* ``GET /os-migrations?user_id=ef9d34b4-45d0-4530-871b-3fb535988394&project_id=011ee9f4-8f16-4c38-8633-a254d420fd54``
|