From ca09cbd0a68c85e06388d20276f04c00ab2f11fe Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 14 Nov 2016 17:33:52 -0500 Subject: [PATCH] api-ref: body verification for list server migrations This completes the body verification for listing server migrations. Note that the code currently filters such that only in-progress live migration records are returned. This was also only available with microversion >= 2.23. Part of blueprint api-ref-in-rst-ocata Change-Id: I3a785dad690eee80ec1fd50ebc9fd3f7484dc344 --- api-ref/source/server-migrations.inc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api-ref/source/server-migrations.inc b/api-ref/source/server-migrations.inc index a39cec9b29..61952b4da2 100644 --- a/api-ref/source/server-migrations.inc +++ b/api-ref/source/server-migrations.inc @@ -12,6 +12,18 @@ List Migrations .. rest_method:: GET /servers/{server_id}/migrations +Lists in-progress live migrations for a given server. + +.. note:: Microversion 2.23 or greater is required for this API. + +Policy defaults enable only users with the administrative role to perform +this operation. Cloud providers can change these permissions through the +``policy.json`` file. + +Normal response codes: 200 + +Error response codes: unauthorized(401), forbidden(403), itemNotFound(404) + Request -------