summaryrefslogtreecommitdiff
path: root/api-ref/source/servers.inc
diff options
context:
space:
mode:
authorSurya Seetharaman <suryaseetharaman.9@gmail.com>2019-02-15 09:46:30 +0100
committerMatt Riedemann <mriedem.os@gmail.com>2019-02-15 14:39:20 -0500
commit983abb05d77587fc3954899ffd7a183f7814a1a7 (patch)
tree6c323e20ecd1de52a668cffb5ea614d4e0899da4 /api-ref/source/servers.inc
parent045d883772108c722e2a483a6e6b3239d4518a05 (diff)
downloadnova-983abb05d77587fc3954899ffd7a183f7814a1a7.tar.gz
API microversion 2.69: Handles Down Cells
This patch introduces a new API microversion which will be used to alter the responses of ``GET /servers``, ``GET /servers/detail``, ``GET /servers/{server_id}`` and ``GET /os-services`` when a cell is down to return minimal constructs with missing keys. Implements blueprint handling-down-cell Change-Id: Id9f12532897912b39093f63e9286540d9029edeb
Diffstat (limited to 'api-ref/source/servers.inc')
-rw-r--r--api-ref/source/servers.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/api-ref/source/servers.inc b/api-ref/source/servers.inc
index 7c38e14b91..42beb1d1bc 100644
--- a/api-ref/source/servers.inc
+++ b/api-ref/source/servers.inc
@@ -249,6 +249,15 @@ Response
.. literalinclude:: ../../doc/api_samples/servers/servers-list-resp.json
:language: javascript
+**Example List Servers (2.69)**
+
+This is a sample response for the servers from the non-responsive part of the
+deployment. The responses for the available server records will be normal
+without any missing keys.
+
+.. literalinclude:: ../../doc/api_samples/servers/v2.69/servers-list-resp.json
+ :language: javascript
+
Create Server
=============
@@ -627,6 +636,15 @@ Response
.. literalinclude:: /../../doc/api_samples/servers/v2.63/servers-details-resp.json
:language: javascript
+**Example List Servers Detailed (2.69)**
+
+This is a sample response for the servers from the non-responsive part of the
+deployment. The responses for the available server records will be normal
+without any missing keys.
+
+.. literalinclude:: ../../doc/api_samples/servers/v2.69/servers-details-resp.json
+ :language: javascript
+
Show Server Details
===================
@@ -732,6 +750,15 @@ Response
.. literalinclude:: ../../doc/api_samples/servers/v2.63/server-get-resp.json
:language: javascript
+**Example Show Server Details (2.69)**
+
+This is a sample response for a server from the non-responsive part of the
+deployment. The responses for available server records will be normal
+without any missing keys.
+
+.. literalinclude:: ../../doc/api_samples/servers/v2.69/server-get-resp.json
+ :language: javascript
+
Update Server
=============