[Kimchi-devel] [PATCH] Update API.md to reflect /host/users and /host/groups API

alinefm at linux.vnet.ibm.com alinefm at linux.vnet.ibm.com
Tue Jul 8 15:00:27 UTC 2014


From: Aline Manera <alinefm at linux.vnet.ibm.com>

Commit fe2fd1db added the functionalities to list system users and
groups but forgot to update the API.md
Fix it.

Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
 docs/API.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/docs/API.md b/docs/API.md
index 4f51dd0..75b933c 100644
--- a/docs/API.md
+++ b/docs/API.md
@@ -763,6 +763,24 @@ Contains information of host.
 * swupdate: Start the update of packages in background and return a Task resource
     * task resource.  * See Resource: Task *
 
+### Resource: Host users
+
+**URI:** /host/users
+List of system users in the host.
+
+**Methods:**
+
+* **GET**: Retrieve list of system users in the host.
+
+### Resource: Host groups
+
+**URI:** /host/groups
+List of system groups in the host.
+
+**Methods:**
+
+* **GET**: Retrieve list of system groups in the host.
+
 ### Resource: HostStats
 
 **URI:** /host/stats
-- 
1.9.3




More information about the Kimchi-devel mailing list