+ function listTags($repo, $page, callable $callback) {
+ $call = new API\Tags\ListTags($this, compact("repo", "page"));
+ return $call($callback);
+ }
+
+ function readContents($repo, $path, callable $callback) {
+ $call = new API\Repos\ReadContents($this, compact("repo", "path"));
+ return $call($callback);
+ }
+
+ function createRepoHook($repo, $conf, callable $callback) {
+ $call = new API\Hooks\CreateHook($this, compact("repo", "conf"));
+ return $call($callback);
+ }
+
+ function updateRepoHook($repo, $id, $conf, callable $callback) {
+ $call = new API\Hooks\UpdateHook($this, compact("repo", "id", "conf"));
+ return $call($callback);
+ }
+
+ function deleteRepoHook($repo, $id, callable $callback) {
+ $call = new API\Hooks\DeleteHook($this, compact("repo", "id"));
+ return $call($callback);
+ }
+
+ function createRelease($repo, $tag, callable $callback) {
+ $call = new API\Releases\CreateRelease($this, compact("repo", "tag"));
+ return $call($callback);
+ }
+
+ function createReleaseAsset($url, $asset, $type, callable $callback) {
+ $call = new API\Releases\CreateReleaseAsset($this, compact("url", "asset", "type"));
+ return $call($callback);