mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Merge pull request #1175 from t0m4uk1991/issue_rename_event_add_from_to_metadata
Add mapping for from/to fields in issue rename event
This commit is contained in:
@@ -21,6 +21,7 @@ public class GHIssueEvent extends GitHubInteractiveObject {
|
||||
private GHMilestone milestone;
|
||||
private GHLabel label;
|
||||
private GHUser assignee;
|
||||
private GHIssueRename rename;
|
||||
|
||||
private GHIssue issue;
|
||||
|
||||
@@ -144,6 +145,16 @@ public class GHIssueEvent extends GitHubInteractiveObject {
|
||||
return assignee;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the {@link GHIssueRename} that contains information about issue old and new name. Only present for event
|
||||
* "renamed", <code>null</code> otherwise.
|
||||
*
|
||||
* @return the GHIssueRename
|
||||
*/
|
||||
public GHIssueRename getRename() {
|
||||
return this.rename;
|
||||
}
|
||||
|
||||
GHIssueEvent wrapUp(GitHub root) {
|
||||
this.root = root;
|
||||
return this;
|
||||
|
||||
32
src/main/java/org/kohsuke/github/GHIssueRename.java
Normal file
32
src/main/java/org/kohsuke/github/GHIssueRename.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
/**
|
||||
* The type GHIssueRename.
|
||||
*
|
||||
* @see <a href="https://docs.github.com/en/developers/webhooks-and-events/events/issue-event-types#renamed">Github
|
||||
* documentation for renamed event</a>
|
||||
*
|
||||
* @author Andrii Tomchuk
|
||||
*/
|
||||
public class GHIssueRename {
|
||||
private String from = "";
|
||||
private String to = "";
|
||||
|
||||
/**
|
||||
* Old issue name.
|
||||
*
|
||||
* @return old issue name
|
||||
*/
|
||||
public String getFrom() {
|
||||
return this.from;
|
||||
}
|
||||
|
||||
/**
|
||||
* New issue name.
|
||||
*
|
||||
* @return new issue name
|
||||
*/
|
||||
public String getTo() {
|
||||
return this.to;
|
||||
}
|
||||
}
|
||||
@@ -39,6 +39,40 @@ public class GHIssueEventTest extends AbstractGitHubWireMockTest {
|
||||
issue.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testEventsForIssueRename() throws Exception {
|
||||
// Create the issue.
|
||||
GHRepository repo = getRepository();
|
||||
GHIssueBuilder builder = repo.createIssue("Some invalid issue name");
|
||||
GHIssue issue = builder.create();
|
||||
|
||||
// Generate rename event.
|
||||
issue.setTitle("Fixed issue name");
|
||||
|
||||
// Test that the event is present.
|
||||
List<GHIssueEvent> list = issue.listEvents().toList();
|
||||
assertThat(list.size(), equalTo(1));
|
||||
|
||||
GHIssueEvent event = list.get(0);
|
||||
assertThat(event.getIssue().getNumber(), equalTo(issue.getNumber()));
|
||||
assertThat(event.getEvent(), equalTo("renamed"));
|
||||
assertThat(event.getRename(), notNullValue());
|
||||
assertThat(event.getRename().getFrom(), equalTo("Some invalid issue name"));
|
||||
assertThat(event.getRename().getTo(), equalTo("Fixed issue name"));
|
||||
|
||||
// Test that we can get a single event directly.
|
||||
GHIssueEvent eventFromRepo = repo.getIssueEvent(event.getId());
|
||||
assertThat(eventFromRepo.getId(), equalTo(event.getId()));
|
||||
assertThat(eventFromRepo.getCreatedAt(), equalTo(event.getCreatedAt()));
|
||||
assertThat(eventFromRepo.getEvent(), equalTo("renamed"));
|
||||
assertThat(eventFromRepo.getRename(), notNullValue());
|
||||
assertThat(eventFromRepo.getRename().getFrom(), equalTo("Some invalid issue name"));
|
||||
assertThat(eventFromRepo.getRename().getTo(), equalTo("Fixed issue name"));
|
||||
|
||||
// Close the issue.
|
||||
issue.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRepositoryEvents() throws Exception {
|
||||
GHRepository repo = getRepository();
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/hub4j-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"description": "Hub4j Test Org Description (this could be null or blank too)",
|
||||
"name": "Hub4j Test Org Name (this could be null or blank too)",
|
||||
"company": null,
|
||||
"blog": "https://hub4j.url.io/could/be/null",
|
||||
"location": "Hub4j Test Org Location (this could be null or blank too)",
|
||||
"email": "hub4jtestorgemail@could.be.null.com",
|
||||
"twitter_username": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 18,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2020-06-04T05:56:10Z",
|
||||
"type": "Organization"
|
||||
}
|
||||
@@ -0,0 +1,328 @@
|
||||
{
|
||||
"id": 206888201,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=",
|
||||
"name": "github-api",
|
||||
"full_name": "hub4j-test-org/github-api",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/github-api",
|
||||
"description": "Tricky",
|
||||
"fork": true,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/github-api",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
|
||||
"created_at": "2019-09-06T23:26:04Z",
|
||||
"updated_at": "2021-04-19T20:09:00Z",
|
||||
"pushed_at": "2021-04-19T20:08:56Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/github-api.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/github-api.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/github-api.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/github-api",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 19045,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Java",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 5,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 0,
|
||||
"open_issues": 5,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"parent": {
|
||||
"id": 617210,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=",
|
||||
"name": "github-api",
|
||||
"full_name": "hub4j/github-api",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j",
|
||||
"id": 54909825,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j",
|
||||
"html_url": "https://github.com/hub4j",
|
||||
"followers_url": "https://api.github.com/users/hub4j/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j/github-api",
|
||||
"description": "Java API for GitHub",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j/github-api",
|
||||
"forks_url": "https://api.github.com/repos/hub4j/github-api/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j/github-api/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j/github-api/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j/github-api/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j/github-api/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j/github-api/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments",
|
||||
"created_at": "2010-04-19T04:13:03Z",
|
||||
"updated_at": "2021-06-04T07:26:35Z",
|
||||
"pushed_at": "2021-06-02T21:59:14Z",
|
||||
"git_url": "git://github.com/hub4j/github-api.git",
|
||||
"ssh_url": "git@github.com:hub4j/github-api.git",
|
||||
"clone_url": "https://github.com/hub4j/github-api.git",
|
||||
"svn_url": "https://github.com/hub4j/github-api",
|
||||
"homepage": "https://github-api.kohsuke.org/",
|
||||
"size": 33490,
|
||||
"stargazers_count": 774,
|
||||
"watchers_count": 774,
|
||||
"language": "Java",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 546,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 86,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 546,
|
||||
"open_issues": 86,
|
||||
"watchers": 774,
|
||||
"default_branch": "main"
|
||||
},
|
||||
"source": {
|
||||
"id": 617210,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=",
|
||||
"name": "github-api",
|
||||
"full_name": "hub4j/github-api",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j",
|
||||
"id": 54909825,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j",
|
||||
"html_url": "https://github.com/hub4j",
|
||||
"followers_url": "https://api.github.com/users/hub4j/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j/github-api",
|
||||
"description": "Java API for GitHub",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j/github-api",
|
||||
"forks_url": "https://api.github.com/repos/hub4j/github-api/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j/github-api/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j/github-api/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j/github-api/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j/github-api/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j/github-api/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments",
|
||||
"created_at": "2010-04-19T04:13:03Z",
|
||||
"updated_at": "2021-06-04T07:26:35Z",
|
||||
"pushed_at": "2021-06-02T21:59:14Z",
|
||||
"git_url": "git://github.com/hub4j/github-api.git",
|
||||
"ssh_url": "git@github.com:hub4j/github-api.git",
|
||||
"clone_url": "https://github.com/hub4j/github-api.git",
|
||||
"svn_url": "https://github.com/hub4j/github-api",
|
||||
"homepage": "https://github-api.kohsuke.org/",
|
||||
"size": 33490,
|
||||
"stargazers_count": 774,
|
||||
"watchers_count": 774,
|
||||
"language": "Java",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 546,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 86,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 546,
|
||||
"open_issues": 86,
|
||||
"watchers": 774,
|
||||
"default_branch": "main"
|
||||
},
|
||||
"network_count": 546,
|
||||
"subscribers_count": 1
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428",
|
||||
"repository_url": "https://api.github.com/repos/hub4j-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/comments",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/events",
|
||||
"html_url": "https://github.com/hub4j-test-org/github-api/issues/428",
|
||||
"id": 911708519,
|
||||
"node_id": "MDU6SXNzdWU5MTE3MDg1MTk=",
|
||||
"number": 428,
|
||||
"title": "Some invalid issue name",
|
||||
"user": {
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2021-06-04T17:30:18Z",
|
||||
"updated_at": "2021-06-04T17:30:18Z",
|
||||
"closed_at": null,
|
||||
"author_association": "NONE",
|
||||
"active_lock_reason": null,
|
||||
"body": null,
|
||||
"closed_by": null,
|
||||
"performed_via_github_app": null
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428",
|
||||
"repository_url": "https://api.github.com/repos/hub4j-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/comments",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/events",
|
||||
"html_url": "https://github.com/hub4j-test-org/github-api/issues/428",
|
||||
"id": 911708519,
|
||||
"node_id": "MDU6SXNzdWU5MTE3MDg1MTk=",
|
||||
"number": 428,
|
||||
"title": "Fixed issue name",
|
||||
"user": {
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2021-06-04T17:30:18Z",
|
||||
"updated_at": "2021-06-04T17:30:19Z",
|
||||
"closed_at": null,
|
||||
"author_association": "NONE",
|
||||
"active_lock_reason": null,
|
||||
"body": null,
|
||||
"closed_by": null,
|
||||
"performed_via_github_app": null
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428",
|
||||
"repository_url": "https://api.github.com/repos/hub4j-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/comments",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/events",
|
||||
"html_url": "https://github.com/hub4j-test-org/github-api/issues/428",
|
||||
"id": 911708519,
|
||||
"node_id": "MDU6SXNzdWU5MTE3MDg1MTk=",
|
||||
"number": 428,
|
||||
"title": "Fixed issue name",
|
||||
"user": {
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "closed",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2021-06-04T17:30:18Z",
|
||||
"updated_at": "2021-06-04T17:30:20Z",
|
||||
"closed_at": "2021-06-04T17:30:20Z",
|
||||
"author_association": "NONE",
|
||||
"active_lock_reason": null,
|
||||
"body": null,
|
||||
"closed_by": {
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"performed_via_github_app": null
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
[
|
||||
{
|
||||
"id": 4844454197,
|
||||
"node_id": "MDE3OlJlbmFtZWRUaXRsZUV2ZW50NDg0NDQ1NDE5Nw==",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events/4844454197",
|
||||
"actor": {
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"event": "renamed",
|
||||
"commit_id": null,
|
||||
"commit_url": null,
|
||||
"created_at": "2021-06-04T17:30:19Z",
|
||||
"rename": {
|
||||
"from": "Some invalid issue name",
|
||||
"to": "Fixed issue name"
|
||||
},
|
||||
"performed_via_github_app": null
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"id": 4844454197,
|
||||
"node_id": "MDE3OlJlbmFtZWRUaXRsZUV2ZW50NDg0NDQ1NDE5Nw==",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events/4844454197",
|
||||
"actor": {
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"event": "renamed",
|
||||
"commit_id": null,
|
||||
"commit_url": null,
|
||||
"created_at": "2021-06-04T17:30:19Z",
|
||||
"rename": {
|
||||
"from": "Some invalid issue name",
|
||||
"to": "Fixed issue name"
|
||||
},
|
||||
"issue": {
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428",
|
||||
"repository_url": "https://api.github.com/repos/hub4j-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/comments",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428/events",
|
||||
"html_url": "https://github.com/hub4j-test-org/github-api/issues/428",
|
||||
"id": 911708519,
|
||||
"node_id": "MDU6SXNzdWU5MTE3MDg1MTk=",
|
||||
"number": 428,
|
||||
"title": "Fixed issue name",
|
||||
"user": {
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2021-06-04T17:30:18Z",
|
||||
"updated_at": "2021-06-04T17:30:19Z",
|
||||
"closed_at": null,
|
||||
"author_association": "NONE",
|
||||
"active_lock_reason": null,
|
||||
"body": null,
|
||||
"performed_via_github_app": null
|
||||
},
|
||||
"performed_via_github_app": null
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": null,
|
||||
"company": null,
|
||||
"blog": "https://t0m4uk1991.github.io",
|
||||
"location": "Ukraine",
|
||||
"email": "t0m4uk1991@gmail.com",
|
||||
"hireable": true,
|
||||
"bio": null,
|
||||
"twitter_username": null,
|
||||
"public_repos": 13,
|
||||
"public_gists": 10,
|
||||
"followers": 2,
|
||||
"following": 2,
|
||||
"created_at": "2014-02-16T20:43:03Z",
|
||||
"updated_at": "2021-06-04T17:22:50Z",
|
||||
"private_gists": 2,
|
||||
"total_private_repos": 16,
|
||||
"owned_private_repos": 16,
|
||||
"disk_usage": 23717,
|
||||
"collaborators": 0,
|
||||
"two_factor_authentication": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "0c7963ee-9d88-49ed-b6e0-2e9f86f6d172",
|
||||
"name": "orgs_hub4j-test-org",
|
||||
"request": {
|
||||
"url": "/orgs/hub4j-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "orgs_hub4j-test-org-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:17 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"087e4632cb5ac0fdd2c25fa49de6c38b8e15ae01fcfffe18f1cebbf755461856\"",
|
||||
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4965",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "35",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "BEAE:3CFD:23F092E:24A55E9:60BA6329"
|
||||
}
|
||||
},
|
||||
"uuid": "0c7963ee-9d88-49ed-b6e0-2e9f86f6d172",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "6602a1ef-19d1-4443-86d2-4e581dda95d7",
|
||||
"name": "repos_hub4j-test-org_github-api",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/github-api",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:18 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"ddd2a544ff3dff3aaeadb5d03e15f1ba9b75ce7dce55a39f0be64baea5d710fa\"",
|
||||
"Last-Modified": "Mon, 19 Apr 2021 20:09:00 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4964",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "36",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "ACA8:FD84:83718A:8699D8:60BA6329"
|
||||
}
|
||||
},
|
||||
"uuid": "6602a1ef-19d1-4443-86d2-4e581dda95d7",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"id": "4b5cc620-1ca6-4fcb-9a7c-2a282f8661d3",
|
||||
"name": "repos_hub4j-test-org_github-api_issues",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/github-api/issues",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"assignees\":[],\"title\":\"Some invalid issue name\",\"labels\":[]}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"bodyFileName": "repos_hub4j-test-org_github-api_issues-4.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:18 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"b2bb1abcde9ed0487f4361fbf9643c387693d6d16db8c5cb41ef68e48826ab75\"",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4963",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "37",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "7333:09A5:129955:182A8A:60BA632A",
|
||||
"Location": "https://api.github.com/repos/hub4j-test-org/github-api/issues/428"
|
||||
}
|
||||
},
|
||||
"uuid": "4b5cc620-1ca6-4fcb-9a7c-2a282f8661d3",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"id": "cfb007fa-6230-41a5-88b7-ab3fc5947ee4",
|
||||
"name": "repos_hub4j-test-org_github-api_issues_428",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/github-api/issues/428",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"title\":\"Fixed issue name\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_github-api_issues_428-5.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:19 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"44b1afd03db61db683675628136dfbc8bdd836b9cf68c4b1e4b8d55b4757b4fa\"",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4962",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "38",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "A440:CD37:455A92D:46B09C6:60BA632A"
|
||||
}
|
||||
},
|
||||
"uuid": "cfb007fa-6230-41a5-88b7-ab3fc5947ee4",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"id": "5c954603-0b68-4aa4-ae85-68da32a54633",
|
||||
"name": "repos_hub4j-test-org_github-api_issues_428",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/github-api/issues/428",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"state\":\"closed\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_github-api_issues_428-8.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:20 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"0ee6b1428cd142490f980c4d763aae4fe6975eb3c1b55781bfa4de3c0ed041e7\"",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4959",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "41",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "356A:135F2:F26AFC:F70BEA:60BA632C"
|
||||
}
|
||||
},
|
||||
"uuid": "5c954603-0b68-4aa4-ae85-68da32a54633",
|
||||
"persistent": true,
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "10e1739d-41e9-45f6-91f0-f04e7750b9a9",
|
||||
"name": "repos_hub4j-test-org_github-api_issues_428_events",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/github-api/issues/428/events",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_github-api_issues_428_events-6.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:19 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"13a8280721b59e982615e90bbf30448896b0f9a4e260d8d8af14d1f5428dd208\"",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4961",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "39",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "6927:09AD:1B2A938:1BBAC09:60BA632B"
|
||||
}
|
||||
},
|
||||
"uuid": "10e1739d-41e9-45f6-91f0-f04e7750b9a9",
|
||||
"persistent": true,
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "c9de3154-6e39-46fd-8420-f892845a9c52",
|
||||
"name": "repos_hub4j-test-org_github-api_issues_events_4844454197",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/github-api/issues/events/4844454197",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_github-api_issues_events_4844454197-7.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:20 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"26091c6a14880705802e4633ce8c98f9adacc284d96784c6a10684f9424a2d84\"",
|
||||
"Last-Modified": "Fri, 04 Jun 2021 17:30:19 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4960",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "40",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "3728:CD37:455AA6F:46B0B12:60BA632B"
|
||||
}
|
||||
},
|
||||
"uuid": "c9de3154-6e39-46fd-8420-f892845a9c52",
|
||||
"persistent": true,
|
||||
"insertionIndex": 7
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "323f65e4-0020-4198-8085-149d1b6c7771",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:16 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1892c767d70ff0bf3dcb793be529d5dd52d62f5770ef6118a7804cf9560e1738\"",
|
||||
"Last-Modified": "Fri, 04 Jun 2021 17:22:50 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4967",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "33",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E281:13D7A:2F1A4EE:3003FFD:60BA6328"
|
||||
}
|
||||
},
|
||||
"uuid": "323f65e4-0020-4198-8085-149d1b6c7771",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": null,
|
||||
"company": null,
|
||||
"blog": "https://t0m4uk1991.github.io",
|
||||
"location": "Ukraine",
|
||||
"email": "t0m4uk1991@gmail.com",
|
||||
"hireable": true,
|
||||
"bio": null,
|
||||
"twitter_username": null,
|
||||
"public_repos": 13,
|
||||
"public_gists": 10,
|
||||
"followers": 2,
|
||||
"following": 2,
|
||||
"created_at": "2014-02-16T20:43:03Z",
|
||||
"updated_at": "2021-06-04T17:22:50Z",
|
||||
"private_gists": 2,
|
||||
"total_private_repos": 16,
|
||||
"owned_private_repos": 16,
|
||||
"disk_usage": 23717,
|
||||
"collaborators": 0,
|
||||
"two_factor_authentication": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "ec2e92c0-8c12-471e-a3b2-bd6996928aa3",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-8.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:22 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1892c767d70ff0bf3dcb793be529d5dd52d62f5770ef6118a7804cf9560e1738\"",
|
||||
"Last-Modified": "Fri, 04 Jun 2021 17:22:50 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4956",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "44",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "4A0F:DFC2:1EAC7A:1FA9EB:60BA632D"
|
||||
}
|
||||
},
|
||||
"uuid": "ec2e92c0-8c12-471e-a3b2-bd6996928aa3",
|
||||
"persistent": true,
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"login": "t0m4uk1991",
|
||||
"id": 6698785,
|
||||
"node_id": "MDQ6VXNlcjY2OTg3ODU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/t0m4uk1991",
|
||||
"html_url": "https://github.com/t0m4uk1991",
|
||||
"followers_url": "https://api.github.com/users/t0m4uk1991/followers",
|
||||
"following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/t0m4uk1991/orgs",
|
||||
"repos_url": "https://api.github.com/users/t0m4uk1991/repos",
|
||||
"events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/t0m4uk1991/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": null,
|
||||
"company": null,
|
||||
"blog": "https://t0m4uk1991.github.io",
|
||||
"location": "Ukraine",
|
||||
"email": "t0m4uk1991@gmail.com",
|
||||
"hireable": true,
|
||||
"bio": null,
|
||||
"twitter_username": null,
|
||||
"public_repos": 13,
|
||||
"public_gists": 10,
|
||||
"followers": 2,
|
||||
"following": 2,
|
||||
"created_at": "2014-02-16T20:43:03Z",
|
||||
"updated_at": "2021-06-04T17:22:50Z",
|
||||
"private_gists": 2,
|
||||
"total_private_repos": 16,
|
||||
"owned_private_repos": 16,
|
||||
"disk_usage": 23717,
|
||||
"collaborators": 0,
|
||||
"two_factor_authentication": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "b608fa58-9c7d-4199-94cf-1123b31e8ce0",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-17.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 04 Jun 2021 17:30:21 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1892c767d70ff0bf3dcb793be529d5dd52d62f5770ef6118a7804cf9560e1738\"",
|
||||
"Last-Modified": "Fri, 04 Jun 2021 17:22:50 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, repo, user",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4958",
|
||||
"X-RateLimit-Reset": "1622831137",
|
||||
"X-RateLimit-Used": "42",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "EDB3:09A5:12999A:182ADE:60BA632D"
|
||||
}
|
||||
},
|
||||
"uuid": "b608fa58-9c7d-4199-94cf-1123b31e8ce0",
|
||||
"persistent": true,
|
||||
"insertionIndex": 17
|
||||
}
|
||||
Reference in New Issue
Block a user