summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunshuai <sunshuai@awcloud.com>2017-02-10 11:18:12 +0800
committersunshuai <sunshuai@awcloud.com>2017-02-11 09:52:52 +0800
commitfbee4043ee1c269d90c8ec2c1f275f02f43cd4fd (patch)
treef29164797a00a40520dab4c607edd675d29cae46
parent098da4bf7f9e0e2d39035b73f252ec5dbae8bb0c (diff)
Fix murano-api docs3.2.0
Session response body is in inelegant format and the explanation may cause misunderstanding. Change-Id: I9213d7230521b00190e1425dec32dac3b020aa47
Notes
Notes (review): Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Verified+1: Murano CI Code-Review+2: zhurong <aaronzhu1121@gmail.com> Workflow+1: zhurong <aaronzhu1121@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Feb 2017 14:23:04 +0000 Reviewed-on: https://review.openstack.org/431856 Project: openstack/murano Branch: refs/heads/master
-rw-r--r--doc/source/appendix/articles/specification/murano-api.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/source/appendix/articles/specification/murano-api.rst b/doc/source/appendix/articles/specification/murano-api.rst
index 83e2222..fcf46da 100644
--- a/doc/source/appendix/articles/specification/murano-api.rst
+++ b/doc/source/appendix/articles/specification/murano-api.rst
@@ -341,7 +341,9 @@ User could not open new session for environment that in
341Configure environment / open session 341Configure environment / open session
342------------------------------------ 342------------------------------------
343 343
344During this call new working session is created, and session ID should be sent in a request header with name ``X-Configuration-Session``. 344During this call a new working session is created with its ID returned in response body.
345Notice that the session ID should be added to request headers with name ``X-Configuration-Session``
346in subsequent requests when necessary.
345 347
346*Request* 348*Request*
347 349
@@ -361,12 +363,14 @@ During this call new working session is created, and session ID should be sent i
361:: 363::
362 364
363 { 365 {
366 "id": "257bef44a9d848daa5b2563779714820",
364 "updated": datetime.datetime(2014, 5, 14, 14, 17, 58, 949358), 367 "updated": datetime.datetime(2014, 5, 14, 14, 17, 58, 949358),
365 "environment_id": "744e44812da84e858946f5d817de4f72", 368 "environment_id": "744e44812da84e858946f5d817de4f72",
366 "ser_id": "4e91d06270c54290b9dbdf859356d3b3", 369 "ser_id": "4e91d06270c54290b9dbdf859356d3b3",
367 "created": datetime.datetime(2014, 5, 14, 14, 17, 58, 949305), 370 "created": datetime.datetime(2014, 5, 14, 14, 17, 58, 949305),
368 "state": "open", "version": 0L, "id": "257bef44a9d848daa5b2563779714820" 371 "state": "open",
369 } 372 "version": 0L
373 }
370 374
371+----------------+-----------------------------------------------------------+ 375+----------------+-----------------------------------------------------------+
372| Code | Description | 376| Code | Description |