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

Sheldon shaohef at linux.vnet.ibm.com
Tue Jul 8 15:13:59 UTC 2014


Reviewed-by: ShaoHe Feng <shaohef at 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 at linux.vnet.ibm.com wrote:
> 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


-- 
Thanks and best regards!

Sheldon Feng(冯少合)<shaohef at linux.vnet.ibm.com>
IBM Linux Technology Center




More information about the Kimchi-devel mailing list