cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seb...@apache.org
Subject git commit: fixing formatting again
Date Fri, 23 May 2014 15:59:37 GMT
Repository: cloudstack-docs
Updated Branches:
  refs/heads/master e4913eec7 -> 6e11b02b8


fixing formatting again


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/commit/6e11b02b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/tree/6e11b02b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs/diff/6e11b02b

Branch: refs/heads/master
Commit: 6e11b02b8a63d76b9e7115e37f8996885badcde1
Parents: e4913ee
Author: Sebastien Goasguen <runseb@gmail.com>
Authored: Fri May 23 17:59:27 2014 +0200
Committer: Sebastien Goasguen <runseb@gmail.com>
Committed: Fri May 23 17:59:27 2014 +0200

----------------------------------------------------------------------
 rtd/source/dev.rst | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs/blob/6e11b02b/rtd/source/dev.rst
----------------------------------------------------------------------
diff --git a/rtd/source/dev.rst b/rtd/source/dev.rst
index 6f39f39..5fca19e 100644
--- a/rtd/source/dev.rst
+++ b/rtd/source/dev.rst
@@ -74,7 +74,7 @@ the following whether in HTTP or HTTPS:
 -  
 
    CloudStack API URL: This is the web services API entry point(for
-   example, http://www.cloud.com:8080/client/api)
+   example, http://www.example.com:8080/client/api)
 
 -  
 
@@ -90,7 +90,7 @@ A sample API GET request looks like the following:
 
 .. sourcecode:: bash
 
-http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
+    http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
 
 Or in a more readable format:
 
@@ -137,7 +137,7 @@ To show how to sign a request, we will re-use the previous example.
 
 .. sourcecode:: bash
 
-http://http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
+    http://http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
 
 Breaking this down, we have several distinct parts to this URL.
 
@@ -163,12 +163,11 @@ Breaking this down, we have several distinct parts to this URL.
    Command String: This part of the query string comprises of the
    command, its parameters, and the API Key that identifies the account.
 
-   .. note:: As with all query string parameters of field-value pairs, the "field"
-   component is case insensitive while all "value" values are case sensitive.
+   .. note:: As with all query string parameters of field-value pairs, the "field" component
is case insensitive while all "value" values are case sensitive.
 
    .. sourcecode: bash
 
-	command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ
+        command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ
 
 -  
 
@@ -200,7 +199,8 @@ To generate the signature.
    look like the following.
 
    .. sourcecode:: bash
-                 	apikey=mivr6x7u6bn_sdahobpjnejpgest35exq-jb8cg20yi3yaxxcgpyuairmfi_ejtvwz0nukkjbpmy3y2bcikwfq&command=deployvirtualmachine&diskofferingid=1&serviceofferingid=1&templateid=2&zoneid=4
+
+        apikey=mivr6x7u6bn_sdahobpjnejpgest35exq-jb8cg20yi3yaxxcgpyuairmfi_ejtvwz0nukkjbpmy3y2bcikwfq&command=deployvirtualmachine&diskofferingid=1&serviceofferingid=1&templateid=2&zoneid=4
 
 #. 
 
@@ -215,7 +215,8 @@ To generate the signature.
    Path+Command String+Signature, the final URL should look like:
 
    .. sourcecode:: bash
- 	http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
+
+       http://localhost:8080/client/api?command=deployVirtualMachine&serviceOfferingId=1&diskOfferingId=1&templateId=2&zoneId=4&apiKey=miVr6X7u6bN_sdahOBpjNejPgEsT35eXq-jB8CG20YI3yaxXcgpyuaIRmFI_EJTVwZ0nUkkJbPmY3y2bciKwFQ&signature=Lxx1DM40AjcXU%2FcaiK8RAP0O1hU%3D
 
 How to sign an API call with Python
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Mime
View raw message