{ "url": "https://github.example.com/api/v3/repos/example/howdy/releases/assets/1", "id": 1, "name": "example.yml", "label": "", "uploader": { ...
{ "url": "https://github.example.com/api/v3/repos/example/howdy/releases/assets/1", "id": 1, "name": "example.yml", "label": "", "uploader": { ... }, "content_type": "application/yaml", "state": "uploaded", "size": 36, "download_count": 0, "created_at": "2015-12-18T00:27:46Z", "updated_at": "2015-12-18T00:27:46Z", "browser_download_url": "https://github.example.com/example/howdy/releases/download/3.0.0/example.yml" }
{ "content": "...", "name": ".travis.yml", "size": 633 }
a simple aggregate decoder that allows us to refer to all events as a single inbound type; bit hacky but we're bridging the typed and un-typed worlds here...
a simple aggregate decoder that allows us to refer to all events as a single inbound type; bit hacky but we're bridging the typed and un-typed worlds here... *sigh*.
TIM: this seems really hacky.
{ "assets": [ { "browser_download_url": "https://github.example.com/tim/howdy/releases/download/0.13.17/example-howdy.deployable.yml", "content_type": "application/yaml; charset=UTF-8", "created_at": "2016-02-11T21:31:47Z", "download_count": 1, "id": 119, "label": "", "name": "example-howdy.deployable.yml", "size": 206, "state": "uploaded", "updated_at": "2016-02-11T21:31:48Z", "uploader": { "avatar_url": "https://github.example.com/avatars/u/703?", "events_url": "https://github.example.com/api/v3/users/travis/events{/privacy}", "followers_url": "https://github.example.com/api/v3/users/travis/followers", "following_url": "https://github.example.com/api/v3/users/travis/following{/other_user}", "gists_url": "https://github.example.com/api/v3/users/travis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.example.com/travis", "id": 703, "login": "travis", "organizations_url": "https://github.example.com/api/v3/users/travis/orgs", "received_events_url": "https://github.example.com/api/v3/users/travis/received_events", "repos_url": "https://github.example.com/api/v3/users/travis/repos", "site_admin": false, "starred_url": "https://github.example.com/api/v3/users/travis/starred{/owner}{/repo}", "subscriptions_url": "https://github.example.com/api/v3/users/travis/subscriptions", "type": "User", "url": "https://github.example.com/api/v3/users/travis" }, "url": "https://github.example.com/api/v3/repos/tim/howdy/releases/assets/119" } ], "assets_url": "https://github.example.com/api/v3/repos/tim/howdy/releases/250/assets", "author": { "avatar_url": "https://github.example.com/avatars/u/703?", "events_url": "https://github.example.com/api/v3/users/travis/events{/privacy}", "followers_url": "https://github.example.com/api/v3/users/travis/followers", "following_url": "https://github.example.com/api/v3/users/travis/following{/other_user}", "gists_url": "https://github.example.com/api/v3/users/travis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.example.com/travis", "id": 703, "login": "travis", "organizations_url": "https://github.example.com/api/v3/users/travis/orgs", "received_events_url": "https://github.example.com/api/v3/users/travis/received_events", "repos_url": "https://github.example.com/api/v3/users/travis/repos", "site_admin": false, "starred_url": "https://github.example.com/api/v3/users/travis/starred{/owner}{/repo}", "subscriptions_url": "https://github.example.com/api/v3/users/travis/subscriptions", "type": "User", "url": "https://github.example.com/api/v3/users/travis" }, "body": "", "created_at": "2016-02-11T21:30:05Z", "draft": false, "html_url": "https://github.example.com/tim/howdy/releases/tag/0.13.17", "id": 250, "name": "Inner Elemental", "prerelease": false, "published_at": "2016-02-11T21:31:47Z", "tag_name": "0.13.17", "tarball_url": "https://github.example.com/api/v3/repos/tim/howdy/tarball/0.13.17", "target_commitish": "master", "upload_url": "https://github.example.com/api/uploads/repos/tim/howdy/releases/250/assets{?name,label}", "url": "https://github.example.com/api/v3/repos/tim/howdy/releases/250", "zipball_url": "https://github.example.com/api/v3/repos/tim/howdy/zipball/0.13.17" }
{ "action": "published", "release": { "url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438", "assets_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets", "upload_url": "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}", "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1", "id": 1261438, "tag_name": "0.0.1", "target_commitish": "master", "name": null, "draft": false, "author": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ...
{ "action": "published", "release": { "url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438", "assets_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets", "upload_url": "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}", "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1", "id": 1261438, "tag_name": "0.0.1", "target_commitish": "master", "name": null, "draft": false, "author": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ... "type": "User", "site_admin": false }, "prerelease": false, "created_at": "2015-05-05T23:40:12Z", "published_at": "2015-05-05T23:40:38Z", "assets": [
], "tarball_url": "https://api.github.com/repos/baxterthehacker/public-repo/tarball/0.0.1", "zipball_url": "https://api.github.com/repos/baxterthehacker/public-repo/zipball/0.0.1", "body": null }, "repository": { "id": 35129377, "name": "public-repo", "full_name": "baxterthehacker/public-repo", "owner": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ... "type": "User", "site_admin": false }, "private": false, "html_url": "https://github.com/baxterthehacker/public-repo", "description": "", "fork": false, ... "created_at": "2015-05-05T23:40:12Z", "updated_at": "2015-05-05T23:40:30Z", "pushed_at": "2015-05-05T23:40:38Z", "git_url": "git://github.com/baxterthehacker/public-repo.git", "ssh_url": "[email protected]:baxterthehacker/public-repo.git", "clone_url": "https://github.com/baxterthehacker/public-repo.git", "svn_url": "https://github.com/baxterthehacker/public-repo", "homepage": null, "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": null, "has_issues": true, "has_downloads": true, "has_wiki": true, "has_pages": true, "forks_count": 0, "mirror_url": null, "open_issues_count": 2, "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master" }, "sender": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ... "type": "User", "site_admin": false } }
{ "id": 1, "url": "https://api.github.com/repos/octocat/Hello-World/hooks/1", "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/1/test", "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings", "name": "web", "events": [ "push", "pull_request" ], "active": true, "config": { "url": "http://example.com/webhook", "content_type": "json" }, "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z" }
{ "name": "web", "active": true, "events": [ "push", "pull_request" ], "config": { "url": "http://example.com/webhook", "content_type": "json" } }