api-ref: example verification for server-migrations

Completes the example verification for the server-migrations API.

Partial-Bug: #1641713

Part of blueprint api-ref-in-rst-ocata

Change-Id: I2234ac402d778553cbebb915943ce1fd0b8d6210
This commit is contained in:
Matt Riedemann
2016-11-14 16:48:42 -05:00
parent 7d33dc85f5
commit 6c6df6aa13
+11 -1
View File
@@ -1,5 +1,4 @@
.. -*- rst -*-
.. needs:example_verification
.. needs:body_verification
=========================================
@@ -45,6 +44,9 @@ Response
**Example List Migrations**
.. literalinclude:: ../../doc/api_samples/server-migrations/v2.23/migrations-index.json
:language: javascript
Show Migration Details
======================
@@ -83,6 +85,9 @@ Response
**Example Show Migration Details**
.. literalinclude:: ../../doc/api_samples/server-migrations/v2.23/migrations-get.json
:language: javascript
Force Migration Complete Action (force_complete Action)
=======================================================
@@ -97,6 +102,11 @@ Request
- migration_id: migration_id_path
- force_complete: force_migration_complete
**Example Force Migration Complete (force_complete Action)**
.. literalinclude:: ../../doc/api_samples/server-migrations/force_complete.json
:language: javascript
Response
--------