diff --git a/docs/api/examples/delete_vpcsuuidportsportidnio.txt b/docs/api/examples/delete_vpcsuuidportsportidnio.txt index 64bbd964..34cfef4d 100644 --- a/docs/api/examples/delete_vpcsuuidportsportidnio.txt +++ b/docs/api/examples/delete_vpcsuuidportsportidnio.txt @@ -4,12 +4,10 @@ DELETE /vpcs/{uuid}/ports/{port_id}/nio HTTP/1.1 -HTTP/1.1 200 +HTTP/1.1 204 CONNECTION: close -CONTENT-LENGTH: 2 -CONTENT-TYPE: application/json +CONTENT-LENGTH: 0 DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.4 aiohttp/0.13.1 X-ROUTE: /vpcs/{uuid}/ports/{port_id}/nio -{} diff --git a/docs/api/examples/get_vpcsuuid.txt b/docs/api/examples/get_vpcsuuid.txt index 57b93cbf..f0eb88f9 100644 --- a/docs/api/examples/get_vpcsuuid.txt +++ b/docs/api/examples/get_vpcsuuid.txt @@ -18,5 +18,5 @@ X-ROUTE: /vpcs/{uuid} "project_uuid": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "script_file": null, "startup_script": null, - "uuid": "c9e15d9f-cff3-402a-b9c9-57f4d008832f" + "uuid": "a0ecc3ea-907f-4751-9415-9f6d5da4dc3a" } diff --git a/docs/api/examples/post_virtualbox.txt b/docs/api/examples/post_virtualbox.txt index 6be43ee6..efc04fdb 100644 --- a/docs/api/examples/post_virtualbox.txt +++ b/docs/api/examples/post_virtualbox.txt @@ -8,7 +8,7 @@ POST /virtualbox HTTP/1.1 } -HTTP/1.1 200 +HTTP/1.1 201 CONNECTION: close CONTENT-LENGTH: 133 CONTENT-TYPE: application/json @@ -19,5 +19,5 @@ X-ROUTE: /virtualbox { "name": "VM1", "project_uuid": "a1e920ca-338a-4e9f-b363-aa607b09dd80", - "uuid": "3142e932-d316-40d7-bed3-7ef8e2d313b3" + "uuid": "0f7b32bb-13e1-4c3f-8176-bbf277672b58" } diff --git a/docs/api/examples/post_virtualboxuuidstart.txt b/docs/api/examples/post_virtualboxuuidstart.txt index dee153b5..8f567c27 100644 --- a/docs/api/examples/post_virtualboxuuidstart.txt +++ b/docs/api/examples/post_virtualboxuuidstart.txt @@ -4,12 +4,10 @@ POST /virtualbox/{uuid}/start HTTP/1.1 {} -HTTP/1.1 200 +HTTP/1.1 204 CONNECTION: close -CONTENT-LENGTH: 2 -CONTENT-TYPE: application/json +CONTENT-LENGTH: 0 DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.4 aiohttp/0.13.1 X-ROUTE: /virtualbox/{uuid}/start -{} diff --git a/docs/api/examples/post_virtualboxuuidstop.txt b/docs/api/examples/post_virtualboxuuidstop.txt index 5bcfc6af..9c4982a7 100644 --- a/docs/api/examples/post_virtualboxuuidstop.txt +++ b/docs/api/examples/post_virtualboxuuidstop.txt @@ -4,12 +4,10 @@ POST /virtualbox/{uuid}/stop HTTP/1.1 {} -HTTP/1.1 200 +HTTP/1.1 204 CONNECTION: close -CONTENT-LENGTH: 2 -CONTENT-TYPE: application/json +CONTENT-LENGTH: 0 DATE: Thu, 08 Jan 2015 16:09:15 GMT SERVER: Python/3.4 aiohttp/0.13.1 X-ROUTE: /virtualbox/{uuid}/stop -{} diff --git a/docs/api/examples/post_vpcs.txt b/docs/api/examples/post_vpcs.txt index cbd49f85..67c5e242 100644 --- a/docs/api/examples/post_vpcs.txt +++ b/docs/api/examples/post_vpcs.txt @@ -7,7 +7,7 @@ POST /vpcs HTTP/1.1 } -HTTP/1.1 200 +HTTP/1.1 201 CONNECTION: close CONTENT-LENGTH: 213 CONTENT-TYPE: application/json @@ -21,5 +21,5 @@ X-ROUTE: /vpcs "project_uuid": "a1e920ca-338a-4e9f-b363-aa607b09dd80", "script_file": null, "startup_script": null, - "uuid": "f5016337-fa62-4e82-95da-9f66f68e6e8f" + "uuid": "f4f04818-610c-4e95-aa0e-6d29afa72fc7" } diff --git a/docs/api/examples/post_vpcsuuidportsportidnio.txt b/docs/api/examples/post_vpcsuuidportsportidnio.txt index f29d6532..da7e6fd9 100644 --- a/docs/api/examples/post_vpcsuuidportsportidnio.txt +++ b/docs/api/examples/post_vpcsuuidportsportidnio.txt @@ -9,7 +9,7 @@ POST /vpcs/{uuid}/ports/{port_id}/nio HTTP/1.1 } -HTTP/1.1 200 +HTTP/1.1 201 CONNECTION: close CONTENT-LENGTH: 89 CONTENT-TYPE: application/json diff --git a/docs/api/vpcsuuid.rst b/docs/api/vpcsuuid.rst index f2489f1c..bba2e33f 100644 --- a/docs/api/vpcsuuid.rst +++ b/docs/api/vpcsuuid.rst @@ -13,7 +13,7 @@ Parameters Response status codes ********************** -- **200**: VPCS instance started +- **200**: Success - **404**: VPCS instance doesn't exist Sample session diff --git a/docs/api/vpcsuuidportsportidnio.rst b/docs/api/vpcsuuidportsportidnio.rst index ef1c7278..c186c9bb 100644 --- a/docs/api/vpcsuuidportsportidnio.rst +++ b/docs/api/vpcsuuidportsportidnio.rst @@ -9,8 +9,8 @@ Add a NIO to a VPCS Parameters ********** -- **uuid**: VPCS instance UUID - **port_id**: Id of the port where the nio should be add +- **uuid**: VPCS instance UUID Response status codes ********************** @@ -31,14 +31,14 @@ Remove a NIO from a VPCS Parameters ********** -- **uuid**: VPCS instance UUID - **port_id**: ID of the port where the nio should be removed +- **uuid**: VPCS instance UUID Response status codes ********************** -- **200**: NIO deleted - **400**: Invalid VPCS instance UUID - **404**: VPCS instance doesn't exist +- **204**: NIO deleted Sample session ***************