├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── build.rs ├── data ├── commit_comment.json ├── create.json ├── delete.json ├── deployment.json ├── deployment_status.json ├── fork.json ├── gollum.json ├── issue_comment.json ├── issues.json ├── member.json ├── membership.json ├── page_build.json ├── ping.json ├── public.json ├── pull_request.json ├── pull_request_review_comment.json ├── push.json ├── release.json ├── repository.json ├── status.json ├── team_add.json └── watch.json ├── dockerrun.sh ├── events.txt ├── examples └── server.rs ├── rustfmt.toml └── src ├── events.rs ├── events.rs.in ├── hook.rs └── lib.rs /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | *.bk 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: rust 3 | matrix: 4 | fast_finish: true 5 | include: 6 | - rust: nightly 7 | - rust: beta 8 | - rust: stable 9 | allow_failures: 10 | - rust: nightly 11 | script: 12 | - cargo build 13 | - cargo test 14 | - cargo doc 15 | cache: 16 | apt: true 17 | cargo: true 18 | directories: 19 | - target/debug/deps 20 | - target/debug/build 21 | 22 | addons: 23 | apt: 24 | packages: 25 | - libcurl4-openssl-dev 26 | - libelf-dev 27 | - libdw-dev 28 | - binutils-dev # required for `kcov --verify` 29 | - libbfd-dev # required for `kcov --verify` 30 | 31 | after_success: | 32 | [ $TRAVIS_RUST_VERSION = stable ] && 33 | [ $TRAVIS_BRANCH = master ] && 34 | [ $TRAVIS_PULL_REQUEST = false ] && 35 | wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && 36 | tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && make install DESTDIR=../tmp && cd ../.. && 37 | ls target/debug && 38 | ./kcov-master/tmp/usr/local/bin/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/afterparty-* && 39 | cargo doc && 40 | echo "" > target/doc/index.html && 41 | pip install --user ghp-import && 42 | /home/travis/.local/bin/ghp-import -n target/doc && 43 | git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages 44 | env: 45 | global: 46 | secure: LYiZugMAqC3ZEERXjQRPjFpa1FvvkWQDBKoMQfdoExcBR4wsIU1d8dpu4fZ+HBNiakmkZiu8s5IZrWvl4WGTIFD9gkHav7ufQPxNsGdC1mWoQzTyYH789l0asWhrW8nYoba5owORQ/nXUEH7wE4SxNP1hRBynqYJmhn9i5osejn+DT9jsqTktzm50OrylOEi6LJO7guk7mYqKyh5HqlL9l9Zskybro67M5ykKvD/PalklNrC+lrr9HGRAMU1oCGv1MsTPoem2afii5nC4rHTUHzd8lAXaonnwupD+wtfYcQaeKH4kWcT1F0LMkXcdCUW+BgdlEcju6Qg9PZef4jFL1Okuu30dJlBqdifTw6NyaXxJnBiz/MQIfa9s6UdadvRolgSeXHhq5tOy8JhSIWvwKH0ZEjwqrN56KVKw8Pfnv6wSAIC37zChg5MLaQFlILQMR0nzQlj+3cz6fgSxnd/SY3coMeMKN54KlBdE8B7QDiSusK0Yghf24XIXfEGsidAJZyyd2xhD93ztL0gjdZIOYR89mcrketLgZI2KaNutSnisKX9U0NqjjpLoPxYpwCEVhg7KmGucGcUGl9xMjaGlAZIs07TLQYBhaTUFSEsrklzIMbWu2VBLKjqXcKYLANpbLip+t2hevS9haU4mb9jr9JLEdo1A6BVrxaYq5pmBEQ= 47 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # 0.1.3 (unreleased) 2 | 3 | * make signature verification happen in constant time, avoiding potential timing attack 4 | * only parse inbound events if interested hooks exists 5 | * replaced inferred payload structs with explicit payload structs. which speeds up compilation and fixes 6 | some issues with the generated output. 7 | 8 | # 0.1.2 9 | 10 | * disabling hyper in build dependencies to work around musl build issue on musl 11 | 12 | # 0.1.1 13 | 14 | * update serde/hyper dependencies 15 | * rework code generation 16 | 17 | # 0.1.0 18 | 19 | * initial release 20 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "afterparty" 3 | version = "0.1.2" 4 | authors = ["softprops "] 5 | description = "A github webhook server" 6 | documentation = "http://softprops.github.io/afterparty" 7 | homepage = "https://github.com/softprops/afterparty" 8 | repository = "https://github.com/softprops/afterparty" 9 | keywords = ["github", "ci", "webhook", "hyper"] 10 | license = "MIT" 11 | build = "build.rs" 12 | 13 | [build-dependencies] 14 | serde_codegen = "0.8" 15 | serde_json = "0.8" 16 | glob = "0.2.11" 17 | 18 | 19 | [dev-dependencies] 20 | env_logger = "0.3" 21 | 22 | [dependencies] 23 | hex = "0.2.0" 24 | case = "0.0" 25 | hyper = "0.9" 26 | rust-crypto = "0.2" 27 | log = "0.3" 28 | env_logger = "0.3" 29 | serde = "0.8" 30 | serde_json = "0.8" 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-2016 Doug Tangren 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | build: 2 | @cargo build 3 | .PHONY: build 4 | 5 | generate: export FETCH_PAYLOAD_DATA=true 6 | generate: 7 | @cargo build 8 | .PHONY: generate 9 | 10 | clean: 11 | @cargo clean 12 | $(shell rm data/*.json) 13 | .PHONY: clean 14 | 15 | test: 16 | @cargo test 17 | .PHONY: test 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # afterparty 2 | 3 | [![Build Status](https://travis-ci.org/softprops/afterparty.svg?branch=master)](https://travis-ci.org/softprops/afterparty) [![Coverage Status](https://coveralls.io/repos/github/softprops/afterparty/badge.svg?branch=master)](https://coveralls.io/github/softprops/afterparty?branch=master) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) [![crates.io](http://meritbadge.herokuapp.com/afterparty)](https://crates.io/crates/afterparty) 4 | 5 | > Where your commits go after github 6 | 7 | Afterparty is a library for building Github webhook integrations in Rust. 8 | 9 | ## docs 10 | 11 | Find them [here](http://softprops.github.io/afterparty) 12 | 13 | ## install 14 | 15 | Add the following to your `Cargo.toml` file 16 | 17 | ```toml 18 | [dependencies] 19 | afterparty = "0.1" 20 | ``` 21 | 22 | ## usage 23 | 24 | Afterparty has two key abstractions, a `Hook`: a handler interface webhook deliveries, and a `Hub`: a registry for hooks. A `Hub` provides `Delivery` instances to interested hooks. 25 | 26 | A `Delivery` encodes all relevant webhook request information including a unique identifier for the delivery, the event name, and statically typed payload represented as an enumerated type of `Event`. 27 | 28 | Hooks subscribe to [Events](https://developer.github.com/webhooks/#events) via `Hub`'s a `handle` and `handle_authenticated` functions. 29 | To subscribe to multiple events, subscribe with "*" and pattern match on the provided delivery's payload value. 30 | 31 | To register your webhook with Github visit your repo's hooks configuration form `https://github.com/{login}/{repo}/settings/hooks/new` and select the events you 32 | want Github to notify your server about. 33 | 34 | Hubs implements [Hyper](https://github.com/hyperium/hyper)'s Server Handler trait so that it may be mounted into any hyper Server. 35 | 36 | ```rust 37 | extern crate afterparty; 38 | extern crate hyper; 39 | 40 | use hyper::Server; 41 | use afterparty::{Delivery, Event, Hub}; 42 | 43 | fn main() { 44 | let mut hub = Hub::new(); 45 | hub.handle("*", |delivery: &Delivery| { 46 | println!("rec delivery {:#?}", delivery) 47 | }); 48 | hub.handle_authenticated("pull_request", "secret", |delivery: &Delivery| { 49 | println!("rec authenticated delivery"); 50 | match delivery.payload { 51 | Event::PullRequest { ref action, ref sender, .. } => { 52 | println!("sender {} action {}", sender.login, action) 53 | }, 54 | _ => () 55 | } 56 | }); 57 | let svc = Server::http("0.0.0.0:4567") 58 | .unwrap() 59 | .handle(hub); 60 | println!("hub is up"); 61 | svc.unwrap(); 62 | } 63 | ``` 64 | 65 | ### note on UFCS 66 | 67 | In the case that you have hyper::server::Handler and hubcaps::Hub in scope you may need to use UFCS to invoke 68 | the handle method on a HUB instance. 69 | 70 | For example... 71 | 72 | ```rust 73 | extern crate afterparty; 74 | extern crate hyper; 75 | 76 | use hyper::server::Handle; 77 | use afterparty::{Delivery, Hub}; 78 | 79 | fn main() { 80 | let mut hub = Hub::new(); 81 | hubcaps::Hub::handle(&mut hub, "*", |delivery: &Delivery| { }); 82 | } 83 | ``` 84 | 85 | ## building 86 | 87 | As far as rust project builds go this one is somewhat interesting. This library uses serde for json encoding/decoding 88 | and is focused on stable rust releases so a tactic for code generatation at build time is employed. Before that happens 89 | an attempt is made to synthesize structs based on Github api documentation json vendored in the data directory. 90 | A known issue exists where the repo `deployments_url` field is omitted with a fresh set of json. serde will error at 91 | deserializing because of this. This field was hand added within the json vendored dataset for the time being. Serde 0.7 92 | will likely be released soon and will enable this library to avoid these kinds of runtime deserialization errors for 93 | missing fields. 94 | 95 | Doug Tangren (softprops) 2015-2016 96 | -------------------------------------------------------------------------------- /build.rs: -------------------------------------------------------------------------------- 1 | extern crate serde_codegen; 2 | extern crate serde_json; 3 | extern crate glob; 4 | 5 | use std::env; 6 | use std::fs; 7 | use std::path::Path; 8 | 9 | /// generate an enum of Events 10 | fn main() { 11 | for entry in glob::glob("src/**/*.rs.in").expect("Failed to read glob pattern") { 12 | println!("cargo:rerun-if-changed={}", entry.unwrap().display()); 13 | } 14 | 15 | let out_dir = env::var_os("OUT_DIR").unwrap(); 16 | 17 | // Switch to our `src` directory so that we have the right base for our 18 | // globs, and so that we won't need to strip `src/` off every path. 19 | env::set_current_dir("src").unwrap(); 20 | 21 | for entry in glob::glob("**/*.rs.in").expect("Failed to read glob pattern") { 22 | match entry { 23 | Ok(src) => { 24 | let mut dst = Path::new(&out_dir).join(&src); 25 | 26 | // Change ".rs.in" to ".rs". 27 | dst.set_file_name(src.file_stem().expect("Failed to get file stem")); 28 | dst.set_extension("rs"); 29 | 30 | // Make sure our target directory exists. We only need 31 | // this if there are extra nested sudirectories under src/. 32 | fs::create_dir_all(dst.parent().unwrap()).unwrap(); 33 | 34 | // Process our source file. 35 | serde_codegen::expand(&src, &dst).unwrap(); 36 | } 37 | Err(e) => { 38 | panic!("Error globbing: {}", e); 39 | } 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /data/commit_comment.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "created", 3 | "comment": { 4 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/comments/11056394", 5 | "html_url": "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b#commitcomment-11056394", 6 | "id": 11056394, 7 | "user": { 8 | "login": "baxterthehacker", 9 | "id": 6752317, 10 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 11 | "gravatar_id": "", 12 | "url": "https://api.github.com/users/baxterthehacker", 13 | "html_url": "https://github.com/baxterthehacker", 14 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 15 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 16 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 17 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 18 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 19 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 20 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 21 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 22 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 23 | "type": "User", 24 | "site_admin": false 25 | }, 26 | "position": null, 27 | "line": null, 28 | "path": null, 29 | "commit_id": "9049f1265b7d61be4a8904a9a27120d2064dab3b", 30 | "created_at": "2015-05-05T23:40:29Z", 31 | "updated_at": "2015-05-05T23:40:29Z", 32 | "body": "This is a really good change! :+1:" 33 | }, 34 | "repository": { 35 | "id": 35129377, 36 | "name": "public-repo", 37 | "full_name": "baxterthehacker/public-repo", 38 | "owner": { 39 | "login": "baxterthehacker", 40 | "id": 6752317, 41 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 42 | "gravatar_id": "", 43 | "url": "https://api.github.com/users/baxterthehacker", 44 | "html_url": "https://github.com/baxterthehacker", 45 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 46 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 47 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 48 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 49 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 50 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 51 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 52 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 53 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 54 | "type": "User", 55 | "site_admin": false 56 | }, 57 | "private": false, 58 | "html_url": "https://github.com/baxterthehacker/public-repo", 59 | "description": "", 60 | "fork": false, 61 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 62 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 63 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 64 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 65 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 66 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 67 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 68 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 69 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 70 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 71 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 72 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 73 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 74 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 75 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 76 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 77 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 78 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 79 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 80 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 81 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 82 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 83 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 84 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 85 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 86 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 87 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 88 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 89 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 90 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 91 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 92 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 93 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 94 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 95 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 96 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 97 | "created_at": "2015-05-05T23:40:12Z", 98 | "updated_at": "2015-05-05T23:40:12Z", 99 | "pushed_at": "2015-05-05T23:40:27Z", 100 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 101 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 102 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 103 | "svn_url": "https://github.com/baxterthehacker/public-repo", 104 | "homepage": null, 105 | "size": 0, 106 | "stargazers_count": 0, 107 | "watchers_count": 0, 108 | "language": null, 109 | "has_issues": true, 110 | "has_downloads": true, 111 | "has_wiki": true, 112 | "has_pages": true, 113 | "forks_count": 0, 114 | "mirror_url": null, 115 | "open_issues_count": 2, 116 | "forks": 0, 117 | "open_issues": 2, 118 | "watchers": 0, 119 | "default_branch": "master" 120 | }, 121 | "sender": { 122 | "login": "baxterthehacker", 123 | "id": 6752317, 124 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 125 | "gravatar_id": "", 126 | "url": "https://api.github.com/users/baxterthehacker", 127 | "html_url": "https://github.com/baxterthehacker", 128 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 129 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 130 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 131 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 132 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 133 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 134 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 135 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 136 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 137 | "type": "User", 138 | "site_admin": false 139 | } 140 | } 141 | -------------------------------------------------------------------------------- /data/create.json: -------------------------------------------------------------------------------- 1 | { 2 | "ref": "0.0.1", 3 | "ref_type": "tag", 4 | "master_branch": "master", 5 | "description": "", 6 | "pusher_type": "user", 7 | "repository": { 8 | "id": 35129377, 9 | "name": "public-repo", 10 | "full_name": "baxterthehacker/public-repo", 11 | "owner": { 12 | "login": "baxterthehacker", 13 | "id": 6752317, 14 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 15 | "gravatar_id": "", 16 | "url": "https://api.github.com/users/baxterthehacker", 17 | "html_url": "https://github.com/baxterthehacker", 18 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 19 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 20 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 21 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 22 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 23 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 24 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 25 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 26 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 27 | "type": "User", 28 | "site_admin": false 29 | }, 30 | "private": false, 31 | "html_url": "https://github.com/baxterthehacker/public-repo", 32 | "description": "", 33 | "fork": false, 34 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 35 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 36 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 37 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 38 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 39 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 40 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 41 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 42 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 43 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 44 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 45 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 46 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 47 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 48 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 49 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 50 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 51 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 52 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 53 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 54 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 55 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 56 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 57 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 58 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 59 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 60 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 61 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 62 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 63 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 64 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 65 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 66 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 67 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 68 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 69 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 70 | "created_at": "2015-05-05T23:40:12Z", 71 | "updated_at": "2015-05-05T23:40:30Z", 72 | "pushed_at": "2015-05-05T23:40:38Z", 73 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 74 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 75 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 76 | "svn_url": "https://github.com/baxterthehacker/public-repo", 77 | "homepage": null, 78 | "size": 0, 79 | "stargazers_count": 0, 80 | "watchers_count": 0, 81 | "language": null, 82 | "has_issues": true, 83 | "has_downloads": true, 84 | "has_wiki": true, 85 | "has_pages": true, 86 | "forks_count": 0, 87 | "mirror_url": null, 88 | "open_issues_count": 2, 89 | "forks": 0, 90 | "open_issues": 2, 91 | "watchers": 0, 92 | "default_branch": "master" 93 | }, 94 | "sender": { 95 | "login": "baxterthehacker", 96 | "id": 6752317, 97 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 98 | "gravatar_id": "", 99 | "url": "https://api.github.com/users/baxterthehacker", 100 | "html_url": "https://github.com/baxterthehacker", 101 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 102 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 103 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 104 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 105 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 106 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 107 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 108 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 109 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 110 | "type": "User", 111 | "site_admin": false 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /data/delete.json: -------------------------------------------------------------------------------- 1 | { 2 | "ref": "simple-tag", 3 | "ref_type": "tag", 4 | "pusher_type": "user", 5 | "repository": { 6 | "id": 35129377, 7 | "name": "public-repo", 8 | "full_name": "baxterthehacker/public-repo", 9 | "owner": { 10 | "login": "baxterthehacker", 11 | "id": 6752317, 12 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 13 | "gravatar_id": "", 14 | "url": "https://api.github.com/users/baxterthehacker", 15 | "html_url": "https://github.com/baxterthehacker", 16 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 17 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 18 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 19 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 20 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 21 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 22 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 23 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 24 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 25 | "type": "User", 26 | "site_admin": false 27 | }, 28 | "private": false, 29 | "html_url": "https://github.com/baxterthehacker/public-repo", 30 | "description": "", 31 | "fork": false, 32 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 33 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 34 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 35 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 36 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 37 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 38 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 39 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 40 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 41 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 42 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 43 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 44 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 45 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 46 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 47 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 48 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 49 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 50 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 51 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 52 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 53 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 54 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 55 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 56 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 57 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 58 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 59 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 60 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 61 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 62 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 63 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 64 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 65 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 66 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 67 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 68 | "created_at": "2015-05-05T23:40:12Z", 69 | "updated_at": "2015-05-05T23:40:30Z", 70 | "pushed_at": "2015-05-05T23:40:40Z", 71 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 72 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 73 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 74 | "svn_url": "https://github.com/baxterthehacker/public-repo", 75 | "homepage": null, 76 | "size": 0, 77 | "stargazers_count": 0, 78 | "watchers_count": 0, 79 | "language": null, 80 | "has_issues": true, 81 | "has_downloads": true, 82 | "has_wiki": true, 83 | "has_pages": true, 84 | "forks_count": 0, 85 | "mirror_url": null, 86 | "open_issues_count": 2, 87 | "forks": 0, 88 | "open_issues": 2, 89 | "watchers": 0, 90 | "default_branch": "master" 91 | }, 92 | "sender": { 93 | "login": "baxterthehacker", 94 | "id": 6752317, 95 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 96 | "gravatar_id": "", 97 | "url": "https://api.github.com/users/baxterthehacker", 98 | "html_url": "https://github.com/baxterthehacker", 99 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 100 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 101 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 102 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 103 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 104 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 105 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 106 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 107 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 108 | "type": "User", 109 | "site_admin": false 110 | } 111 | } 112 | -------------------------------------------------------------------------------- /data/deployment.json: -------------------------------------------------------------------------------- 1 | { 2 | "deployment": { 3 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", 4 | "id": 710692, 5 | "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", 6 | "ref": "master", 7 | "task": "deploy", 8 | "payload": { 9 | }, 10 | "environment": "production", 11 | "description": null, 12 | "creator": { 13 | "login": "baxterthehacker", 14 | "id": 6752317, 15 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 16 | "gravatar_id": "", 17 | "url": "https://api.github.com/users/baxterthehacker", 18 | "html_url": "https://github.com/baxterthehacker", 19 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 20 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 21 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 22 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 23 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 24 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 25 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 26 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 27 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 28 | "type": "User", 29 | "site_admin": false 30 | }, 31 | "created_at": "2015-05-05T23:40:38Z", 32 | "updated_at": "2015-05-05T23:40:38Z", 33 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses", 34 | "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo" 35 | }, 36 | "repository": { 37 | "id": 35129377, 38 | "name": "public-repo", 39 | "full_name": "baxterthehacker/public-repo", 40 | "owner": { 41 | "login": "baxterthehacker", 42 | "id": 6752317, 43 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 44 | "gravatar_id": "", 45 | "url": "https://api.github.com/users/baxterthehacker", 46 | "html_url": "https://github.com/baxterthehacker", 47 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 48 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 49 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 50 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 51 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 52 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 53 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 54 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 55 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 56 | "type": "User", 57 | "site_admin": false 58 | }, 59 | "private": false, 60 | "html_url": "https://github.com/baxterthehacker/public-repo", 61 | "description": "", 62 | "fork": false, 63 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 64 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 65 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 66 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 67 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 68 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 69 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 70 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 71 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 72 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 73 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 74 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 75 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 76 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 77 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 78 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 79 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 80 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 81 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 82 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 83 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 84 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 85 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 86 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 87 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 88 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 89 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 90 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 91 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 92 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 93 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 94 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 95 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 96 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 97 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 98 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 99 | "created_at": "2015-05-05T23:40:12Z", 100 | "updated_at": "2015-05-05T23:40:30Z", 101 | "pushed_at": "2015-05-05T23:40:38Z", 102 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 103 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 104 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 105 | "svn_url": "https://github.com/baxterthehacker/public-repo", 106 | "homepage": null, 107 | "size": 0, 108 | "stargazers_count": 0, 109 | "watchers_count": 0, 110 | "language": null, 111 | "has_issues": true, 112 | "has_downloads": true, 113 | "has_wiki": true, 114 | "has_pages": true, 115 | "forks_count": 0, 116 | "mirror_url": null, 117 | "open_issues_count": 2, 118 | "forks": 0, 119 | "open_issues": 2, 120 | "watchers": 0, 121 | "default_branch": "master" 122 | }, 123 | "sender": { 124 | "login": "baxterthehacker", 125 | "id": 6752317, 126 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 127 | "gravatar_id": "", 128 | "url": "https://api.github.com/users/baxterthehacker", 129 | "html_url": "https://github.com/baxterthehacker", 130 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 131 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 132 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 133 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 134 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 135 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 136 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 137 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 138 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 139 | "type": "User", 140 | "site_admin": false 141 | } 142 | } 143 | -------------------------------------------------------------------------------- /data/deployment_status.json: -------------------------------------------------------------------------------- 1 | { 2 | "deployment_status": { 3 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses/1115122", 4 | "id": 1115122, 5 | "state": "success", 6 | "creator": { 7 | "login": "baxterthehacker", 8 | "id": 6752317, 9 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 10 | "gravatar_id": "", 11 | "url": "https://api.github.com/users/baxterthehacker", 12 | "html_url": "https://github.com/baxterthehacker", 13 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 14 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 15 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 16 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 17 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 18 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 19 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 20 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 21 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 22 | "type": "User", 23 | "site_admin": false 24 | }, 25 | "description": null, 26 | "target_url": null, 27 | "created_at": "2015-05-05T23:40:39Z", 28 | "updated_at": "2015-05-05T23:40:39Z", 29 | "deployment_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", 30 | "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo" 31 | }, 32 | "deployment": { 33 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692", 34 | "id": 710692, 35 | "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", 36 | "ref": "master", 37 | "task": "deploy", 38 | "payload": { 39 | }, 40 | "environment": "production", 41 | "description": null, 42 | "creator": { 43 | "login": "baxterthehacker", 44 | "id": 6752317, 45 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 46 | "gravatar_id": "", 47 | "url": "https://api.github.com/users/baxterthehacker", 48 | "html_url": "https://github.com/baxterthehacker", 49 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 50 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 51 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 52 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 53 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 54 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 55 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 56 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 57 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 58 | "type": "User", 59 | "site_admin": false 60 | }, 61 | "created_at": "2015-05-05T23:40:38Z", 62 | "updated_at": "2015-05-05T23:40:38Z", 63 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments/710692/statuses", 64 | "repository_url": "https://api.github.com/repos/baxterthehacker/public-repo" 65 | }, 66 | "repository": { 67 | "id": 35129377, 68 | "name": "public-repo", 69 | "full_name": "baxterthehacker/public-repo", 70 | "owner": { 71 | "login": "baxterthehacker", 72 | "id": 6752317, 73 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 74 | "gravatar_id": "", 75 | "url": "https://api.github.com/users/baxterthehacker", 76 | "html_url": "https://github.com/baxterthehacker", 77 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 78 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 79 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 80 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 81 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 82 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 83 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 84 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 85 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 86 | "type": "User", 87 | "site_admin": false 88 | }, 89 | "private": false, 90 | "html_url": "https://github.com/baxterthehacker/public-repo", 91 | "description": "", 92 | "fork": false, 93 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 94 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 95 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 96 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 97 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 98 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 99 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 100 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 101 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 102 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 103 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 104 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 105 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 106 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 107 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 108 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 109 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 110 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 111 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 112 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 113 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 114 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 115 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 116 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 117 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 118 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 119 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 120 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 121 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 122 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 123 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 124 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 125 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 126 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 127 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 128 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 129 | "created_at": "2015-05-05T23:40:12Z", 130 | "updated_at": "2015-05-05T23:40:30Z", 131 | "pushed_at": "2015-05-05T23:40:38Z", 132 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 133 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 134 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 135 | "svn_url": "https://github.com/baxterthehacker/public-repo", 136 | "homepage": null, 137 | "size": 0, 138 | "stargazers_count": 0, 139 | "watchers_count": 0, 140 | "language": null, 141 | "has_issues": true, 142 | "has_downloads": true, 143 | "has_wiki": true, 144 | "has_pages": true, 145 | "forks_count": 0, 146 | "mirror_url": null, 147 | "open_issues_count": 2, 148 | "forks": 0, 149 | "open_issues": 2, 150 | "watchers": 0, 151 | "default_branch": "master" 152 | }, 153 | "sender": { 154 | "login": "baxterthehacker", 155 | "id": 6752317, 156 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 157 | "gravatar_id": "", 158 | "url": "https://api.github.com/users/baxterthehacker", 159 | "html_url": "https://github.com/baxterthehacker", 160 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 161 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 162 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 163 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 164 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 165 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 166 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 167 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 168 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 169 | "type": "User", 170 | "site_admin": false 171 | } 172 | } 173 | -------------------------------------------------------------------------------- /data/fork.json: -------------------------------------------------------------------------------- 1 | { 2 | "forkee": { 3 | "id": 35129393, 4 | "name": "public-repo", 5 | "full_name": "baxterandthehackers/public-repo", 6 | "owner": { 7 | "login": "baxterandthehackers", 8 | "id": 7649605, 9 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", 10 | "gravatar_id": "", 11 | "url": "https://api.github.com/users/baxterandthehackers", 12 | "html_url": "https://github.com/baxterandthehackers", 13 | "followers_url": "https://api.github.com/users/baxterandthehackers/followers", 14 | "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", 15 | "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", 16 | "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", 17 | "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", 18 | "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", 19 | "repos_url": "https://api.github.com/users/baxterandthehackers/repos", 20 | "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", 21 | "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", 22 | "type": "Organization", 23 | "site_admin": false 24 | }, 25 | "private": false, 26 | "html_url": "https://github.com/baxterandthehackers/public-repo", 27 | "description": "", 28 | "fork": true, 29 | "url": "https://api.github.com/repos/baxterandthehackers/public-repo", 30 | "forks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/forks", 31 | "keys_url": "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}", 32 | "collaborators_url": "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}", 33 | "teams_url": "https://api.github.com/repos/baxterandthehackers/public-repo/teams", 34 | "hooks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/hooks", 35 | "issue_events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}", 36 | "events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/events", 37 | "assignees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}", 38 | "branches_url": "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}", 39 | "tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/tags", 40 | "blobs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}", 41 | "git_tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}", 42 | "git_refs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}", 43 | "trees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}", 44 | "statuses_url": "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}", 45 | "languages_url": "https://api.github.com/repos/baxterandthehackers/public-repo/languages", 46 | "stargazers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers", 47 | "contributors_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contributors", 48 | "subscribers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers", 49 | "subscription_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscription", 50 | "commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}", 51 | "git_commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}", 52 | "comments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}", 53 | "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}", 54 | "contents_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}", 55 | "compare_url": "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}", 56 | "merges_url": "https://api.github.com/repos/baxterandthehackers/public-repo/merges", 57 | "archive_url": "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}", 58 | "downloads_url": "https://api.github.com/repos/baxterandthehackers/public-repo/downloads", 59 | "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", 60 | "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", 61 | "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", 62 | "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", 63 | "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", 64 | "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", 65 | "created_at": "2015-05-05T23:40:30Z", 66 | "updated_at": "2015-05-05T23:40:30Z", 67 | "pushed_at": "2015-05-05T23:40:27Z", 68 | "git_url": "git://github.com/baxterandthehackers/public-repo.git", 69 | "ssh_url": "git@github.com:baxterandthehackers/public-repo.git", 70 | "clone_url": "https://github.com/baxterandthehackers/public-repo.git", 71 | "svn_url": "https://github.com/baxterandthehackers/public-repo", 72 | "homepage": null, 73 | "size": 0, 74 | "stargazers_count": 0, 75 | "watchers_count": 0, 76 | "language": null, 77 | "has_issues": false, 78 | "has_downloads": true, 79 | "has_wiki": true, 80 | "has_pages": true, 81 | "forks_count": 0, 82 | "mirror_url": null, 83 | "open_issues_count": 0, 84 | "forks": 0, 85 | "open_issues": 0, 86 | "watchers": 0, 87 | "default_branch": "master", 88 | "public": true 89 | }, 90 | "repository": { 91 | "id": 35129377, 92 | "name": "public-repo", 93 | "full_name": "baxterthehacker/public-repo", 94 | "owner": { 95 | "login": "baxterthehacker", 96 | "id": 6752317, 97 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 98 | "gravatar_id": "", 99 | "url": "https://api.github.com/users/baxterthehacker", 100 | "html_url": "https://github.com/baxterthehacker", 101 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 102 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 103 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 104 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 105 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 106 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 107 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 108 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 109 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 110 | "type": "User", 111 | "site_admin": false 112 | }, 113 | "private": false, 114 | "html_url": "https://github.com/baxterthehacker/public-repo", 115 | "description": "", 116 | "fork": false, 117 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 118 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 119 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 120 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 121 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 122 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 123 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 124 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 125 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 126 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 127 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 128 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 129 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 130 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 131 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 132 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 133 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 134 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 135 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 136 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 137 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 138 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 139 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 140 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 141 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 142 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 143 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 144 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 145 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 146 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 147 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 148 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 149 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 150 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 151 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 152 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 153 | "created_at": "2015-05-05T23:40:12Z", 154 | "updated_at": "2015-05-05T23:40:30Z", 155 | "pushed_at": "2015-05-05T23:40:27Z", 156 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 157 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 158 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 159 | "svn_url": "https://github.com/baxterthehacker/public-repo", 160 | "homepage": null, 161 | "size": 0, 162 | "stargazers_count": 0, 163 | "watchers_count": 0, 164 | "language": null, 165 | "has_issues": true, 166 | "has_downloads": true, 167 | "has_wiki": true, 168 | "has_pages": true, 169 | "forks_count": 1, 170 | "mirror_url": null, 171 | "open_issues_count": 2, 172 | "forks": 1, 173 | "open_issues": 2, 174 | "watchers": 0, 175 | "default_branch": "master" 176 | }, 177 | "sender": { 178 | "login": "baxterandthehackers", 179 | "id": 7649605, 180 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", 181 | "gravatar_id": "", 182 | "url": "https://api.github.com/users/baxterandthehackers", 183 | "html_url": "https://github.com/baxterandthehackers", 184 | "followers_url": "https://api.github.com/users/baxterandthehackers/followers", 185 | "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", 186 | "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", 187 | "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", 188 | "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", 189 | "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", 190 | "repos_url": "https://api.github.com/users/baxterandthehackers/repos", 191 | "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", 192 | "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", 193 | "type": "Organization", 194 | "site_admin": false 195 | } 196 | } 197 | -------------------------------------------------------------------------------- /data/gollum.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | { 4 | "page_name": "Home", 5 | "title": "Home", 6 | "summary": null, 7 | "action": "created", 8 | "sha": "91ea1bd42aa2ba166b86e8aefe049e9837214e67", 9 | "html_url": "https://github.com/baxterthehacker/public-repo/wiki/Home" 10 | } 11 | ], 12 | "repository": { 13 | "id": 35129377, 14 | "name": "public-repo", 15 | "full_name": "baxterthehacker/public-repo", 16 | "owner": { 17 | "login": "baxterthehacker", 18 | "id": 6752317, 19 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 20 | "gravatar_id": "", 21 | "url": "https://api.github.com/users/baxterthehacker", 22 | "html_url": "https://github.com/baxterthehacker", 23 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 24 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 25 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 26 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 27 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 28 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 29 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 30 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 31 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 32 | "type": "User", 33 | "site_admin": false 34 | }, 35 | "private": false, 36 | "html_url": "https://github.com/baxterthehacker/public-repo", 37 | "description": "", 38 | "fork": false, 39 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 40 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 41 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 42 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 43 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 44 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 45 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 46 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 47 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 48 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 49 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 50 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 51 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 52 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 53 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 54 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 55 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 56 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 57 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 58 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 59 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 60 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 61 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 62 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 63 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 64 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 65 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 66 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 67 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 68 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 69 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 70 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 71 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 72 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 73 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 74 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 75 | "created_at": "2015-05-05T23:40:12Z", 76 | "updated_at": "2015-05-05T23:40:12Z", 77 | "pushed_at": "2015-05-05T23:40:17Z", 78 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 79 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 80 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 81 | "svn_url": "https://github.com/baxterthehacker/public-repo", 82 | "homepage": null, 83 | "size": 0, 84 | "stargazers_count": 0, 85 | "watchers_count": 0, 86 | "language": null, 87 | "has_issues": true, 88 | "has_downloads": true, 89 | "has_wiki": true, 90 | "has_pages": true, 91 | "forks_count": 0, 92 | "mirror_url": null, 93 | "open_issues_count": 0, 94 | "forks": 0, 95 | "open_issues": 0, 96 | "watchers": 0, 97 | "default_branch": "master" 98 | }, 99 | "sender": { 100 | "login": "jasonrudolph", 101 | "id": 2988, 102 | "avatar_url": "https://avatars.githubusercontent.com/u/2988?v=3", 103 | "gravatar_id": "", 104 | "url": "https://api.github.com/users/jasonrudolph", 105 | "html_url": "https://github.com/jasonrudolph", 106 | "followers_url": "https://api.github.com/users/jasonrudolph/followers", 107 | "following_url": "https://api.github.com/users/jasonrudolph/following{/other_user}", 108 | "gists_url": "https://api.github.com/users/jasonrudolph/gists{/gist_id}", 109 | "starred_url": "https://api.github.com/users/jasonrudolph/starred{/owner}{/repo}", 110 | "subscriptions_url": "https://api.github.com/users/jasonrudolph/subscriptions", 111 | "organizations_url": "https://api.github.com/users/jasonrudolph/orgs", 112 | "repos_url": "https://api.github.com/users/jasonrudolph/repos", 113 | "events_url": "https://api.github.com/users/jasonrudolph/events{/privacy}", 114 | "received_events_url": "https://api.github.com/users/jasonrudolph/received_events", 115 | "type": "User", 116 | "site_admin": true 117 | } 118 | } 119 | -------------------------------------------------------------------------------- /data/issue_comment.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "created", 3 | "issue": { 4 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2", 5 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}", 6 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments", 7 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events", 8 | "html_url": "https://github.com/baxterthehacker/public-repo/issues/2", 9 | "id": 73464126, 10 | "number": 2, 11 | "title": "Spelling error in the README file", 12 | "user": { 13 | "login": "baxterthehacker", 14 | "id": 6752317, 15 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 16 | "gravatar_id": "", 17 | "url": "https://api.github.com/users/baxterthehacker", 18 | "html_url": "https://github.com/baxterthehacker", 19 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 20 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 21 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 22 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 23 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 24 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 25 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 26 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 27 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 28 | "type": "User", 29 | "site_admin": false 30 | }, 31 | "labels": [ 32 | { 33 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug", 34 | "name": "bug", 35 | "color": "fc2929" 36 | } 37 | ], 38 | "state": "open", 39 | "locked": false, 40 | "assignee": null, 41 | "milestone": null, 42 | "comments": 1, 43 | "created_at": "2015-05-05T23:40:28Z", 44 | "updated_at": "2015-05-05T23:40:28Z", 45 | "closed_at": null, 46 | "body": "It looks like you accidently spelled 'commit' with two 't's." 47 | }, 48 | "comment": { 49 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/99262140", 50 | "html_url": "https://github.com/baxterthehacker/public-repo/issues/2#issuecomment-99262140", 51 | "issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2", 52 | "id": 99262140, 53 | "user": { 54 | "login": "baxterthehacker", 55 | "id": 6752317, 56 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 57 | "gravatar_id": "", 58 | "url": "https://api.github.com/users/baxterthehacker", 59 | "html_url": "https://github.com/baxterthehacker", 60 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 61 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 62 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 63 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 64 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 65 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 66 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 67 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 68 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 69 | "type": "User", 70 | "site_admin": false 71 | }, 72 | "created_at": "2015-05-05T23:40:28Z", 73 | "updated_at": "2015-05-05T23:40:28Z", 74 | "body": "You are totally right! I'll get this fixed right away." 75 | }, 76 | "repository": { 77 | "id": 35129377, 78 | "name": "public-repo", 79 | "full_name": "baxterthehacker/public-repo", 80 | "owner": { 81 | "login": "baxterthehacker", 82 | "id": 6752317, 83 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 84 | "gravatar_id": "", 85 | "url": "https://api.github.com/users/baxterthehacker", 86 | "html_url": "https://github.com/baxterthehacker", 87 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 88 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 89 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 90 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 91 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 92 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 93 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 94 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 95 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 96 | "type": "User", 97 | "site_admin": false 98 | }, 99 | "private": false, 100 | "html_url": "https://github.com/baxterthehacker/public-repo", 101 | "description": "", 102 | "fork": false, 103 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 104 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 105 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 106 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 107 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 108 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 109 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 110 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 111 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 112 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 113 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 114 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 115 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 116 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 117 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 118 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 119 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 120 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 121 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 122 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 123 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 124 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 125 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 126 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 127 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 128 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 129 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 130 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 131 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 132 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 133 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 134 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 135 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 136 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 137 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 138 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 139 | "created_at": "2015-05-05T23:40:12Z", 140 | "updated_at": "2015-05-05T23:40:12Z", 141 | "pushed_at": "2015-05-05T23:40:27Z", 142 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 143 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 144 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 145 | "svn_url": "https://github.com/baxterthehacker/public-repo", 146 | "homepage": null, 147 | "size": 0, 148 | "stargazers_count": 0, 149 | "watchers_count": 0, 150 | "language": null, 151 | "has_issues": true, 152 | "has_downloads": true, 153 | "has_wiki": true, 154 | "has_pages": true, 155 | "forks_count": 0, 156 | "mirror_url": null, 157 | "open_issues_count": 2, 158 | "forks": 0, 159 | "open_issues": 2, 160 | "watchers": 0, 161 | "default_branch": "master" 162 | }, 163 | "sender": { 164 | "login": "baxterthehacker", 165 | "id": 6752317, 166 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 167 | "gravatar_id": "", 168 | "url": "https://api.github.com/users/baxterthehacker", 169 | "html_url": "https://github.com/baxterthehacker", 170 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 171 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 172 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 173 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 174 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 175 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 176 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 177 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 178 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 179 | "type": "User", 180 | "site_admin": false 181 | } 182 | } 183 | -------------------------------------------------------------------------------- /data/issues.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "opened", 3 | "issue": { 4 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2", 5 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/labels{/name}", 6 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/comments", 7 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/2/events", 8 | "html_url": "https://github.com/baxterthehacker/public-repo/issues/2", 9 | "id": 73464126, 10 | "number": 2, 11 | "title": "Spelling error in the README file", 12 | "user": { 13 | "login": "baxterthehacker", 14 | "id": 6752317, 15 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 16 | "gravatar_id": "", 17 | "url": "https://api.github.com/users/baxterthehacker", 18 | "html_url": "https://github.com/baxterthehacker", 19 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 20 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 21 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 22 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 23 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 24 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 25 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 26 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 27 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 28 | "type": "User", 29 | "site_admin": false 30 | }, 31 | "labels": [ 32 | { 33 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug", 34 | "name": "bug", 35 | "color": "fc2929" 36 | } 37 | ], 38 | "state": "open", 39 | "locked": false, 40 | "assignee": null, 41 | "milestone": null, 42 | "comments": 0, 43 | "created_at": "2015-05-05T23:40:28Z", 44 | "updated_at": "2015-05-05T23:40:28Z", 45 | "closed_at": null, 46 | "body": "It looks like you accidently spelled 'commit' with two 't's." 47 | }, 48 | "repository": { 49 | "id": 35129377, 50 | "name": "public-repo", 51 | "full_name": "baxterthehacker/public-repo", 52 | "owner": { 53 | "login": "baxterthehacker", 54 | "id": 6752317, 55 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 56 | "gravatar_id": "", 57 | "url": "https://api.github.com/users/baxterthehacker", 58 | "html_url": "https://github.com/baxterthehacker", 59 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 60 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 61 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 62 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 63 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 64 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 65 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 66 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 67 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 68 | "type": "User", 69 | "site_admin": false 70 | }, 71 | "private": false, 72 | "html_url": "https://github.com/baxterthehacker/public-repo", 73 | "description": "", 74 | "fork": false, 75 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 76 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 77 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 78 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 79 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 80 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 81 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 82 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 83 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 84 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 85 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 86 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 87 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 88 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 89 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 90 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 91 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 92 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 93 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 94 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 95 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 96 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 97 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 98 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 99 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 100 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 101 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 102 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 103 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 104 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 105 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 106 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 107 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 108 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 109 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 110 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 111 | "created_at": "2015-05-05T23:40:12Z", 112 | "updated_at": "2015-05-05T23:40:12Z", 113 | "pushed_at": "2015-05-05T23:40:27Z", 114 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 115 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 116 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 117 | "svn_url": "https://github.com/baxterthehacker/public-repo", 118 | "homepage": null, 119 | "size": 0, 120 | "stargazers_count": 0, 121 | "watchers_count": 0, 122 | "language": null, 123 | "has_issues": true, 124 | "has_downloads": true, 125 | "has_wiki": true, 126 | "has_pages": true, 127 | "forks_count": 0, 128 | "mirror_url": null, 129 | "open_issues_count": 2, 130 | "forks": 0, 131 | "open_issues": 2, 132 | "watchers": 0, 133 | "default_branch": "master" 134 | }, 135 | "sender": { 136 | "login": "baxterthehacker", 137 | "id": 6752317, 138 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 139 | "gravatar_id": "", 140 | "url": "https://api.github.com/users/baxterthehacker", 141 | "html_url": "https://github.com/baxterthehacker", 142 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 143 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 144 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 145 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 146 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 147 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 148 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 149 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 150 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 151 | "type": "User", 152 | "site_admin": false 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /data/member.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "added", 3 | "member": { 4 | "login": "octocat", 5 | "id": 583231, 6 | "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3", 7 | "gravatar_id": "", 8 | "url": "https://api.github.com/users/octocat", 9 | "html_url": "https://github.com/octocat", 10 | "followers_url": "https://api.github.com/users/octocat/followers", 11 | "following_url": "https://api.github.com/users/octocat/following{/other_user}", 12 | "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", 13 | "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", 14 | "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", 15 | "organizations_url": "https://api.github.com/users/octocat/orgs", 16 | "repos_url": "https://api.github.com/users/octocat/repos", 17 | "events_url": "https://api.github.com/users/octocat/events{/privacy}", 18 | "received_events_url": "https://api.github.com/users/octocat/received_events", 19 | "type": "User", 20 | "site_admin": false 21 | }, 22 | "repository": { 23 | "id": 35129377, 24 | "name": "public-repo", 25 | "full_name": "baxterthehacker/public-repo", 26 | "owner": { 27 | "login": "baxterthehacker", 28 | "id": 6752317, 29 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 30 | "gravatar_id": "", 31 | "url": "https://api.github.com/users/baxterthehacker", 32 | "html_url": "https://github.com/baxterthehacker", 33 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 34 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 35 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 36 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 37 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 38 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 39 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 40 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 41 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 42 | "type": "User", 43 | "site_admin": false 44 | }, 45 | "private": false, 46 | "html_url": "https://github.com/baxterthehacker/public-repo", 47 | "description": "", 48 | "fork": false, 49 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 50 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 51 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 52 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 53 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 54 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 55 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 56 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 57 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 58 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 59 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 60 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 61 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 62 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 63 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 64 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 65 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 66 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 67 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 68 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 69 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 70 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 71 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 72 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 73 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 74 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 75 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 76 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 77 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 78 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 79 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 80 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 81 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 82 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 83 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 84 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 85 | "created_at": "2015-05-05T23:40:12Z", 86 | "updated_at": "2015-05-05T23:40:30Z", 87 | "pushed_at": "2015-05-05T23:40:40Z", 88 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 89 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 90 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 91 | "svn_url": "https://github.com/baxterthehacker/public-repo", 92 | "homepage": null, 93 | "size": 0, 94 | "stargazers_count": 0, 95 | "watchers_count": 0, 96 | "language": null, 97 | "has_issues": true, 98 | "has_downloads": true, 99 | "has_wiki": true, 100 | "has_pages": true, 101 | "forks_count": 0, 102 | "mirror_url": null, 103 | "open_issues_count": 2, 104 | "forks": 0, 105 | "open_issues": 2, 106 | "watchers": 0, 107 | "default_branch": "master" 108 | }, 109 | "sender": { 110 | "login": "baxterthehacker", 111 | "id": 6752317, 112 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 113 | "gravatar_id": "", 114 | "url": "https://api.github.com/users/baxterthehacker", 115 | "html_url": "https://github.com/baxterthehacker", 116 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 117 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 118 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 119 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 120 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 121 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 122 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 123 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 124 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 125 | "type": "User", 126 | "site_admin": false 127 | } 128 | } 129 | -------------------------------------------------------------------------------- /data/membership.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "added", 3 | "scope": "team", 4 | "member": { 5 | "login": "kdaigle", 6 | "id": 2501, 7 | "avatar_url": "https://avatars.githubusercontent.com/u/2501?v=3", 8 | "gravatar_id": "", 9 | "url": "https://api.github.com/users/kdaigle", 10 | "html_url": "https://github.com/kdaigle", 11 | "followers_url": "https://api.github.com/users/kdaigle/followers", 12 | "following_url": "https://api.github.com/users/kdaigle/following{/other_user}", 13 | "gists_url": "https://api.github.com/users/kdaigle/gists{/gist_id}", 14 | "starred_url": "https://api.github.com/users/kdaigle/starred{/owner}{/repo}", 15 | "subscriptions_url": "https://api.github.com/users/kdaigle/subscriptions", 16 | "organizations_url": "https://api.github.com/users/kdaigle/orgs", 17 | "repos_url": "https://api.github.com/users/kdaigle/repos", 18 | "events_url": "https://api.github.com/users/kdaigle/events{/privacy}", 19 | "received_events_url": "https://api.github.com/users/kdaigle/received_events", 20 | "type": "User", 21 | "site_admin": true 22 | }, 23 | "sender": { 24 | "login": "baxterthehacker", 25 | "id": 6752317, 26 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", 27 | "gravatar_id": "", 28 | "url": "https://api.github.com/users/baxterthehacker", 29 | "html_url": "https://github.com/baxterthehacker", 30 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 31 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 32 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 33 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 34 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 35 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 36 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 37 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 38 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 39 | "type": "User", 40 | "site_admin": false 41 | }, 42 | "team": { 43 | "name": "Contractors", 44 | "id": 123456, 45 | "slug": "contractors", 46 | "permission": "admin", 47 | "url": "https://api.github.com/teams/123456", 48 | "members_url": "https://api.github.com/teams/123456/members{/member}", 49 | "repositories_url": "https://api.github.com/teams/123456/repos" 50 | }, 51 | "organization": { 52 | "login": "baxterandthehackers", 53 | "id": 7649605, 54 | "url": "https://api.github.com/orgs/baxterandthehackers", 55 | "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", 56 | "events_url": "https://api.github.com/orgs/baxterandthehackers/events", 57 | "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", 58 | "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", 59 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /data/page_build.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": 15995382, 3 | "build": { 4 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/pages/builds/15995382", 5 | "status": "built", 6 | "error": { 7 | "message": null 8 | }, 9 | "pusher": { 10 | "login": "baxterthehacker", 11 | "id": 6752317, 12 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 13 | "gravatar_id": "", 14 | "url": "https://api.github.com/users/baxterthehacker", 15 | "html_url": "https://github.com/baxterthehacker", 16 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 17 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 18 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 19 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 20 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 21 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 22 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 23 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 24 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 25 | "type": "User", 26 | "site_admin": false 27 | }, 28 | "commit": "053b99542c83021d6b202d1a1f5ecd5ef7084e55", 29 | "duration": 3790, 30 | "created_at": "2015-05-05T23:40:13Z", 31 | "updated_at": "2015-05-05T23:40:17Z" 32 | }, 33 | "repository": { 34 | "id": 35129377, 35 | "name": "public-repo", 36 | "full_name": "baxterthehacker/public-repo", 37 | "owner": { 38 | "login": "baxterthehacker", 39 | "id": 6752317, 40 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 41 | "gravatar_id": "", 42 | "url": "https://api.github.com/users/baxterthehacker", 43 | "html_url": "https://github.com/baxterthehacker", 44 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 45 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 46 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 47 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 48 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 49 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 50 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 51 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 52 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 53 | "type": "User", 54 | "site_admin": false 55 | }, 56 | "private": false, 57 | "html_url": "https://github.com/baxterthehacker/public-repo", 58 | "description": "", 59 | "fork": false, 60 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 61 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 62 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 63 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 64 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 65 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 66 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 67 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 68 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 69 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 70 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 71 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 72 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 73 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 74 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 75 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 76 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 77 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 78 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 79 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 80 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 81 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 82 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 83 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 84 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 85 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 86 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 87 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 88 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 89 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 90 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 91 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 92 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 93 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 94 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 95 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 96 | "created_at": "2015-05-05T23:40:12Z", 97 | "updated_at": "2015-05-05T23:40:12Z", 98 | "pushed_at": "2015-05-05T23:40:17Z", 99 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 100 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 101 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 102 | "svn_url": "https://github.com/baxterthehacker/public-repo", 103 | "homepage": null, 104 | "size": 0, 105 | "stargazers_count": 0, 106 | "watchers_count": 0, 107 | "language": null, 108 | "has_issues": true, 109 | "has_downloads": true, 110 | "has_wiki": true, 111 | "has_pages": true, 112 | "forks_count": 0, 113 | "mirror_url": null, 114 | "open_issues_count": 0, 115 | "forks": 0, 116 | "open_issues": 0, 117 | "watchers": 0, 118 | "default_branch": "master" 119 | }, 120 | "sender": { 121 | "login": "baxterthehacker", 122 | "id": 6752317, 123 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 124 | "gravatar_id": "", 125 | "url": "https://api.github.com/users/baxterthehacker", 126 | "html_url": "https://github.com/baxterthehacker", 127 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 128 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 129 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 130 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 131 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 132 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 133 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 134 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 135 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 136 | "type": "User", 137 | "site_admin": false 138 | } 139 | } 140 | -------------------------------------------------------------------------------- /data/ping.json: -------------------------------------------------------------------------------- 1 | { 2 | "zen": "Practicality beats purity.", 3 | "hook_id": 4748917, 4 | "hook": { 5 | "type": "Repository", 6 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks/4748917", 7 | "test_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks/4748917/test", 8 | "ping_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks/4748917/pings", 9 | "id": 4748917, 10 | "name": "web", 11 | "active": true, 12 | "events": [ 13 | "*" 14 | ], 15 | "config": { 16 | "url": "https://dz1og8q7dx39.runscope.net", 17 | "content_type": "json", 18 | "insecure_ssl": "0", 19 | "secret": "********" 20 | }, 21 | "last_response": { 22 | "code": null, 23 | "status": "unused", 24 | "message": null 25 | }, 26 | "updated_at": "2015-05-05T23:40:16Z", 27 | "created_at": "2015-05-05T23:40:16Z" 28 | }, 29 | "repository": { 30 | "id": 35129377, 31 | "name": "public-repo", 32 | "full_name": "baxterthehacker/public-repo", 33 | "owner": { 34 | "login": "baxterthehacker", 35 | "id": 6752317, 36 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 37 | "gravatar_id": "", 38 | "url": "https://api.github.com/users/baxterthehacker", 39 | "html_url": "https://github.com/baxterthehacker", 40 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 41 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 42 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 43 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 44 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 45 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 46 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 47 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 48 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 49 | "type": "User", 50 | "site_admin": false 51 | }, 52 | "private": false, 53 | "html_url": "https://github.com/baxterthehacker/public-repo", 54 | "description": "", 55 | "fork": false, 56 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 57 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 58 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 59 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 60 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 61 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 62 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 63 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 64 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 65 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 66 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 67 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 68 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 69 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 70 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 71 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 72 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 73 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 74 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 75 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 76 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 77 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 78 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 79 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 80 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 81 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 82 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 83 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 84 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 85 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 86 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 87 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 88 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 89 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 90 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 91 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 92 | "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments", 93 | "created_at": "2015-05-05T23:40:12Z", 94 | "updated_at": "2015-05-05T23:40:12Z", 95 | "pushed_at": "2015-05-05T23:40:15Z", 96 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 97 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 98 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 99 | "svn_url": "https://github.com/baxterthehacker/public-repo", 100 | "homepage": null, 101 | "size": 0, 102 | "stargazers_count": 0, 103 | "watchers_count": 0, 104 | "language": null, 105 | "has_issues": true, 106 | "has_downloads": true, 107 | "has_wiki": true, 108 | "has_pages": true, 109 | "forks_count": 0, 110 | "mirror_url": null, 111 | "open_issues_count": 0, 112 | "forks": 0, 113 | "open_issues": 0, 114 | "watchers": 0, 115 | "default_branch": "master" 116 | }, 117 | "sender": { 118 | "login": "baxterthehacker", 119 | "id": 6752317, 120 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 121 | "gravatar_id": "", 122 | "url": "https://api.github.com/users/baxterthehacker", 123 | "html_url": "https://github.com/baxterthehacker", 124 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 125 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 126 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 127 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 128 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 129 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 130 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 131 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 132 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 133 | "type": "User", 134 | "site_admin": false 135 | } 136 | } 137 | -------------------------------------------------------------------------------- /data/public.json: -------------------------------------------------------------------------------- 1 | { 2 | "repository": { 3 | "id": 35129377, 4 | "name": "public-repo", 5 | "full_name": "baxterthehacker/public-repo", 6 | "owner": { 7 | "login": "baxterthehacker", 8 | "id": 6752317, 9 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 10 | "gravatar_id": "", 11 | "url": "https://api.github.com/users/baxterthehacker", 12 | "html_url": "https://github.com/baxterthehacker", 13 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 14 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 15 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 16 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 17 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 18 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 19 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 20 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 21 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 22 | "type": "User", 23 | "site_admin": false 24 | }, 25 | "private": false, 26 | "html_url": "https://github.com/baxterthehacker/public-repo", 27 | "description": "", 28 | "fork": false, 29 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 30 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 31 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 32 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 33 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 34 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 35 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 36 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 37 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 38 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 39 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 40 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 41 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 42 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 43 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 44 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 45 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 46 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 47 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 48 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 49 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 50 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 51 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 52 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 53 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 54 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 55 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 56 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 57 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 58 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 59 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 60 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 61 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 62 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 63 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 64 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 65 | "created_at": "2015-05-05T23:40:12Z", 66 | "updated_at": "2015-05-05T23:40:41Z", 67 | "pushed_at": "2015-05-05T23:40:40Z", 68 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 69 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 70 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 71 | "svn_url": "https://github.com/baxterthehacker/public-repo", 72 | "homepage": null, 73 | "size": 0, 74 | "stargazers_count": 0, 75 | "watchers_count": 0, 76 | "language": null, 77 | "has_issues": true, 78 | "has_downloads": true, 79 | "has_wiki": true, 80 | "has_pages": true, 81 | "forks_count": 0, 82 | "mirror_url": null, 83 | "open_issues_count": 2, 84 | "forks": 0, 85 | "open_issues": 2, 86 | "watchers": 0, 87 | "default_branch": "master" 88 | }, 89 | "sender": { 90 | "login": "baxterthehacker", 91 | "id": 6752317, 92 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 93 | "gravatar_id": "", 94 | "url": "https://api.github.com/users/baxterthehacker", 95 | "html_url": "https://github.com/baxterthehacker", 96 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 97 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 98 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 99 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 100 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 101 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 102 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 103 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 104 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 105 | "type": "User", 106 | "site_admin": false 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /data/push.json: -------------------------------------------------------------------------------- 1 | { 2 | "ref": "refs/heads/changes", 3 | "before": "9049f1265b7d61be4a8904a9a27120d2064dab3b", 4 | "after": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", 5 | "created": false, 6 | "deleted": false, 7 | "forced": false, 8 | "base_ref": null, 9 | "compare": "https://github.com/baxterthehacker/public-repo/compare/9049f1265b7d...0d1a26e67d8f", 10 | "commits": [ 11 | { 12 | "id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", 13 | "tree_id": "f9d2a07e9488b91af2641b26b9407fe22a451433", 14 | "distinct": true, 15 | "message": "Update README.md", 16 | "timestamp": "2015-05-05T19:40:15-04:00", 17 | "url": "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", 18 | "author": { 19 | "name": "baxterthehacker", 20 | "email": "baxterthehacker@users.noreply.github.com", 21 | "username": "baxterthehacker" 22 | }, 23 | "committer": { 24 | "name": "baxterthehacker", 25 | "email": "baxterthehacker@users.noreply.github.com", 26 | "username": "baxterthehacker" 27 | }, 28 | "added": [ 29 | 30 | ], 31 | "removed": [ 32 | 33 | ], 34 | "modified": [ 35 | "README.md" 36 | ] 37 | } 38 | ], 39 | "head_commit": { 40 | "id": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", 41 | "tree_id": "f9d2a07e9488b91af2641b26b9407fe22a451433", 42 | "distinct": true, 43 | "message": "Update README.md", 44 | "timestamp": "2015-05-05T19:40:15-04:00", 45 | "url": "https://github.com/baxterthehacker/public-repo/commit/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", 46 | "author": { 47 | "name": "baxterthehacker", 48 | "email": "baxterthehacker@users.noreply.github.com", 49 | "username": "baxterthehacker" 50 | }, 51 | "committer": { 52 | "name": "baxterthehacker", 53 | "email": "baxterthehacker@users.noreply.github.com", 54 | "username": "baxterthehacker" 55 | }, 56 | "added": [ 57 | 58 | ], 59 | "removed": [ 60 | 61 | ], 62 | "modified": [ 63 | "README.md" 64 | ] 65 | }, 66 | "repository": { 67 | "id": 35129377, 68 | "name": "public-repo", 69 | "full_name": "baxterthehacker/public-repo", 70 | "owner": { 71 | "name": "baxterthehacker", 72 | "email": "baxterthehacker@users.noreply.github.com" 73 | }, 74 | "private": false, 75 | "html_url": "https://github.com/baxterthehacker/public-repo", 76 | "description": null, 77 | "fork": false, 78 | "url": "https://github.com/baxterthehacker/public-repo", 79 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 80 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 81 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 82 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 83 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 84 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 85 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 86 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 87 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 88 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 89 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 90 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 91 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 92 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 93 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 94 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 95 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 96 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 97 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 98 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 99 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 100 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 101 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 102 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 103 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 104 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 105 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 106 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 107 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 108 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 109 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 110 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 111 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 112 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 113 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 114 | "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments", 115 | "created_at": 1430869212, 116 | "updated_at": "2015-05-05T23:40:12Z", 117 | "pushed_at": 1430869217, 118 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 119 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 120 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 121 | "svn_url": "https://github.com/baxterthehacker/public-repo", 122 | "homepage": null, 123 | "size": 0, 124 | "stargazers_count": 0, 125 | "watchers_count": 0, 126 | "language": null, 127 | "has_issues": true, 128 | "has_downloads": true, 129 | "has_wiki": true, 130 | "has_pages": true, 131 | "forks_count": 0, 132 | "mirror_url": null, 133 | "open_issues_count": 0, 134 | "forks": 0, 135 | "open_issues": 0, 136 | "watchers": 0, 137 | "default_branch": "master", 138 | "stargazers": 0, 139 | "master_branch": "master", 140 | "organization": null 141 | }, 142 | "pusher": { 143 | "name": "baxterthehacker", 144 | "email": "baxterthehacker@users.noreply.github.com" 145 | }, 146 | "sender": { 147 | "login": "baxterthehacker", 148 | "id": 6752317, 149 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 150 | "gravatar_id": "", 151 | "url": "https://api.github.com/users/baxterthehacker", 152 | "html_url": "https://github.com/baxterthehacker", 153 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 154 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 155 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 156 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 157 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 158 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 159 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 160 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 161 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 162 | "type": "User", 163 | "site_admin": false 164 | } 165 | } 166 | -------------------------------------------------------------------------------- /data/release.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "published", 3 | "release": { 4 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438", 5 | "assets_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets", 6 | "upload_url": "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}", 7 | "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1", 8 | "id": 1261438, 9 | "tag_name": "0.0.1", 10 | "target_commitish": "master", 11 | "name": null, 12 | "draft": false, 13 | "author": { 14 | "login": "baxterthehacker", 15 | "id": 6752317, 16 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 17 | "gravatar_id": "", 18 | "url": "https://api.github.com/users/baxterthehacker", 19 | "html_url": "https://github.com/baxterthehacker", 20 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 21 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 22 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 23 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 24 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 25 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 26 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 27 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 28 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 29 | "type": "User", 30 | "site_admin": false 31 | }, 32 | "prerelease": false, 33 | "created_at": "2015-05-05T23:40:12Z", 34 | "published_at": "2015-05-05T23:40:38Z", 35 | "assets": [ 36 | 37 | ], 38 | "tarball_url": "https://api.github.com/repos/baxterthehacker/public-repo/tarball/0.0.1", 39 | "zipball_url": "https://api.github.com/repos/baxterthehacker/public-repo/zipball/0.0.1", 40 | "body": null 41 | }, 42 | "repository": { 43 | "id": 35129377, 44 | "name": "public-repo", 45 | "full_name": "baxterthehacker/public-repo", 46 | "owner": { 47 | "login": "baxterthehacker", 48 | "id": 6752317, 49 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 50 | "gravatar_id": "", 51 | "url": "https://api.github.com/users/baxterthehacker", 52 | "html_url": "https://github.com/baxterthehacker", 53 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 54 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 55 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 56 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 57 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 58 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 59 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 60 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 61 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 62 | "type": "User", 63 | "site_admin": false 64 | }, 65 | "private": false, 66 | "html_url": "https://github.com/baxterthehacker/public-repo", 67 | "description": "", 68 | "fork": false, 69 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 70 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 71 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 72 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 73 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 74 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 75 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 76 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 77 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 78 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 79 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 80 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 81 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 82 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 83 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 84 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 85 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 86 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 87 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 88 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 89 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 90 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 91 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 92 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 93 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 94 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 95 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 96 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 97 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 98 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 99 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 100 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 101 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 102 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 103 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 104 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 105 | "created_at": "2015-05-05T23:40:12Z", 106 | "updated_at": "2015-05-05T23:40:30Z", 107 | "pushed_at": "2015-05-05T23:40:38Z", 108 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 109 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 110 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 111 | "svn_url": "https://github.com/baxterthehacker/public-repo", 112 | "homepage": null, 113 | "size": 0, 114 | "stargazers_count": 0, 115 | "watchers_count": 0, 116 | "language": null, 117 | "has_issues": true, 118 | "has_downloads": true, 119 | "has_wiki": true, 120 | "has_pages": true, 121 | "forks_count": 0, 122 | "mirror_url": null, 123 | "open_issues_count": 2, 124 | "forks": 0, 125 | "open_issues": 2, 126 | "watchers": 0, 127 | "default_branch": "master" 128 | }, 129 | "sender": { 130 | "login": "baxterthehacker", 131 | "id": 6752317, 132 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 133 | "gravatar_id": "", 134 | "url": "https://api.github.com/users/baxterthehacker", 135 | "html_url": "https://github.com/baxterthehacker", 136 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 137 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 138 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 139 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 140 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 141 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 142 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 143 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 144 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 145 | "type": "User", 146 | "site_admin": false 147 | } 148 | } 149 | -------------------------------------------------------------------------------- /data/repository.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "created", 3 | "repository": { 4 | "id": 27496774, 5 | "name": "new-repository", 6 | "full_name": "baxterandthehackers/new-repository", 7 | "owner": { 8 | "login": "baxterandthehackers", 9 | "id": 7649605, 10 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", 11 | "gravatar_id": "", 12 | "url": "https://api.github.com/users/baxterandthehackers", 13 | "html_url": "https://github.com/baxterandthehackers", 14 | "followers_url": "https://api.github.com/users/baxterandthehackers/followers", 15 | "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", 16 | "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", 17 | "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", 18 | "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", 19 | "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", 20 | "repos_url": "https://api.github.com/users/baxterandthehackers/repos", 21 | "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", 22 | "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", 23 | "type": "Organization", 24 | "site_admin": false 25 | }, 26 | "private": true, 27 | "html_url": "https://github.com/baxterandthehackers/new-repository", 28 | "description": "", 29 | "fork": false, 30 | "url": "https://api.github.com/repos/baxterandthehackers/new-repository", 31 | "forks_url": "https://api.github.com/repos/baxterandthehackers/new-repository/forks", 32 | "keys_url": "https://api.github.com/repos/baxterandthehackers/new-repository/keys{/key_id}", 33 | "collaborators_url": "https://api.github.com/repos/baxterandthehackers/new-repository/collaborators{/collaborator}", 34 | "teams_url": "https://api.github.com/repos/baxterandthehackers/new-repository/teams", 35 | "hooks_url": "https://api.github.com/repos/baxterandthehackers/new-repository/hooks", 36 | "issue_events_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues/events{/number}", 37 | "events_url": "https://api.github.com/repos/baxterandthehackers/new-repository/events", 38 | "assignees_url": "https://api.github.com/repos/baxterandthehackers/new-repository/assignees{/user}", 39 | "branches_url": "https://api.github.com/repos/baxterandthehackers/new-repository/branches{/branch}", 40 | "tags_url": "https://api.github.com/repos/baxterandthehackers/new-repository/tags", 41 | "blobs_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/blobs{/sha}", 42 | "git_tags_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/tags{/sha}", 43 | "git_refs_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/refs{/sha}", 44 | "trees_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/trees{/sha}", 45 | "statuses_url": "https://api.github.com/repos/baxterandthehackers/new-repository/statuses/{sha}", 46 | "languages_url": "https://api.github.com/repos/baxterandthehackers/new-repository/languages", 47 | "stargazers_url": "https://api.github.com/repos/baxterandthehackers/new-repository/stargazers", 48 | "contributors_url": "https://api.github.com/repos/baxterandthehackers/new-repository/contributors", 49 | "subscribers_url": "https://api.github.com/repos/baxterandthehackers/new-repository/subscribers", 50 | "subscription_url": "https://api.github.com/repos/baxterandthehackers/new-repository/subscription", 51 | "commits_url": "https://api.github.com/repos/baxterandthehackers/new-repository/commits{/sha}", 52 | "git_commits_url": "https://api.github.com/repos/baxterandthehackers/new-repository/git/commits{/sha}", 53 | "comments_url": "https://api.github.com/repos/baxterandthehackers/new-repository/comments{/number}", 54 | "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues/comments/{number}", 55 | "contents_url": "https://api.github.com/repos/baxterandthehackers/new-repository/contents/{+path}", 56 | "compare_url": "https://api.github.com/repos/baxterandthehackers/new-repository/compare/{base}...{head}", 57 | "merges_url": "https://api.github.com/repos/baxterandthehackers/new-repository/merges", 58 | "archive_url": "https://api.github.com/repos/baxterandthehackers/new-repository/{archive_format}{/ref}", 59 | "downloads_url": "https://api.github.com/repos/baxterandthehackers/new-repository/downloads", 60 | "issues_url": "https://api.github.com/repos/baxterandthehackers/new-repository/issues{/number}", 61 | "pulls_url": "https://api.github.com/repos/baxterandthehackers/new-repository/pulls{/number}", 62 | "milestones_url": "https://api.github.com/repos/baxterandthehackers/new-repository/milestones{/number}", 63 | "notifications_url": "https://api.github.com/repos/baxterandthehackers/new-repository/notifications{?since,all,participating}", 64 | "labels_url": "https://api.github.com/repos/baxterandthehackers/new-repository/labels{/name}", 65 | "releases_url": "https://api.github.com/repos/baxterandthehackers/new-repository/releases{/id}", 66 | "created_at": "2014-12-03T16:39:25Z", 67 | "updated_at": "2014-12-03T16:39:25Z", 68 | "pushed_at": "2014-12-03T16:39:25Z", 69 | "git_url": "git://github.com/baxterandthehackers/new-repository.git", 70 | "ssh_url": "git@github.com:baxterandthehackers/new-repository.git", 71 | "clone_url": "https://github.com/baxterandthehackers/new-repository.git", 72 | "svn_url": "https://github.com/baxterandthehackers/new-repository", 73 | "homepage": null, 74 | "size": 0, 75 | "stargazers_count": 0, 76 | "watchers_count": 0, 77 | "language": null, 78 | "has_issues": true, 79 | "has_downloads": true, 80 | "has_wiki": true, 81 | "has_pages": false, 82 | "forks_count": 0, 83 | "mirror_url": null, 84 | "open_issues_count": 0, 85 | "forks": 0, 86 | "open_issues": 0, 87 | "watchers": 0, 88 | "default_branch": "master" 89 | }, 90 | "organization": { 91 | "login": "baxterandthehackers", 92 | "id": 7649605, 93 | "url": "https://api.github.com/orgs/baxterandthehackers", 94 | "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", 95 | "events_url": "https://api.github.com/orgs/baxterandthehackers/events", 96 | "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", 97 | "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", 98 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=2" 99 | }, 100 | "sender": { 101 | "login": "baxterthehacker", 102 | "id": 6752317, 103 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=2", 104 | "gravatar_id": "", 105 | "url": "https://api.github.com/users/baxterthehacker", 106 | "html_url": "https://github.com/baxterthehacker", 107 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 108 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 109 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 110 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 111 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 112 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 113 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 114 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 115 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 116 | "type": "User", 117 | "site_admin": false 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /data/status.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": 214015194, 3 | "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", 4 | "name": "baxterthehacker/public-repo", 5 | "target_url": null, 6 | "context": "default", 7 | "description": null, 8 | "state": "success", 9 | "commit": { 10 | "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", 11 | "commit": { 12 | "author": { 13 | "name": "baxterthehacker", 14 | "email": "baxterthehacker@users.noreply.github.com", 15 | "date": "2015-05-05T23:40:12Z" 16 | }, 17 | "committer": { 18 | "name": "baxterthehacker", 19 | "email": "baxterthehacker@users.noreply.github.com", 20 | "date": "2015-05-05T23:40:12Z" 21 | }, 22 | "message": "Initial commit", 23 | "tree": { 24 | "sha": "02b49ad0ba4f1acd9f06531b21e16a4ac5d341d0", 25 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees/02b49ad0ba4f1acd9f06531b21e16a4ac5d341d0" 26 | }, 27 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b", 28 | "comment_count": 1 29 | }, 30 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b", 31 | "html_url": "https://github.com/baxterthehacker/public-repo/commit/9049f1265b7d61be4a8904a9a27120d2064dab3b", 32 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b/comments", 33 | "author": { 34 | "login": "baxterthehacker", 35 | "id": 6752317, 36 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 37 | "gravatar_id": "", 38 | "url": "https://api.github.com/users/baxterthehacker", 39 | "html_url": "https://github.com/baxterthehacker", 40 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 41 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 42 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 43 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 44 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 45 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 46 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 47 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 48 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 49 | "type": "User", 50 | "site_admin": false 51 | }, 52 | "committer": { 53 | "login": "baxterthehacker", 54 | "id": 6752317, 55 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 56 | "gravatar_id": "", 57 | "url": "https://api.github.com/users/baxterthehacker", 58 | "html_url": "https://github.com/baxterthehacker", 59 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 60 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 61 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 62 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 63 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 64 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 65 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 66 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 67 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 68 | "type": "User", 69 | "site_admin": false 70 | }, 71 | "parents": [ 72 | 73 | ] 74 | }, 75 | "branches": [ 76 | { 77 | "name": "master", 78 | "commit": { 79 | "sha": "9049f1265b7d61be4a8904a9a27120d2064dab3b", 80 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/9049f1265b7d61be4a8904a9a27120d2064dab3b" 81 | } 82 | }, 83 | { 84 | "name": "changes", 85 | "commit": { 86 | "sha": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", 87 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c" 88 | } 89 | }, 90 | { 91 | "name": "gh-pages", 92 | "commit": { 93 | "sha": "b11bb7545ac14abafc6191a0481b0d961e7793c6", 94 | "url": "https://api.github.com/repos/baxterthehacker/public-repo/commits/b11bb7545ac14abafc6191a0481b0d961e7793c6" 95 | } 96 | } 97 | ], 98 | "created_at": "2015-05-05T23:40:39Z", 99 | "updated_at": "2015-05-05T23:40:39Z", 100 | "repository": { 101 | "id": 35129377, 102 | "name": "public-repo", 103 | "full_name": "baxterthehacker/public-repo", 104 | "owner": { 105 | "login": "baxterthehacker", 106 | "id": 6752317, 107 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 108 | "gravatar_id": "", 109 | "url": "https://api.github.com/users/baxterthehacker", 110 | "html_url": "https://github.com/baxterthehacker", 111 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 112 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 113 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 114 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 115 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 116 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 117 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 118 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 119 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 120 | "type": "User", 121 | "site_admin": false 122 | }, 123 | "private": false, 124 | "html_url": "https://github.com/baxterthehacker/public-repo", 125 | "description": "", 126 | "fork": false, 127 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 128 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 129 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 130 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 131 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 132 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 133 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 134 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 135 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 136 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 137 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 138 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 139 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 140 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 141 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 142 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 143 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 144 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 145 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 146 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 147 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 148 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 149 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 150 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 151 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 152 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 153 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 154 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 155 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 156 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 157 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 158 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 159 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 160 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 161 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 162 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 163 | "deployments_url": "https://api.github.com/repos/baxterthehacker/public-repo/deployments", 164 | "created_at": "2015-05-05T23:40:12Z", 165 | "updated_at": "2015-05-05T23:40:30Z", 166 | "pushed_at": "2015-05-05T23:40:39Z", 167 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 168 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 169 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 170 | "svn_url": "https://github.com/baxterthehacker/public-repo", 171 | "homepage": null, 172 | "size": 0, 173 | "stargazers_count": 0, 174 | "watchers_count": 0, 175 | "language": null, 176 | "has_issues": true, 177 | "has_downloads": true, 178 | "has_wiki": true, 179 | "has_pages": true, 180 | "forks_count": 0, 181 | "mirror_url": null, 182 | "open_issues_count": 2, 183 | "forks": 0, 184 | "open_issues": 2, 185 | "watchers": 0, 186 | "default_branch": "master" 187 | }, 188 | "sender": { 189 | "login": "baxterthehacker", 190 | "id": 6752317, 191 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 192 | "gravatar_id": "", 193 | "url": "https://api.github.com/users/baxterthehacker", 194 | "html_url": "https://github.com/baxterthehacker", 195 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 196 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 197 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 198 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 199 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 200 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 201 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 202 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 203 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 204 | "type": "User", 205 | "site_admin": false 206 | } 207 | } 208 | -------------------------------------------------------------------------------- /data/team_add.json: -------------------------------------------------------------------------------- 1 | { 2 | "team": { 3 | "name": "github", 4 | "id": 836012, 5 | "slug": "github", 6 | "description": "", 7 | "permission": "pull", 8 | "url": "https://api.github.com/teams/836012", 9 | "members_url": "https://api.github.com/teams/836012/members{/member}", 10 | "repositories_url": "https://api.github.com/teams/836012/repos" 11 | }, 12 | "repository": { 13 | "id": 35129393, 14 | "name": "public-repo", 15 | "full_name": "baxterandthehackers/public-repo", 16 | "owner": { 17 | "login": "baxterandthehackers", 18 | "id": 7649605, 19 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", 20 | "gravatar_id": "", 21 | "url": "https://api.github.com/users/baxterandthehackers", 22 | "html_url": "https://github.com/baxterandthehackers", 23 | "followers_url": "https://api.github.com/users/baxterandthehackers/followers", 24 | "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", 25 | "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", 26 | "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", 27 | "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", 28 | "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", 29 | "repos_url": "https://api.github.com/users/baxterandthehackers/repos", 30 | "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", 31 | "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", 32 | "type": "Organization", 33 | "site_admin": false 34 | }, 35 | "private": false, 36 | "html_url": "https://github.com/baxterandthehackers/public-repo", 37 | "description": "", 38 | "fork": true, 39 | "url": "https://api.github.com/repos/baxterandthehackers/public-repo", 40 | "forks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/forks", 41 | "keys_url": "https://api.github.com/repos/baxterandthehackers/public-repo/keys{/key_id}", 42 | "collaborators_url": "https://api.github.com/repos/baxterandthehackers/public-repo/collaborators{/collaborator}", 43 | "teams_url": "https://api.github.com/repos/baxterandthehackers/public-repo/teams", 44 | "hooks_url": "https://api.github.com/repos/baxterandthehackers/public-repo/hooks", 45 | "issue_events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/events{/number}", 46 | "events_url": "https://api.github.com/repos/baxterandthehackers/public-repo/events", 47 | "assignees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/assignees{/user}", 48 | "branches_url": "https://api.github.com/repos/baxterandthehackers/public-repo/branches{/branch}", 49 | "tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/tags", 50 | "blobs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/blobs{/sha}", 51 | "git_tags_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/tags{/sha}", 52 | "git_refs_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/refs{/sha}", 53 | "trees_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/trees{/sha}", 54 | "statuses_url": "https://api.github.com/repos/baxterandthehackers/public-repo/statuses/{sha}", 55 | "languages_url": "https://api.github.com/repos/baxterandthehackers/public-repo/languages", 56 | "stargazers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/stargazers", 57 | "contributors_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contributors", 58 | "subscribers_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscribers", 59 | "subscription_url": "https://api.github.com/repos/baxterandthehackers/public-repo/subscription", 60 | "commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/commits{/sha}", 61 | "git_commits_url": "https://api.github.com/repos/baxterandthehackers/public-repo/git/commits{/sha}", 62 | "comments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/comments{/number}", 63 | "issue_comment_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues/comments{/number}", 64 | "contents_url": "https://api.github.com/repos/baxterandthehackers/public-repo/contents/{+path}", 65 | "compare_url": "https://api.github.com/repos/baxterandthehackers/public-repo/compare/{base}...{head}", 66 | "merges_url": "https://api.github.com/repos/baxterandthehackers/public-repo/merges", 67 | "archive_url": "https://api.github.com/repos/baxterandthehackers/public-repo/{archive_format}{/ref}", 68 | "downloads_url": "https://api.github.com/repos/baxterandthehackers/public-repo/downloads", 69 | "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", 70 | "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", 71 | "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", 72 | "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", 73 | "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", 74 | "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", 75 | "created_at": "2015-05-05T23:40:30Z", 76 | "updated_at": "2015-05-05T23:40:30Z", 77 | "pushed_at": "2015-05-05T23:40:27Z", 78 | "git_url": "git://github.com/baxterandthehackers/public-repo.git", 79 | "ssh_url": "git@github.com:baxterandthehackers/public-repo.git", 80 | "clone_url": "https://github.com/baxterandthehackers/public-repo.git", 81 | "svn_url": "https://github.com/baxterandthehackers/public-repo", 82 | "homepage": null, 83 | "size": 0, 84 | "stargazers_count": 0, 85 | "watchers_count": 0, 86 | "language": null, 87 | "has_issues": false, 88 | "has_downloads": true, 89 | "has_wiki": true, 90 | "has_pages": true, 91 | "forks_count": 0, 92 | "mirror_url": null, 93 | "open_issues_count": 0, 94 | "forks": 0, 95 | "open_issues": 0, 96 | "watchers": 0, 97 | "default_branch": "master" 98 | }, 99 | "organization": { 100 | "login": "baxterandthehackers", 101 | "id": 7649605, 102 | "url": "https://api.github.com/orgs/baxterandthehackers", 103 | "repos_url": "https://api.github.com/orgs/baxterandthehackers/repos", 104 | "events_url": "https://api.github.com/orgs/baxterandthehackers/events", 105 | "members_url": "https://api.github.com/orgs/baxterandthehackers/members{/member}", 106 | "public_members_url": "https://api.github.com/orgs/baxterandthehackers/public_members{/member}", 107 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", 108 | "description": null 109 | }, 110 | "sender": { 111 | "login": "baxterandthehackers", 112 | "id": 7649605, 113 | "avatar_url": "https://avatars.githubusercontent.com/u/7649605?v=3", 114 | "gravatar_id": "", 115 | "url": "https://api.github.com/users/baxterandthehackers", 116 | "html_url": "https://github.com/baxterandthehackers", 117 | "followers_url": "https://api.github.com/users/baxterandthehackers/followers", 118 | "following_url": "https://api.github.com/users/baxterandthehackers/following{/other_user}", 119 | "gists_url": "https://api.github.com/users/baxterandthehackers/gists{/gist_id}", 120 | "starred_url": "https://api.github.com/users/baxterandthehackers/starred{/owner}{/repo}", 121 | "subscriptions_url": "https://api.github.com/users/baxterandthehackers/subscriptions", 122 | "organizations_url": "https://api.github.com/users/baxterandthehackers/orgs", 123 | "repos_url": "https://api.github.com/users/baxterandthehackers/repos", 124 | "events_url": "https://api.github.com/users/baxterandthehackers/events{/privacy}", 125 | "received_events_url": "https://api.github.com/users/baxterandthehackers/received_events", 126 | "type": "Organization", 127 | "site_admin": false 128 | } 129 | } 130 | -------------------------------------------------------------------------------- /data/watch.json: -------------------------------------------------------------------------------- 1 | { 2 | "action": "started", 3 | "repository": { 4 | "id": 35129377, 5 | "name": "public-repo", 6 | "full_name": "baxterthehacker/public-repo", 7 | "owner": { 8 | "login": "baxterthehacker", 9 | "id": 6752317, 10 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 11 | "gravatar_id": "", 12 | "url": "https://api.github.com/users/baxterthehacker", 13 | "html_url": "https://github.com/baxterthehacker", 14 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 15 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 16 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 17 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 18 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 19 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 20 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 21 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 22 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 23 | "type": "User", 24 | "site_admin": false 25 | }, 26 | "deployments_url": null, 27 | "private": false, 28 | "html_url": "https://github.com/baxterthehacker/public-repo", 29 | "description": "", 30 | "fork": false, 31 | "url": "https://api.github.com/repos/baxterthehacker/public-repo", 32 | "forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks", 33 | "keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}", 34 | "collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}", 35 | "teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams", 36 | "hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks", 37 | "issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}", 38 | "events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events", 39 | "assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}", 40 | "branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}", 41 | "tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags", 42 | "blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}", 43 | "git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}", 44 | "git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}", 45 | "trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}", 46 | "statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}", 47 | "languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages", 48 | "stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers", 49 | "contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors", 50 | "subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers", 51 | "subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription", 52 | "commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}", 53 | "git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}", 54 | "comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}", 55 | "issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments{/number}", 56 | "contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}", 57 | "compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}", 58 | "merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges", 59 | "archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}", 60 | "downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads", 61 | "issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}", 62 | "pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}", 63 | "milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}", 64 | "notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}", 65 | "labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}", 66 | "releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}", 67 | "created_at": "2015-05-05T23:40:12Z", 68 | "updated_at": "2015-05-05T23:40:30Z", 69 | "pushed_at": "2015-05-05T23:40:27Z", 70 | "git_url": "git://github.com/baxterthehacker/public-repo.git", 71 | "ssh_url": "git@github.com:baxterthehacker/public-repo.git", 72 | "clone_url": "https://github.com/baxterthehacker/public-repo.git", 73 | "svn_url": "https://github.com/baxterthehacker/public-repo", 74 | "homepage": null, 75 | "size": 0, 76 | "stargazers_count": 0, 77 | "watchers_count": 0, 78 | "language": null, 79 | "has_issues": true, 80 | "has_downloads": true, 81 | "has_wiki": true, 82 | "has_pages": true, 83 | "forks_count": 0, 84 | "mirror_url": null, 85 | "open_issues_count": 2, 86 | "forks": 0, 87 | "open_issues": 2, 88 | "watchers": 0, 89 | "default_branch": "master" 90 | }, 91 | "sender": { 92 | "login": "baxterthehacker", 93 | "id": 6752317, 94 | "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", 95 | "gravatar_id": "", 96 | "url": "https://api.github.com/users/baxterthehacker", 97 | "html_url": "https://github.com/baxterthehacker", 98 | "followers_url": "https://api.github.com/users/baxterthehacker/followers", 99 | "following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}", 100 | "gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}", 101 | "starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}", 102 | "subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions", 103 | "organizations_url": "https://api.github.com/users/baxterthehacker/orgs", 104 | "repos_url": "https://api.github.com/users/baxterthehacker/repos", 105 | "events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}", 106 | "received_events_url": "https://api.github.com/users/baxterthehacker/received_events", 107 | "type": "User", 108 | "site_admin": false 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /dockerrun.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | docker run -it --rm -v $(pwd):/source jimmycuadra/rust:1.2.0 3 | -------------------------------------------------------------------------------- /events.txt: -------------------------------------------------------------------------------- 1 | commit_comment 2 | create 3 | delete 4 | deployment 5 | deployment_status 6 | fork 7 | gollum 8 | issue_comment 9 | issues 10 | member 11 | membership 12 | page_build 13 | ping 14 | public 15 | pull_request 16 | pull_request_review_comment 17 | push 18 | release 19 | repository 20 | status 21 | team_add 22 | watch 23 | -------------------------------------------------------------------------------- /examples/server.rs: -------------------------------------------------------------------------------- 1 | #[macro_use] 2 | extern crate log; 3 | extern crate env_logger; 4 | extern crate afterparty; 5 | extern crate hyper; 6 | 7 | use afterparty::{Delivery, Hub}; 8 | 9 | use hyper::Server; 10 | 11 | pub fn main() { 12 | env_logger::init().unwrap(); 13 | let addr = format!("0.0.0.0:{}", 4567); 14 | let mut hub = Hub::new(); 15 | hub.handle("pull_request", |delivery: &Delivery| { 16 | println!("rec delivery {:#?}", delivery); 17 | /*match delivery.payload { 18 | Event::PullRequest { ref action, ref sender, .. } => { 19 | println!("sender {} action {}", sender.login, action) 20 | } 21 | _ => (), 22 | }*/ 23 | }); 24 | let srvc = Server::http(&addr[..]) 25 | .unwrap() 26 | .handle(hub); 27 | println!("listening on {}", addr); 28 | srvc.unwrap(); 29 | } 30 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | reorder_imports = true -------------------------------------------------------------------------------- /src/events.rs: -------------------------------------------------------------------------------- 1 | //! Representations of Github events 2 | //! See Github's [official docs](https://developer.github.com/v3/activity/events/types/) for more information 3 | 4 | extern crate case; 5 | extern crate serde; 6 | extern crate serde_json; 7 | extern crate env_logger; 8 | 9 | use case::CaseExt; 10 | use std::collections::BTreeMap; 11 | 12 | // generated Event enum goes here 13 | 14 | /// Enumeration of availble Github events 15 | include!(concat!(env!("OUT_DIR"), "/events.rs")); 16 | 17 | /// to support enum deserialization, we need to 18 | /// patch the raw json from github with a field for the enum 19 | /// name 20 | pub fn patch_payload_json(event: &str, payload: &str) -> String { 21 | let mut patched_payload = "{\"".to_string(); 22 | patched_payload.push_str(event.to_camel().as_ref()); 23 | patched_payload.push_str("\":"); 24 | patched_payload.push_str(payload); 25 | patched_payload.push_str("}"); 26 | patched_payload 27 | } 28 | 29 | // provide a sensible default for our serde_json::Value type wrapper 30 | impl Default for Value { 31 | fn default() -> Value { 32 | Value { json: serde_json::Value::Object(BTreeMap::new()) } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/events.rs.in: -------------------------------------------------------------------------------- 1 | #[derive(Debug, Deserialize)] 2 | pub struct Value { pub json: serde_json::Value } 3 | 4 | #[derive(Debug, Deserialize)] 5 | pub enum Event { 6 | CommitComment { 7 | action: String, 8 | comment: Comment, 9 | repository: Repository, 10 | sender: User, 11 | }, 12 | Create { 13 | description: String, 14 | master_branch: String, 15 | pusher_type: String, 16 | #[serde(rename="ref")] 17 | _ref: String, 18 | #[serde(rename="ref_type")] 19 | ref_type: String, 20 | repository: Repository, 21 | sender: User, 22 | }, 23 | Delete { 24 | pusher_type: String, 25 | #[serde(rename="ref")] 26 | _ref: String, 27 | ref_type: String, 28 | repository: Repository, 29 | sender: User, 30 | }, 31 | Deployment { 32 | deployment: Deployment, 33 | repository: Repository, 34 | sender: User, 35 | }, 36 | DeploymentStatus { 37 | deployment: Deployment, 38 | deployment_status: DeploymentStatus, 39 | repository: Repository, 40 | sender: User, 41 | }, 42 | Fork { 43 | forkee: Repository, 44 | repository: Repository, 45 | sender: User, 46 | }, 47 | Gollum { 48 | pages: Vec, 49 | repository: Repository, 50 | sender: User, 51 | }, 52 | IssueComment { 53 | action: String, 54 | comment: IssueCommentComment, 55 | issue: Issue, 56 | repository: Repository, 57 | sender: User, 58 | }, 59 | Issues { 60 | action: String, 61 | issue: Issue, 62 | repository: Repository, 63 | sender: User, 64 | }, 65 | Member { 66 | action: String, 67 | member: User, 68 | repository: Repository, 69 | sender: User, 70 | }, 71 | Membership { 72 | action: String, 73 | member: User, 74 | organization: Organization, 75 | scope: String, 76 | sender: User, 77 | team: Team, 78 | }, 79 | PageBuild { 80 | build: PageBuild, 81 | id: u64, 82 | repository: Repository, 83 | sender: User, 84 | }, 85 | Ping { 86 | hook: Hook, 87 | hook_id: u64, 88 | repository: Repository, 89 | sender: User, 90 | zen: String, 91 | }, 92 | Public { 93 | repository: Repository, 94 | sender: User, 95 | }, 96 | PullRequest { 97 | action: String, 98 | number: u64, 99 | pull_request: PullRequestDetails, 100 | repository: Repository, 101 | sender: User, 102 | }, 103 | PullRequestReviewComment { 104 | action: String, 105 | comment: PullRequestReviewComment, 106 | pull_request: PullRequest, 107 | repository: Repository, 108 | sender: User, 109 | }, 110 | Push { 111 | after: String, 112 | base_ref: Option, 113 | before: String, 114 | commits: Vec, 115 | compare: String, 116 | created: bool, 117 | deleted: bool, 118 | forced: bool, 119 | head_commit: CommitStats, 120 | pusher: UserRef, // note there aren't may fields here 121 | #[serde(rename="ref")] 122 | _ref: String, 123 | repository: PushRepository, 124 | sender: User, 125 | }, 126 | Release { 127 | action: String, 128 | release: Release, 129 | repository: Repository, 130 | sender: User, 131 | }, 132 | Repository { 133 | action: String, 134 | organization: Organization, 135 | repository: Repository, 136 | sender: User, 137 | }, 138 | Status { 139 | //branches: Vec, 140 | commit: CommitRef, 141 | context: String, 142 | created_at: String, 143 | description: Option, 144 | id: u64, 145 | name: String, 146 | repository: Repository, 147 | sender: User, 148 | sha: String, 149 | state: String, 150 | target_url: Option, 151 | updated_at: String, 152 | }, 153 | TeamAdd { 154 | organization: Organization, 155 | repository: Repository, 156 | sender: User, 157 | team: Team, 158 | }, 159 | Watch { 160 | action: String, 161 | repository: Repository, 162 | sender: User, 163 | }, 164 | } 165 | 166 | #[derive(Default, Debug, Deserialize)] 167 | pub struct Commit { 168 | author: GitUser, 169 | committer: GitUser, 170 | message: String, 171 | tree: GitRef, 172 | url: String, 173 | comment_count: u64 174 | } 175 | 176 | #[derive(Default, Debug, Deserialize)] 177 | pub struct BranchRef { 178 | pub commit: GitRef, 179 | pub name: String, 180 | } 181 | 182 | #[derive(Default, Debug, Deserialize)] 183 | pub struct PageBuild { 184 | pub commit: String, 185 | pub created_at: String, 186 | pub duration: u64, 187 | pub error: Error, 188 | pub pusher: User, 189 | pub status: String, 190 | pub updated_at: String, 191 | pub url: String, 192 | } 193 | 194 | #[derive(Default, Debug, Deserialize)] 195 | pub struct Comment { 196 | pub body: String, 197 | pub commit_id: String, 198 | pub created_at: String, 199 | pub html_url: String, 200 | pub id: u64, 201 | pub line: Option, 202 | pub path: Option, 203 | pub position: Option, 204 | pub updated_at: String, 205 | pub url: String, 206 | pub user: User, 207 | } 208 | 209 | #[derive(Default, Debug, Deserialize)] 210 | pub struct CommitRef { 211 | pub author: User, 212 | pub comments_url: String, 213 | pub commit: Commit, 214 | pub committer: User, 215 | pub html_url: String, 216 | pub parents: Vec, 217 | pub sha: String, 218 | pub url: String, 219 | } 220 | 221 | #[derive(Default, Debug, Deserialize)] 222 | pub struct Deployment { 223 | pub created_at: String, 224 | pub creator: User, 225 | pub description: Option, 226 | pub environment: String, 227 | pub id: u64, 228 | pub payload: Value, 229 | #[serde(rename="ref")] 230 | pub _ref: String, 231 | pub repository_url: String, 232 | pub sha: String, 233 | pub statuses_url: String, 234 | pub task: String, 235 | pub updated_at: String, 236 | pub url: String, 237 | } 238 | 239 | #[derive(Default, Debug, Deserialize)] 240 | pub struct DeploymentStatus { 241 | pub created_at: String, 242 | pub creator: User, 243 | pub deployment_url: String, 244 | pub description: Option, 245 | pub id: u64, 246 | pub repository_url: String, 247 | pub state: String, 248 | pub target_url: Option, 249 | pub updated_at: String, 250 | pub url: String, 251 | } 252 | 253 | #[derive(Default, Debug, Deserialize)] 254 | pub struct CommitStats { 255 | pub added: Vec, 256 | pub author: GitUser, 257 | pub committer: GitUser, 258 | pub distinct: bool, 259 | pub id: String, 260 | pub message: String, 261 | pub modified: Vec, 262 | pub removed: Vec, 263 | pub timestamp: String, 264 | pub tree_id: String, 265 | pub url: String, 266 | } 267 | 268 | #[derive(Default, Debug, Deserialize)] 269 | pub struct Hook { 270 | pub active: bool, 271 | pub config: Config, 272 | pub created_at: String, 273 | pub events: Vec, 274 | pub id: u64, 275 | pub last_response: LastResponse, 276 | pub name: String, 277 | pub ping_url: String, 278 | pub test_url: String, 279 | pub _type: String, 280 | pub updated_at: String, 281 | pub url: String, 282 | } 283 | 284 | #[derive(Default, Debug, Deserialize)] 285 | pub struct Issue { 286 | pub assignee: Option, 287 | pub body: Option, 288 | pub closed_at: Option, 289 | pub comments: u64, 290 | pub comments_url: String, 291 | pub created_at: String, 292 | pub events_url: String, 293 | pub html_url: String, 294 | pub id: u64, 295 | pub labels: Vec