Adds os-cloudpipe examples, JSON and XML.
Another patch brought in the new samples, now the WADL points to those. Change-Id: I27b50028490bec8767e80d0e0a5dcfa9a8a9fae7
This commit is contained in:
@@ -29,7 +29,12 @@
|
||||
<response status="200">
|
||||
<representation mediaType="application/json">
|
||||
<doc xml:lang="EN">
|
||||
<xsdxt:code href="samples/os-cloudpipe-list-response.json" />
|
||||
<xsdxt:code href="../api_samples/os-cloudpipe/cloud-pipe-get-resp.json" />
|
||||
</doc>
|
||||
</representation>
|
||||
<representation mediaType="application/xml">
|
||||
<doc xml:lang="EN">
|
||||
<xsdxt:code href="../api_samples/os-cloudpipe/cloud-pipe-get-resp.xml" />
|
||||
</doc>
|
||||
</representation>
|
||||
</response>
|
||||
@@ -47,14 +52,24 @@
|
||||
</p></doc>
|
||||
</param>
|
||||
<doc xml:lang="EN">
|
||||
<xsdxt:code href="samples/os-cloudpipe-create-request.json" />
|
||||
<xsdxt:code href="../api_samples/os-cloudpipe/cloud-pipe-create-req.json" />
|
||||
</doc>
|
||||
</representation>
|
||||
<representation mediaType="application/xml">
|
||||
<doc xml:lang="EN">
|
||||
<xsdxt:code href="../api_samples/os-cloudpipe/cloud-pipe-create-req.xml" />
|
||||
</doc>
|
||||
</representation>
|
||||
</request>
|
||||
<response status="200">
|
||||
<representation mediaType="application/json">
|
||||
<doc xml:lang="EN">
|
||||
<xsdxt:code href="samples/os-cloudpipe-create-response.json" />
|
||||
<xsdxt:code href="../api_samples/os-cloudpipe/cloud-pipe-create-resp.json" />
|
||||
</doc>
|
||||
</representation>
|
||||
<representation mediaType="application/xml">
|
||||
<doc xml:lang="EN">
|
||||
<xsdxt:code href="../api_samples/os-cloudpipe/cloud-pipe-create-resp.xml" />
|
||||
</doc>
|
||||
</representation>
|
||||
</response>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"cloudpipe": {
|
||||
"project_id": "b7f6d49c12714e96a05fada4aba4ead6"
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"instance_id": "8250f384-ee8a-43b7-9eb2-453e5bbdd019"
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"cloudpipes": [
|
||||
{
|
||||
"project_id": "b7f6d49c12714e96a05fada4aba4ead6",
|
||||
"internal_ip": "10.0.0.2",
|
||||
"public_ip": "192.168.1.100",
|
||||
"public_port": 8000,
|
||||
"state": "running",
|
||||
"instance_id": "8250f384-ee8a-43b7-9eb2-453e5bbdd019",
|
||||
"created_at": "1981-10-20T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"project_id": "98626b18f01c442f99bc11f27b9cc2d2",
|
||||
"internal_ip": "10.0.1.2",
|
||||
"public_ip": "192.168.1.100",
|
||||
"public_port": 8001,
|
||||
"state": "running",
|
||||
"instance_id": "af7439ee-5582-4457-acf3-656d013eecb8",
|
||||
"created_at": "1981-10-20T00:00:00Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user