|
@@ -220,6 +220,9 @@ PUSH_EVENT_EXAMPLE_INSTALLATION = r"""{
|
|
|
}
|
|
|
}"""
|
|
|
|
|
|
+LATER_COMMIT_SHA = "6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
|
|
+EARLIER_COMMIT_SHA = "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39"
|
|
|
+# Example taken from github documentation https://docs.github.com/en/rest/commits/commits#compare-two-commits
|
|
|
COMPARE_COMMITS_EXAMPLE = """{
|
|
|
"url": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic",
|
|
|
"html_url": "https://github.com/octocat/Hello-World/compare/master...topic",
|
|
@@ -473,6 +476,7 @@ COMPARE_COMMITS_EXAMPLE = """{
|
|
|
]
|
|
|
}"""
|
|
|
|
|
|
+# Example taken from github example https://docs.github.com/en/rest/commits/commits#list-commits
|
|
|
GET_LAST_COMMITS_EXAMPLE = """[
|
|
|
{
|
|
|
"url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
@@ -2085,7 +2089,8 @@ PULL_REQUEST_CLOSED_EVENT_EXAMPLE = b"""{
|
|
|
}
|
|
|
}"""
|
|
|
|
|
|
-COMPARE_COMMITS_EXAMPLE = """{
|
|
|
+# Example taken from github with additional example commit added https://docs.github.com/en/rest/commits/commits#compare-two-commits
|
|
|
+COMPARE_COMMITS_EXAMPLE_WITH_INTERMEDIATE = """{
|
|
|
"url": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic",
|
|
|
"html_url": "https://github.com/octocat/Hello-World/compare/master...topic",
|
|
|
"permalink_url": "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17",
|
|
@@ -2241,11 +2246,86 @@ COMPARE_COMMITS_EXAMPLE = """{
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "status": "behind",
|
|
|
- "ahead_by": 1,
|
|
|
- "behind_by": 2,
|
|
|
- "total_commits": 1,
|
|
|
+ "status": "ahead",
|
|
|
+ "ahead_by": 2,
|
|
|
+ "behind_by": 0,
|
|
|
+ "total_commits": 2,
|
|
|
"commits": [
|
|
|
+ {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "html_url": "https://github.com/octocat/Hello-World/commit/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39/comments",
|
|
|
+ "commit": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "author": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "message": "Fix all the bugs",
|
|
|
+ "tree": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39"
|
|
|
+ },
|
|
|
+ "comment_count": 0,
|
|
|
+ "verification": {
|
|
|
+ "verified": true,
|
|
|
+ "reason": "valid",
|
|
|
+ "signature": "-----BEGIN PGP MESSAGE----------END PGP MESSAGE-----",
|
|
|
+ "payload": "tree 2edc6bc02366b2b9b0e8fa2ace3f93502e324b39..."
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "author": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "parents": [
|
|
|
+ {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
"url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
"sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
@@ -2338,84 +2418,7 @@ COMPARE_COMMITS_EXAMPLE = """{
|
|
|
]
|
|
|
}"""
|
|
|
|
|
|
-GET_LAST_COMMITS_EXAMPLE = """[
|
|
|
- {
|
|
|
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
|
|
|
- "commit": {
|
|
|
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
- "author": {
|
|
|
- "name": "Monalisa Octocat",
|
|
|
- "email": "support@github.com",
|
|
|
- "date": "2011-04-14T16:00:49Z"
|
|
|
- },
|
|
|
- "committer": {
|
|
|
- "name": "Monalisa Octocat",
|
|
|
- "email": "support@github.com",
|
|
|
- "date": "2011-04-14T16:00:49Z"
|
|
|
- },
|
|
|
- "message": "Fix all the bugs",
|
|
|
- "tree": {
|
|
|
- "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
|
|
- },
|
|
|
- "comment_count": 0,
|
|
|
- "verification": {
|
|
|
- "verified": true,
|
|
|
- "reason": "valid",
|
|
|
- "signature": "-----BEGIN PGP MESSAGE----------END PGP MESSAGE-----",
|
|
|
- "payload": "tree 6dcb09b5b57875f334f61aebed695e2e4193db5e..."
|
|
|
- }
|
|
|
- },
|
|
|
- "author": {
|
|
|
- "login": "octocat",
|
|
|
- "id": 1,
|
|
|
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
- "gravatar_id": "",
|
|
|
- "url": "https://api.github.com/users/octocat",
|
|
|
- "html_url": "https://github.com/octocat",
|
|
|
- "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
- "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
- "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
- "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
- "type": "User",
|
|
|
- "site_admin": false
|
|
|
- },
|
|
|
- "committer": {
|
|
|
- "login": "octocat",
|
|
|
- "id": 1,
|
|
|
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
- "gravatar_id": "",
|
|
|
- "url": "https://api.github.com/users/octocat",
|
|
|
- "html_url": "https://github.com/octocat",
|
|
|
- "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
- "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
- "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
- "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
- "type": "User",
|
|
|
- "site_admin": false
|
|
|
- },
|
|
|
- "parents": [
|
|
|
- {
|
|
|
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
-]"""
|
|
|
-
|
|
|
+# Example taken from github https://docs.github.com/en/rest/commits/commits#get-a-commit
|
|
|
GET_COMMIT_EXAMPLE = r"""
|
|
|
{
|
|
|
"url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
@@ -2544,3 +2547,287 @@ GET_COMMIT_EXAMPLE = r"""
|
|
|
]
|
|
|
}
|
|
|
"""
|
|
|
+
|
|
|
+# Example taken from github https://docs.github.com/en/rest/commits/commits#get-a-commit
|
|
|
+GET_PRIOR_COMMIT_EXAMPLE = r"""
|
|
|
+{
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
|
|
|
+ "html_url": "https://github.com/octocat/Hello-World/commit/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39/comments",
|
|
|
+ "commit": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "author": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "message": "Fix all the bugs",
|
|
|
+ "tree": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39"
|
|
|
+ },
|
|
|
+ "comment_count": 0,
|
|
|
+ "verification": {
|
|
|
+ "verified": false,
|
|
|
+ "reason": "unsigned",
|
|
|
+ "signature": null,
|
|
|
+ "payload": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "author": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "node_id": "MDQ6VXNlcjE=",
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "node_id": "MDQ6VXNlcjE=",
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "parents": [
|
|
|
+ {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "stats": {
|
|
|
+ "additions": 104,
|
|
|
+ "deletions": 4,
|
|
|
+ "total": 108
|
|
|
+ },
|
|
|
+ "files": [
|
|
|
+ {
|
|
|
+ "filename": "file1.txt",
|
|
|
+ "additions": 10,
|
|
|
+ "deletions": 2,
|
|
|
+ "changes": 12,
|
|
|
+ "status": "modified",
|
|
|
+ "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
|
|
|
+ "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
|
|
|
+ "patch": "@@ -29,7 +29,7 @@\n....."
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "filename": "added.txt",
|
|
|
+ "additions": 10,
|
|
|
+ "deletions": 0,
|
|
|
+ "changes": 0,
|
|
|
+ "status": "added",
|
|
|
+ "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/added.txt",
|
|
|
+ "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/added.txt",
|
|
|
+ "patch": "@@ -29,7 +29,7 @@\n....."
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "filename": "removed.txt",
|
|
|
+ "additions": 0,
|
|
|
+ "deletions": 10,
|
|
|
+ "changes": 0,
|
|
|
+ "status": "removed",
|
|
|
+ "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/added.txt",
|
|
|
+ "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/added.txt",
|
|
|
+ "patch": "@@ -29,7 +29,7 @@\n....."
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "filename": "renamed.txt",
|
|
|
+ "previous_filename": "old_name.txt",
|
|
|
+ "additions": 0,
|
|
|
+ "deletions": 0,
|
|
|
+ "changes": 0,
|
|
|
+ "status": "renamed",
|
|
|
+ "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/added.txt",
|
|
|
+ "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/added.txt",
|
|
|
+ "patch": "@@ -29,7 +29,7 @@\n....."
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|
|
|
+"""
|
|
|
+
|
|
|
+# Example taken from github with extra commit added https://docs.github.com/en/rest/commits/commits#list-commits
|
|
|
+GET_LAST_2_COMMITS_EXAMPLE = """[
|
|
|
+{
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "html_url": "https://github.com/octocat/Hello-World/commit/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39/comments",
|
|
|
+ "commit": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "author": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "message": "Fix all the bugs",
|
|
|
+ "tree": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39"
|
|
|
+ },
|
|
|
+ "comment_count": 0,
|
|
|
+ "verification": {
|
|
|
+ "verified": true,
|
|
|
+ "reason": "valid",
|
|
|
+ "signature": "-----BEGIN PGP MESSAGE----------END PGP MESSAGE-----",
|
|
|
+ "payload": "tree 2edc6bc02366b2b9b0e8fa2ace3f93502e324b39..."
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "author": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "parents": [
|
|
|
+ {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/2edc6bc02366b2b9b0e8fa2ace3f93502e324b39",
|
|
|
+ "sha": "2edc6bc02366b2b9b0e8fa2ace3f93502e324b39"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+},
|
|
|
+{
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
|
|
|
+ "commit": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
+ "author": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "name": "Monalisa Octocat",
|
|
|
+ "email": "support@github.com",
|
|
|
+ "date": "2011-04-14T16:00:49Z"
|
|
|
+ },
|
|
|
+ "message": "Fix all the bugs",
|
|
|
+ "tree": {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
|
|
+ },
|
|
|
+ "comment_count": 0,
|
|
|
+ "verification": {
|
|
|
+ "verified": true,
|
|
|
+ "reason": "valid",
|
|
|
+ "signature": "-----BEGIN PGP MESSAGE----------END PGP MESSAGE-----",
|
|
|
+ "payload": "tree 6dcb09b5b57875f334f61aebed695e2e4193db5e..."
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "author": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "committer": {
|
|
|
+ "login": "octocat",
|
|
|
+ "id": 1,
|
|
|
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
|
+ "gravatar_id": "",
|
|
|
+ "url": "https://api.github.com/users/octocat",
|
|
|
+ "html_url": "https://github.com/octocat",
|
|
|
+ "followers_url": "https://api.github.com/users/octocat/followers",
|
|
|
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
|
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
|
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
|
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
|
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
|
+ "repos_url": "https://api.github.com/users/octocat/repos",
|
|
|
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
|
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
|
+ "type": "User",
|
|
|
+ "site_admin": false
|
|
|
+ },
|
|
|
+ "parents": [
|
|
|
+ {
|
|
|
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
|
|
|
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|
|
|
+]"""
|