| 1 |
""" |
| 2 |
Generated by generate/generate.py - 2020-08-02 10:03:59.857088 |
| 3 |
""" |
| 4 |
import pytest |
| 5 |
|
| 6 |
|
| 7 |
@pytest.fixture() |
| 8 |
def pullrequest_fixtrue_response(): |
| 9 |
return { |
| 10 |
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", |
| 11 |
"id": 1, |
| 12 |
"node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", |
| 13 |
"html_url": "https://github.com/octocat/Hello-World/pull/1347", |
| 14 |
"diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", |
| 15 |
"patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", |
| 16 |
"issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", |
| 17 |
"commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", |
| 18 |
"review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", |
| 19 |
"review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", |
| 20 |
"comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", |
| 21 |
"statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 22 |
"number": 1347, |
| 23 |
"state": "open", |
| 24 |
"locked": True, |
| 25 |
"title": "Amazing new feature", |
| 26 |
"user": { |
| 27 |
"login": "octocat", |
| 28 |
"id": 1, |
| 29 |
"node_id": "MDQ6VXNlcjE=", |
| 30 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 31 |
"gravatar_id": "", |
| 32 |
"url": "https://api.github.com/users/octocat", |
| 33 |
"html_url": "https://github.com/octocat", |
| 34 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 35 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 36 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 37 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 38 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 39 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 40 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 41 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 42 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 43 |
"type": "User", |
| 44 |
"site_admin": False, |
| 45 |
}, |
| 46 |
"body": "Please pull these awesome changes in!", |
| 47 |
"labels": [ |
| 48 |
{ |
| 49 |
"id": 208045946, |
| 50 |
"node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", |
| 51 |
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", |
| 52 |
"name": "bug", |
| 53 |
"description": "Something isn't working", |
| 54 |
"color": "f29513", |
| 55 |
"default": True, |
| 56 |
} |
| 57 |
], |
| 58 |
"milestone": { |
| 59 |
"url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", |
| 60 |
"html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", |
| 61 |
"labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", |
| 62 |
"id": 1002604, |
| 63 |
"node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", |
| 64 |
"number": 1, |
| 65 |
"state": "open", |
| 66 |
"title": "v1.0", |
| 67 |
"description": "Tracking milestone for version 1.0", |
| 68 |
"creator": { |
| 69 |
"login": "octocat", |
| 70 |
"id": 1, |
| 71 |
"node_id": "MDQ6VXNlcjE=", |
| 72 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 73 |
"gravatar_id": "", |
| 74 |
"url": "https://api.github.com/users/octocat", |
| 75 |
"html_url": "https://github.com/octocat", |
| 76 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 77 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 78 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 79 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 80 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 81 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 82 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 83 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 84 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 85 |
"type": "User", |
| 86 |
"site_admin": False, |
| 87 |
}, |
| 88 |
"open_issues": 4, |
| 89 |
"closed_issues": 8, |
| 90 |
"created_at": "2011-04-10T20:09:31Z", |
| 91 |
"updated_at": "2014-03-03T18:58:10Z", |
| 92 |
"closed_at": "2013-02-12T13:22:01Z", |
| 93 |
"due_on": "2012-10-09T23:39:01Z", |
| 94 |
}, |
| 95 |
"active_lock_reason": "too heated", |
| 96 |
"created_at": "2011-01-26T19:01:12Z", |
| 97 |
"updated_at": "2011-01-26T19:01:12Z", |
| 98 |
"closed_at": "2011-01-26T19:01:12Z", |
| 99 |
"merged_at": "2011-01-26T19:01:12Z", |
| 100 |
"merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", |
| 101 |
"assignee": { |
| 102 |
"login": "octocat", |
| 103 |
"id": 1, |
| 104 |
"node_id": "MDQ6VXNlcjE=", |
| 105 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 106 |
"gravatar_id": "", |
| 107 |
"url": "https://api.github.com/users/octocat", |
| 108 |
"html_url": "https://github.com/octocat", |
| 109 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 110 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 111 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 112 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 113 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 114 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 115 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 116 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 117 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 118 |
"type": "User", |
| 119 |
"site_admin": False, |
| 120 |
}, |
| 121 |
"assignees": [ |
| 122 |
{ |
| 123 |
"login": "octocat", |
| 124 |
"id": 1, |
| 125 |
"node_id": "MDQ6VXNlcjE=", |
| 126 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 127 |
"gravatar_id": "", |
| 128 |
"url": "https://api.github.com/users/octocat", |
| 129 |
"html_url": "https://github.com/octocat", |
| 130 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 131 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 132 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 133 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 134 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 135 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 136 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 137 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 138 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 139 |
"type": "User", |
| 140 |
"site_admin": False, |
| 141 |
}, |
| 142 |
{ |
| 143 |
"login": "hubot", |
| 144 |
"id": 1, |
| 145 |
"node_id": "MDQ6VXNlcjE=", |
| 146 |
"avatar_url": "https://github.com/images/error/hubot_happy.gif", |
| 147 |
"gravatar_id": "", |
| 148 |
"url": "https://api.github.com/users/hubot", |
| 149 |
"html_url": "https://github.com/hubot", |
| 150 |
"followers_url": "https://api.github.com/users/hubot/followers", |
| 151 |
"following_url": "https://api.github.com/users/hubot/following{/other_user}", |
| 152 |
"gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", |
| 153 |
"starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", |
| 154 |
"subscriptions_url": "https://api.github.com/users/hubot/subscriptions", |
| 155 |
"organizations_url": "https://api.github.com/users/hubot/orgs", |
| 156 |
"repos_url": "https://api.github.com/users/hubot/repos", |
| 157 |
"events_url": "https://api.github.com/users/hubot/events{/privacy}", |
| 158 |
"received_events_url": "https://api.github.com/users/hubot/received_events", |
| 159 |
"type": "User", |
| 160 |
"site_admin": True, |
| 161 |
}, |
| 162 |
], |
| 163 |
"requested_reviewers": [ |
| 164 |
{ |
| 165 |
"login": "other_user", |
| 166 |
"id": 1, |
| 167 |
"node_id": "MDQ6VXNlcjE=", |
| 168 |
"avatar_url": "https://github.com/images/error/other_user_happy.gif", |
| 169 |
"gravatar_id": "", |
| 170 |
"url": "https://api.github.com/users/other_user", |
| 171 |
"html_url": "https://github.com/other_user", |
| 172 |
"followers_url": "https://api.github.com/users/other_user/followers", |
| 173 |
"following_url": "https://api.github.com/users/other_user/following{/other_user}", |
| 174 |
"gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", |
| 175 |
"starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", |
| 176 |
"subscriptions_url": "https://api.github.com/users/other_user/subscriptions", |
| 177 |
"organizations_url": "https://api.github.com/users/other_user/orgs", |
| 178 |
"repos_url": "https://api.github.com/users/other_user/repos", |
| 179 |
"events_url": "https://api.github.com/users/other_user/events{/privacy}", |
| 180 |
"received_events_url": "https://api.github.com/users/other_user/received_events", |
| 181 |
"type": "User", |
| 182 |
"site_admin": False, |
| 183 |
} |
| 184 |
], |
| 185 |
"requested_teams": [ |
| 186 |
{ |
| 187 |
"id": 1, |
| 188 |
"node_id": "MDQ6VGVhbTE=", |
| 189 |
"url": "https://api.github.com/teams/1", |
| 190 |
"html_url": "https://api.github.com/teams/justice-league", |
| 191 |
"name": "Justice League", |
| 192 |
"slug": "justice-league", |
| 193 |
"description": "A great team.", |
| 194 |
"privacy": "closed", |
| 195 |
"permission": "admin", |
| 196 |
"members_url": "https://api.github.com/teams/1/members{/member}", |
| 197 |
"repositories_url": "https://api.github.com/teams/1/repos", |
| 198 |
"parent": None, |
| 199 |
} |
| 200 |
], |
| 201 |
"head": { |
| 202 |
"label": "octocat:new-topic", |
| 203 |
"ref": "new-topic", |
| 204 |
"sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 205 |
"user": { |
| 206 |
"login": "octocat", |
| 207 |
"id": 1, |
| 208 |
"node_id": "MDQ6VXNlcjE=", |
| 209 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 210 |
"gravatar_id": "", |
| 211 |
"url": "https://api.github.com/users/octocat", |
| 212 |
"html_url": "https://github.com/octocat", |
| 213 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 214 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 215 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 216 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 217 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 218 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 219 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 220 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 221 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 222 |
"type": "User", |
| 223 |
"site_admin": False, |
| 224 |
}, |
| 225 |
"repo": { |
| 226 |
"id": 1296269, |
| 227 |
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", |
| 228 |
"name": "Hello-World", |
| 229 |
"full_name": "octocat/Hello-World", |
| 230 |
"owner": { |
| 231 |
"login": "octocat", |
| 232 |
"id": 1, |
| 233 |
"node_id": "MDQ6VXNlcjE=", |
| 234 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 235 |
"gravatar_id": "", |
| 236 |
"url": "https://api.github.com/users/octocat", |
| 237 |
"html_url": "https://github.com/octocat", |
| 238 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 239 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 240 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 241 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 242 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 243 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 244 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 245 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 246 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 247 |
"type": "User", |
| 248 |
"site_admin": False, |
| 249 |
}, |
| 250 |
"private": False, |
| 251 |
"html_url": "https://github.com/octocat/Hello-World", |
| 252 |
"description": "This your first repo!", |
| 253 |
"fork": False, |
| 254 |
"url": "https://api.github.com/repos/octocat/Hello-World", |
| 255 |
"archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", |
| 256 |
"assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", |
| 257 |
"blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", |
| 258 |
"branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", |
| 259 |
"collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", |
| 260 |
"comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", |
| 261 |
"commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", |
| 262 |
"compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", |
| 263 |
"contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", |
| 264 |
"contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors", |
| 265 |
"deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments", |
| 266 |
"downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads", |
| 267 |
"events_url": "http://api.github.com/repos/octocat/Hello-World/events", |
| 268 |
"forks_url": "http://api.github.com/repos/octocat/Hello-World/forks", |
| 269 |
"git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", |
| 270 |
"git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", |
| 271 |
"git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", |
| 272 |
"git_url": "git:github.com/octocat/Hello-World.git", |
| 273 |
"issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", |
| 274 |
"issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", |
| 275 |
"issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", |
| 276 |
"keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", |
| 277 |
"labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", |
| 278 |
"languages_url": "http://api.github.com/repos/octocat/Hello-World/languages", |
| 279 |
"merges_url": "http://api.github.com/repos/octocat/Hello-World/merges", |
| 280 |
"milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", |
| 281 |
"notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", |
| 282 |
"pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", |
| 283 |
"releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", |
| 284 |
"ssh_url": "[email protected]:octocat/Hello-World.git", |
| 285 |
"stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers", |
| 286 |
"statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", |
| 287 |
"subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers", |
| 288 |
"subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription", |
| 289 |
"tags_url": "http://api.github.com/repos/octocat/Hello-World/tags", |
| 290 |
"teams_url": "http://api.github.com/repos/octocat/Hello-World/teams", |
| 291 |
"trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", |
| 292 |
"clone_url": "https://github.com/octocat/Hello-World.git", |
| 293 |
"mirror_url": "git:git.example.com/octocat/Hello-World", |
| 294 |
"hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", |
| 295 |
"svn_url": "https://svn.github.com/octocat/Hello-World", |
| 296 |
"homepage": "https://github.com", |
| 297 |
"language": None, |
| 298 |
"forks_count": 9, |
| 299 |
"stargazers_count": 80, |
| 300 |
"watchers_count": 80, |
| 301 |
"size": 108, |
| 302 |
"default_branch": "main", |
| 303 |
"open_issues_count": 0, |
| 304 |
"is_template": True, |
| 305 |
"topics": ["octocat", "atom", "electron", "api"], |
| 306 |
"has_issues": True, |
| 307 |
"has_projects": True, |
| 308 |
"has_wiki": True, |
| 309 |
"has_pages": False, |
| 310 |
"has_downloads": True, |
| 311 |
"archived": False, |
| 312 |
"disabled": False, |
| 313 |
"visibility": "public", |
| 314 |
"pushed_at": "2011-01-26T19:06:43Z", |
| 315 |
"created_at": "2011-01-26T19:01:12Z", |
| 316 |
"updated_at": "2011-01-26T19:14:43Z", |
| 317 |
"permissions": {"admin": False, "push": False, "pull": True}, |
| 318 |
"allow_rebase_merge": True, |
| 319 |
"template_repository": None, |
| 320 |
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", |
| 321 |
"allow_squash_merge": True, |
| 322 |
"delete_branch_on_merge": True, |
| 323 |
"allow_merge_commit": True, |
| 324 |
"subscribers_count": 42, |
| 325 |
"network_count": 0, |
| 326 |
}, |
| 327 |
}, |
| 328 |
"base": { |
| 329 |
"label": "octocat:main", |
| 330 |
"ref": "main", |
| 331 |
"sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", |
| 332 |
"user": { |
| 333 |
"login": "octocat", |
| 334 |
"id": 1, |
| 335 |
"node_id": "MDQ6VXNlcjE=", |
| 336 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 337 |
"gravatar_id": "", |
| 338 |
"url": "https://api.github.com/users/octocat", |
| 339 |
"html_url": "https://github.com/octocat", |
| 340 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 341 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 342 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 343 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 344 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 345 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 346 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 347 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 348 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 349 |
"type": "User", |
| 350 |
"site_admin": False, |
| 351 |
}, |
| 352 |
"repo": { |
| 353 |
"id": 1296269, |
| 354 |
"node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", |
| 355 |
"name": "Hello-World", |
| 356 |
"full_name": "octocat/Hello-World", |
| 357 |
"owner": { |
| 358 |
"login": "octocat", |
| 359 |
"id": 1, |
| 360 |
"node_id": "MDQ6VXNlcjE=", |
| 361 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 362 |
"gravatar_id": "", |
| 363 |
"url": "https://api.github.com/users/octocat", |
| 364 |
"html_url": "https://github.com/octocat", |
| 365 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 366 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 367 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 368 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 369 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 370 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 371 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 372 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 373 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 374 |
"type": "User", |
| 375 |
"site_admin": False, |
| 376 |
}, |
| 377 |
"private": False, |
| 378 |
"html_url": "https://github.com/octocat/Hello-World", |
| 379 |
"description": "This your first repo!", |
| 380 |
"fork": False, |
| 381 |
"url": "https://api.github.com/repos/octocat/Hello-World", |
| 382 |
"archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", |
| 383 |
"assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}", |
| 384 |
"blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", |
| 385 |
"branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}", |
| 386 |
"collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", |
| 387 |
"comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}", |
| 388 |
"commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}", |
| 389 |
"compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", |
| 390 |
"contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}", |
| 391 |
"contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors", |
| 392 |
"deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments", |
| 393 |
"downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads", |
| 394 |
"events_url": "http://api.github.com/repos/octocat/Hello-World/events", |
| 395 |
"forks_url": "http://api.github.com/repos/octocat/Hello-World/forks", |
| 396 |
"git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", |
| 397 |
"git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", |
| 398 |
"git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", |
| 399 |
"git_url": "git:github.com/octocat/Hello-World.git", |
| 400 |
"issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", |
| 401 |
"issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}", |
| 402 |
"issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}", |
| 403 |
"keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}", |
| 404 |
"labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}", |
| 405 |
"languages_url": "http://api.github.com/repos/octocat/Hello-World/languages", |
| 406 |
"merges_url": "http://api.github.com/repos/octocat/Hello-World/merges", |
| 407 |
"milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}", |
| 408 |
"notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", |
| 409 |
"pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}", |
| 410 |
"releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}", |
| 411 |
"ssh_url": "[email protected]:octocat/Hello-World.git", |
| 412 |
"stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers", |
| 413 |
"statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}", |
| 414 |
"subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers", |
| 415 |
"subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription", |
| 416 |
"tags_url": "http://api.github.com/repos/octocat/Hello-World/tags", |
| 417 |
"teams_url": "http://api.github.com/repos/octocat/Hello-World/teams", |
| 418 |
"trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", |
| 419 |
"clone_url": "https://github.com/octocat/Hello-World.git", |
| 420 |
"mirror_url": "git:git.example.com/octocat/Hello-World", |
| 421 |
"hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks", |
| 422 |
"svn_url": "https://svn.github.com/octocat/Hello-World", |
| 423 |
"homepage": "https://github.com", |
| 424 |
"language": None, |
| 425 |
"forks_count": 9, |
| 426 |
"stargazers_count": 80, |
| 427 |
"watchers_count": 80, |
| 428 |
"size": 108, |
| 429 |
"default_branch": "main", |
| 430 |
"open_issues_count": 0, |
| 431 |
"is_template": True, |
| 432 |
"topics": ["octocat", "atom", "electron", "api"], |
| 433 |
"has_issues": True, |
| 434 |
"has_projects": True, |
| 435 |
"has_wiki": True, |
| 436 |
"has_pages": False, |
| 437 |
"has_downloads": True, |
| 438 |
"archived": False, |
| 439 |
"disabled": False, |
| 440 |
"visibility": "public", |
| 441 |
"pushed_at": "2011-01-26T19:06:43Z", |
| 442 |
"created_at": "2011-01-26T19:01:12Z", |
| 443 |
"updated_at": "2011-01-26T19:14:43Z", |
| 444 |
"permissions": {"admin": False, "push": False, "pull": True}, |
| 445 |
"allow_rebase_merge": True, |
| 446 |
"template_repository": None, |
| 447 |
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", |
| 448 |
"allow_squash_merge": True, |
| 449 |
"delete_branch_on_merge": True, |
| 450 |
"allow_merge_commit": True, |
| 451 |
"subscribers_count": 42, |
| 452 |
"network_count": 0, |
| 453 |
}, |
| 454 |
}, |
| 455 |
"_links": { |
| 456 |
"self": {"href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"}, |
| 457 |
"html": {"href": "https://github.com/octocat/Hello-World/pull/1347"}, |
| 458 |
"issue": {"href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"}, |
| 459 |
"comments": { |
| 460 |
"href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" |
| 461 |
}, |
| 462 |
"review_comments": { |
| 463 |
"href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" |
| 464 |
}, |
| 465 |
"review_comment": { |
| 466 |
"href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" |
| 467 |
}, |
| 468 |
"commits": { |
| 469 |
"href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" |
| 470 |
}, |
| 471 |
"statuses": { |
| 472 |
"href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" |
| 473 |
}, |
| 474 |
}, |
| 475 |
"author_association": "OWNER", |
| 476 |
"draft": False, |
| 477 |
"merged": False, |
| 478 |
"mergeable": True, |
| 479 |
"rebaseable": True, |
| 480 |
"mergeable_state": "clean", |
| 481 |
"merged_by": { |
| 482 |
"login": "octocat", |
| 483 |
"id": 1, |
| 484 |
"node_id": "MDQ6VXNlcjE=", |
| 485 |
"avatar_url": "https://github.com/images/error/octocat_happy.gif", |
| 486 |
"gravatar_id": "", |
| 487 |
"url": "https://api.github.com/users/octocat", |
| 488 |
"html_url": "https://github.com/octocat", |
| 489 |
"followers_url": "https://api.github.com/users/octocat/followers", |
| 490 |
"following_url": "https://api.github.com/users/octocat/following{/other_user}", |
| 491 |
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", |
| 492 |
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", |
| 493 |
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions", |
| 494 |
"organizations_url": "https://api.github.com/users/octocat/orgs", |
| 495 |
"repos_url": "https://api.github.com/users/octocat/repos", |
| 496 |
"events_url": "https://api.github.com/users/octocat/events{/privacy}", |
| 497 |
"received_events_url": "https://api.github.com/users/octocat/received_events", |
| 498 |
"type": "User", |
| 499 |
"site_admin": False, |
| 500 |
}, |
| 501 |
"comments": 10, |
| 502 |
"review_comments": 0, |
| 503 |
"maintainer_can_modify": True, |
| 504 |
"commits": 3, |
| 505 |
"additions": 100, |
| 506 |
"deletions": 3, |
| 507 |
"changed_files": 5, |
| 508 |
} |