From 7430f1179cfd5840ff113e1b399ca1fbdd6ae631 Mon Sep 17 00:00:00 2001 From: Suramya Shah Date: Thu, 11 Jan 2018 20:18:50 +0530 Subject: [PATCH] Reorganize api-ref: v3-ext simple-cert.inc Reorganize as per the documentation session at PTG: https://etherpad.openstack.org/p/queens-ptg-keystone-doc-cleanup Change-Id: I86849a4e7efbe9117c24636699987a6b475d777b --- api-ref/source/v3-ext/simple-cert.inc | 40 +++++++++++++++++++++------ 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/api-ref/source/v3-ext/simple-cert.inc b/api-ref/source/v3-ext/simple-cert.inc index 2ed273d1c7..8fd017133d 100644 --- a/api-ref/source/v3-ext/simple-cert.inc +++ b/api-ref/source/v3-ext/simple-cert.inc @@ -14,12 +14,23 @@ Show CA Certificate Show the availbable CA certificate. -Normal response codes: 200 +Response +-------- -Error response codes: 401, 500 +Status Codes +~~~~~~~~~~~~ -Response Example ----------------- +.. rest_status_code:: success ../v3/status.yaml + + - 200 + +.. rest_status_code:: error ../v3/status.yaml + + - 401 + - 500 + +Example +~~~~~~~ .. literalinclude:: ./samples/OS-SIMPLE-CERT/show-ca-certificate-response.txt :language: text @@ -31,12 +42,23 @@ Show Signing Certificate Show the available signing certificate. -Normal response codes: 200 +Response +-------- -Error response codes: 401, 500 +Status Codes +~~~~~~~~~~~~ -Response Example ----------------- +.. rest_status_code:: success ../v3/status.yaml + + - 200 + +.. rest_status_code:: error ../v3/status.yaml + + - 401 + - 500 + +Example +~~~~~~~ .. literalinclude:: ./samples/OS-SIMPLE-CERT/show-signing-certificate-response.txt - :language: text + :language: text \ No newline at end of file