summaryrefslogtreecommitdiff
path: root/releasenotes/notes/bp-add-user-id-field-to-the-migrations-table-af5989e74634b9c4.yaml
blob: 5901d7929c1068cd31d66ae1cb446a2598bf68d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
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``