Commit 83184f99 authored by Greg Messner's avatar Greg Messner Committed by GitHub
Browse files

Added EventsApi info.

parent 26042d7d
......@@ -79,6 +79,7 @@ Available Sub APIs
------------------
```
CommitsApi
EventsApi
GroupApi
JobApi
MergeRequestApi
......@@ -105,6 +106,15 @@ Date until = new Date(); // now
List<Commit> commits = gitLabApi.getCommitsApi().getCommits(1234, "new-feature", since, until);
```
EventsApi:
```java
// Get a list of Events for the authenticated user
Date after = new Date(0); // After Eposc
Date before = new Date(); // Before now
List<Event> events = gitLabApi.getEventsApi().getAuthenticatedUserEvents(null, null, before, after, DESC);
assertNotNull(events);
```
GroupApi:
```java
// Get a list of groups that you have access to
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment