
The Database Developer Guide PDF is located in the repo at: apidocs/target/docbkx/webhelp/cdb-devguide-reviewer/cdb-devguide-reviewer.pdf Updated api-doc with Security Groups related API information. Added Security Groups and Security Group Rules as entities and related API calls to the Reddwarf API Docs. Change-Id: I4d559b25413a6138cd7d2fb94c028f8cafde100c
38 lines
894 B
JSON
38 lines
894 B
JSON
POST /v1.0/1234/instances HTTP/1.1
|
|
User-Agent: python-reddwarfclient
|
|
Host: ord.databases.api.rackspacecloud.com
|
|
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"instance": {
|
|
"databases": [
|
|
{
|
|
"character_set": "utf8",
|
|
"collate": "utf8_general_ci",
|
|
"name": "sampledb"
|
|
},
|
|
{
|
|
"name": "nextround"
|
|
}
|
|
],
|
|
"flavorRef": 1,
|
|
"name": "json_rack_instance",
|
|
"users": [
|
|
{
|
|
"databases": [
|
|
{
|
|
"name": "sampledb"
|
|
}
|
|
],
|
|
"name": "demouser",
|
|
"password": "demopassword"
|
|
}
|
|
],
|
|
"volume": {
|
|
"size": 2
|
|
}
|
|
}
|
|
}
|