nova/doc/api_samples/os-migrations
zhangbailin ac165112b7 Filter migrations by user_id/project_id
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
2019-10-14 11:35:11 -07:00
..
v2.23 Drop the use of magic openstack project_id 2016-03-08 19:34:56 +00:00
v2.59 Rename changes-since test sample file 2018-09-14 11:52:37 +08:00
v2.66 Resource retrieving: add changes-before filter 2018-09-19 09:56:56 -04:00
v2.80 Filter migrations by user_id/project_id 2019-10-14 11:35:11 -07:00
migrations-get.json api-ref: Replace non UUID string with UUID 2018-10-09 14:56:35 +09:00