Implemented initial notification API support.

Fixes issue #119
This commit is contained in:
Kohsuke Kawaguchi
2015-03-22 15:40:53 -07:00
parent 687a36937e
commit 74fda40764
6 changed files with 305 additions and 1 deletions

View File

@@ -464,6 +464,13 @@ public class GitHub {
return new GHContentSearchBuilder(this);
}
/**
* List all the notifications.
*/
public GHNotificationStream listNotifications() {
return new GHNotificationStream(this,"/notifications");
}
/**
* This provides a dump of every public repository, in the order that they were created.
* @see <a href="https://developer.github.com/v3/repos/#list-all-public-repositories">documentation</a>