This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.wiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fe93ce  Updated Getting Started (markdown)
1fe93ce is described below

commit 1fe93ce891409737ca553f1bdbdf3e3abfc0d05a
Author: Rohit Yadav <ro...@apache.org>
AuthorDate: Thu Mar 14 12:48:32 2019 +0530

    Updated Getting Started (markdown)
---
 Getting-Started.md | 41 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 40 insertions(+), 1 deletion(-)

diff --git a/Getting-Started.md b/Getting-Started.md
index 8f3e9dc..7cdf0a5 100644
--- a/Getting-Started.md
+++ b/Getting-Started.md
@@ -21,4 +21,43 @@ Total APIs:  595
 (mycloud) 🐱 > sync
 Discovered 610 APIs
 ```
-You can also use the `set` command to set the various server profile specific 
options. The cloudmonkey configuration is stored at `~/.cmk/config` file. The 
`~/.cmk` directory also contains the API cache at `~/.cmk/profiles`.
\ No newline at end of file
+You can also use the `set` command to set the various server profile specific 
options. The cloudmonkey configuration is stored at `~/.cmk/config` file. The 
`~/.cmk` directory also contains the API cache at `~/.cmk/profiles`.
+
+## Making API requests
+
+Try autocompletion using tabbing:
+
+```
+> <tab><tab>
+> list <tab><tab>
+> list users <tab><tab> # for options
+> list users <press enter>
+> list users
+{
+  "count": 1,
+  "user": [
+    {
+      "account": "admin",
+      "accountid": "79665239-3cd4-11e9-bf33-f4d1082409e6",
+      "accounttype": 1,
+      "apikey": "...redacted...",
+      "created": "2019-03-02T15:48:07+0000",
+      "domain": "ROOT",
+      "domainid": "7965d079-3cd4-11e9-bf33-f4d1082409e6",
+      "email": "ad...@mailprovider.com",
+      "firstname": "Admin",
+      "id": "7966afa9-3cd4-11e9-bf33-f4d1082409e6",
+      "iscallerchilddomain": false,
+      "isdefault": true,
+      "lastname": "User",
+      "roleid": "852a28b1-3cd4-11e9-bf33-f4d1082409e6",
+      "rolename": "Root Admin",
+      "roletype": "Admin",
+      "state": "enabled",
+      "username": "admin",
+      "usersource": "native"
+    }
+  ]
+}
+```
+Consult the API docs at http://cloudstack.apache.org/api.html
\ No newline at end of file

Reply via email to