Fix JSON format of server_concepts
server_concepts.rst contains some invalid JSON formats as samples. This patch fixes them and improves the readability by adding some spaces. Change-Id: Ib51f9e1351fca51c15ffdcb98f42311b999f22f5
This commit is contained in:
parent
f03bbbab68
commit
6ee7d4413a
@ -159,12 +159,13 @@ be used and interpreted by nova.
|
||||
"name": "t1",
|
||||
"locked": "true",
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t2",
|
||||
"locked": "false",
|
||||
...
|
||||
}
|
||||
]
|
||||
|
||||
**Example: General user query server with administrator only options**
|
||||
|
||||
@ -180,7 +181,7 @@ be used and interpreted by nova.
|
||||
{
|
||||
"name": "t1",
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t2",
|
||||
...
|
||||
@ -229,7 +230,7 @@ be used and interpreted by nova.
|
||||
"name": "t1",
|
||||
"OS-EXT-SRV-ATTR:host": "devstack"
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t2",
|
||||
"OS-EXT-SRV-ATTR:host": "devstack1"
|
||||
@ -268,15 +269,15 @@ be used and interpreted by nova.
|
||||
{
|
||||
"name": "test11",
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "test21",
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t1",
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t14",
|
||||
...
|
||||
@ -294,11 +295,11 @@ be used and interpreted by nova.
|
||||
{
|
||||
"name": "test11",
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t1",
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t14",
|
||||
...
|
||||
@ -323,12 +324,12 @@ be used and interpreted by nova.
|
||||
"name": "test1",
|
||||
"OS-EXT-SRV-ATTR:host": "devstack"
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t2",
|
||||
"OS-EXT-SRV-ATTR:host": "devstack1"
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "test3",
|
||||
"OS-EXT-SRV-ATTR:host": "devstack1"
|
||||
@ -372,12 +373,13 @@ be used and interpreted by nova.
|
||||
"name": "t1"
|
||||
"updated": "2015-12-15T15:55:52Z"
|
||||
...
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "t2",
|
||||
"updated": "2015-12-17T15:55:52Z"
|
||||
...
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
GET /servers/detail?changes-since='2015-12-16T15:55:52Z'
|
||||
|
Loading…
Reference in New Issue
Block a user