Reviewed-by: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
yuxing complainted he do not know to get the users/groups this morning. :-)
On 07/08/2014 11:00 PM, alinefm(a)linux.vnet.ibm.com wrote:
From: Aline Manera <alinefm(a)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(a)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
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center