From 40ba792e90709b6e5ec9bf79242627e75edfa1d4 Mon Sep 17 00:00:00 2001 From: Greg Messner Date: Thu, 27 Mar 2014 22:25:54 -0700 Subject: [PATCH] Added SessionApi info. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9b2ff0bb..083df366 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ GroupApi MergeRequestApi ProjectApi RepositoryApi +SessionApi UserApi ``` @@ -55,6 +56,12 @@ RepositoryApi: List branches = gitLabApi.getRepositoryApi().getBranches(); ``` +SessionApi: +```java +// Log in to the GitLab server and get the session info +getLabApi.getSessionApi().login("your-username", "your-email", "your-password"); +``` + UserApi: ```java // Get the User info for user_id 1 -- GitLab