|
| 1 | +{ |
| 2 | + "url": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic", |
| 3 | + "html_url": "https://github.com/octocat/Hello-World/compare/master...topic", |
| 4 | + "permalink_url": "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17", |
| 5 | + "diff_url": "https://github.com/octocat/Hello-World/compare/master...topic.diff", |
| 6 | + "patch_url": "https://github.com/octocat/Hello-World/compare/master...topic.patch", |
| 7 | + "base_commit": { |
| 8 | + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 9 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 10 | + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 11 | + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", |
| 12 | + "commit": { |
| 13 | + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 14 | + "author": { |
| 15 | + "name": "Monalisa Octocat", |
| 16 | + "email": "support@github.com", |
| 17 | + "date": "2011-04-14T16:00:49Z" |
| 18 | + }, |
| 19 | + "committer": { |
| 20 | + "name": "Monalisa Octocat", |
| 21 | + "email": "support@github.com", |
| 22 | + "date": "2011-04-14T16:00:49Z" |
| 23 | + }, |
| 24 | + "message": "Fix all the bugs", |
| 25 | + "tree": { |
| 26 | + "url": &
10000
quot;https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 27 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" |
| 28 | + }, |
| 29 | + "comment_count": 0 |
| 30 | + }, |
| 31 | + "author": { |
| 32 | + "login": "octocat", |
| 33 | + "id": 1, |
| 34 | + "avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 35 | + "gravatar_id": "", |
| 36 | + "url": "https://api.github.com/users/octocat", |
| 37 | + "html_url": "https://github.com/octocat", |
| 38 | + "followers_url": "https://api.github.com/users/octocat/followers", |
| 39 | + "following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 40 | + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 41 | + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 42 | + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 43 | + "organizations_url": "https://api.github.com/users/octocat/orgs", |
| 44 | + "repos_url": "https://api.github.com/users/octocat/repos", |
| 45 | + "events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 46 | + "received_events_url": "https://api.github.com/users/octocat/received_events", |
| 47 | + "type": "User", |
| 48 | + "site_admin": false |
| 49 | + }, |
| 50 | + "committer": { |
| 51 | + "login": "octocat", |
| 52 | + "id": 1, |
| 53 | + "avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 54 | + "gravatar_id": "", |
| 55 | + "url": "https://api.github.com/users/octocat", |
| 56 | + "html_url": "https://github.com/octocat", |
| 57 | + "followers_url": "https://api.github.com/users/octocat/followers", |
| 58 | + "following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 59 | + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 60 | + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 61 | + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 62 | + "organizations_url": "https://api.github.com/users/octocat/orgs", |
| 63 | + "repos_url": "https://api.github.com/users/octocat/repos", |
| 64 | + "events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 65 | + "received_events_url": "https://api.github.com/users/octocat/received_events", |
| 66 | + "type": "User", |
| 67 | + "site_admin": false |
| 68 | + }, |
| 69 | + "parents": [ |
| 70 | + { |
| 71 | + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193
10000
db5e", |
| 72 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" |
| 73 | + } |
| 74 | + ] |
| 75 | + }, |
| 76 | + "merge_base_commit": { |
| 77 | + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 78 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 79 | + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 80 | + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", |
| 81 | + "commit": { |
| 82 | + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 83 | + "author": { |
| 84 | + "name": "Monalisa Octocat", |
| 85 | + "email": "support@github.com", |
| 86 | + "date": "2011-04-14T16:00:49Z" |
| 87 | + }, |
| 88 | + "committer": { |
| 89 | + "name": "Monalisa Octocat", |
| 90 | + "email": "support@github.com", |
| 91 | + "date": "2011-04-14T16:00:49Z" |
| 92 | + }, |
| 93 | + "message": "Fix all the bugs", |
| 94 | + "tree": { |
| 95 | + "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 96 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" |
| 97 | + }, |
| 98 | + "comment_count": 0 |
| 99 | + }, |
| 100 | + "author": { |
| 101 | + "login": "octocat", |
| 102 | + "id": 1, |
| 103 | + "avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 104 | + "gravatar_id": "", |
| 105 | + "url": "https://api.github.com/users/octocat", |
| 106 | + "html_url": "https://github.com/octocat", |
| 107 | + "followers_url": "https://api.github.com/users/octocat/followers", |
| 108 | + "following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 109 | + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 110 | + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 111 | + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 112 | + "organizations_url": "https://api.github.com/users/octocat/orgs", |
| 113 | + "repos_url": "https://api.github.com/users/octocat/repos", |
| 114 | + "events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 115 | + "received_events_url": "https://api.github.com/users/octocat/received_events", |
| 116 | + "type": "User", |
| 117 | + "site_admin": false |
| 118 | + }, |
| 119 | + "committer": { |
| 120 | + "login": "octocat", |
| 121 | + "id": 1, |
| 122 | + "avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 123 | + "gravatar_id": "", |
| 124 | + "url": "https://api.github.com/users/octocat", |
| 125 | + "html_url": "https://github.com/octocat", |
| 126 | + "followers_url": "https://api.github.com/users/octocat/followers", |
| 127 | + "following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 128 | + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 129 | + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 130 | + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 131 | + "organizations_url": "https://api.github.com/users/octocat/orgs", |
| 132 | + "repos_url": "https://api.github.com/users/octocat/repos", |
| 133 | + "events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 134 | + "received_events_url": "https://api.github.com/users/octocat/received_events", |
| 135 | + "type": "User", |
| 136 | + "site_admin": false |
| 137 | + }, |
| 138 | + "parents": [ |
| 139 | + { |
| 140 | + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 141 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" |
| 142 | + } |
| 143 | + ] |
| 144 | + }, |
| 145 | + "status": "behind", |
| 146 | + "ahead_by": 1, |
| 147 | + "behind_by": 2, |
| 148 | + "total_commits": 1, |
| 149 | + "commits": [ |
| 150 | + { |
| 151 | + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 152 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 153 | + "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 154 | + "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", |
| 155 | + "commit": { |
| 156 | + "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 157 | + "author": { |
| 158 | + "name": "Monalisa Octocat", |
| 159 | + "email": "support@github.com", |
| 160 | + "date": "2011-04-14T16:00:49Z" |
| 161 | + }, |
| 162 | + "committer": { |
| 163 | + "name": "Monalisa Octocat", |
| 164 | + "email": "support@github.com", |
| 165 | + "date": "2011-04-14T16:00:49Z" |
| 166 | + }, |
| 167 | + "message": "Fix all the bugs", |
| 168 | + "tree": { |
| 169 | + "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 170 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" |
| 171 | + }, |
| 172 | + "comment_count": 0 |
| 173 | + }, |
| 174 | + "author": { |
| 175 | + "login": "octocat", |
| 176 | + "id": 1, |
| 177 | + "avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 178 | + "gravatar_id": "", |
| 179 | + "url": "https://api.github.com/users/octocat", |
| 180 | + "html_url": "https://github.com/octocat", |
| 181 | + "followers_url": "https://api.github.com/users/octocat/followers", |
| 182 | + "following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 183 | + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 184 | + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 185 | + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 186 | + "organizations_url": "https://api.github.com/users/octocat/orgs", |
| 187 | + "repos_url": "https://api.github.com/users/octocat/repos", |
| 188 | + "events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 189 | + "received_events_url": "https://api.github.com/users/octocat/received_events", |
| 190 | + "type": "User", |
| 191 | + "site_admin": false |
| 192 | + }, |
| 193 | + "committer": { |
| 194 | + "login": "octocat", |
| 195 | + "id": 1, |
| 196 | + "avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 197 | + "gravatar_id": "", |
| 198 | + "url": "https://api.github.com/users/octocat", |
| 199 | + "html_url": "https://github.com/octocat", |
| 200 | + "followers_url": "https://api.github.com/users/octocat/followers", |
| 201 | + "following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 202 | + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 203 | + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 204 | + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 205 | + "organizations_url": "https://api.github.com/users/octocat/orgs", |
| 206 | + "repos_url": "https://api.github.com/users/octocat/repos", |
| 207 | + "events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 208 | + "received_events_url": "https://api.github.com/users/octocat/received_events", |
| 209 | + "type": "User", |
| 210 | + "site_admin": false |
| 211 | + }, |
| 212 | + "parents": [ |
| 213 | + { |
| 214 | + "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 215 | + "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" |
| 216 | + } |
| 217 | + ] |
| 218 | + } |
| 219 | + ], |
| 220 | + "files": [ |
| 221 | + { |
| 222 | + "sha": "bbcd538c8e72b8c175046e27cc8f907076331401", |
| 223 | + "filename": "file1.txt", |
| 224 | + "status": "added", |
| 225 | + "additions": 103, |
| 226 | + "deletions": 21, |
| 227 | + "changes": 124, |
| 228 | + "blob_url": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", |
| 229 | + "raw_url": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", |
| 230 | + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 231 | + "patch": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" |
| 232 | + } |
| 233 | + ] |
| 234 | +} |
0 commit comments