Expand description
the outside-facing API
Functions§
- GET /groups
- GET /users Return a list of all users on the system, as defined in the /etc/passwd file.
- GET /groups/
Return a single group with . Return 404 if is not found. - GET /users/
/groups Return all the groups for a given user. - GET /groups/query[?name=
][&gid= ][&member= [&member= ][&. ..]] - GET /groups/query[?name=
][&gid= ][&member= [&member= ][&. ..]] Return a list of groups matching all of the specified query fields. The bracket notation indicates that any of the following query parameters may be supplied: - name - gid - member (repeated) - GET /users/
Return a single user with . Return 404 if is not found. Example Response: {“name”: “dwoodlins”, “uid”: 1001, “gid”: 1001, “comment”: “”, “home”: “/home/dwoodlins”, “shell”: “/bin/false”}