public class GitLabAPIUsers extends Object
http://doc.gitlab.com/ce/api/users.html
| Constructor and Description |
|---|
GitLabAPIUsers(GitLabAPI gitLabAPI) |
| Modifier and Type | Method and Description |
|---|---|
GitLabUser |
getUser()
Current user
|
Paged<GitLabUser> |
getUsers(String emailOrUsername,
Pagination pagination)
Search users by email or username
|
public GitLabAPIUsers(GitLabAPI gitLabAPI)
public GitLabUser getUser() throws IOException
Gets currently authenticated user.
GET /user
IOExceptionpublic Paged<GitLabUser> getUsers(String emailOrUsername, Pagination pagination) throws IOException
emailOrUsername - pagination - number of projects to return per page
GET /users?search=
IOExceptionCopyright © 2017 Talanlabs. All rights reserved.