diff --git a/src/main/java/org/kohsuke/github/GHRepository.java b/src/main/java/org/kohsuke/github/GHRepository.java index ef65299b47..a195e9a06c 100644 --- a/src/main/java/org/kohsuke/github/GHRepository.java +++ b/src/main/java/org/kohsuke/github/GHRepository.java @@ -727,7 +727,20 @@ public boolean isPrivate() { * Visibility of a repository. */ public enum Visibility { - PUBLIC, INTERNAL, PRIVATE, UNKNOWN; + PUBLIC, + INTERNAL, + PRIVATE, + + /** + * Placeholder for unexpected data values. + * + * This avoids throwing exceptions during data binding or reading when the list of allowed values returned from + * GitHub is expanded. + * + * Do not pass this value to any methods. If this value is returned during a request, check the log output and + * report an issue for the missing value. + */ + UNKNOWN; public static Visibility from(String value) { return EnumUtils.getNullableEnumOrDefault(Visibility.class, value, Visibility.UNKNOWN); diff --git a/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java b/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java index 3103bd031a..0375ab1326 100644 --- a/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java @@ -52,6 +52,62 @@ public GHRepositorySearchBuilder forks(String v) { return q("forks:" + v); } + /** + * Searching in forks + * + * The default search mode is {@link Fork#PARENT_ONLY}. In that mode, forks are not included in search results. + * + *

+ * Passing {@link Fork#PARENT_AND_FORKS} or {@link Fork#FORKS_ONLY} will show results from forks, but only if they + * have more stars than the parent repository. + * + *

+ * IMPORTANT: Regardless of this setting, no search results will ever be returned for forks with equal or fewer + * stars than the parent repository. Forks with less stars than the parent repository are not included in the index + * for code searching. + * + * @param fork + * search mode for forks + * + * @return the gh repository search builder + * + * @see Searching + * in forks + * + */ + public GHRepositorySearchBuilder fork(Fork fork) { + if (Fork.PARENT_ONLY.equals(fork)) { + this.terms.removeIf(term -> term.contains("fork:")); + return this; + } + + return q("fork:" + fork); + } + + /** + * Search by repository visibility + * + * @param visibility + * repository visibility + * + * @return the gh repository search builder + * @throws GHException + * if {@link GHRepository.Visibility#UNKNOWN} is passed. UNKNOWN is a placeholder for unexpected values + * encountered when reading data. + * @see Search + * by repository visibility + */ + public GHRepositorySearchBuilder visibility(GHRepository.Visibility visibility) { + if (visibility == GHRepository.Visibility.UNKNOWN) { + throw new GHException( + "UNKNOWN is a placeholder for unexpected values encountered when reading data. It cannot be passed as a search parameter."); + } + + return q("is:" + visibility); + } + /** * Created gh repository search builder. * @@ -160,6 +216,42 @@ public enum Sort { STARS, FORKS, UPDATED } + /** + * The enum for Fork search mode + */ + public enum Fork { + + /** + * Search in the parent repository and in forks with more stars than the parent repository. + * + * Forks with the same or fewer stars than the parent repository are still ignored. + */ + PARENT_AND_FORKS("true"), + + /** + * Search only in forks with more stars than the parent repository. + * + * The parent repository is ignored. If no forks have more stars than the parent, no results will be returned. + */ + FORKS_ONLY("only"), + + /** + * (Default) Search only the parent repository. + * + * Forks are ignored. + */ + PARENT_ONLY(""); + + private String filterMode; + Fork(String mode) { + this.filterMode = mode; + } + + public String toString() { + return filterMode; + } + } + private static class RepositorySearchResult extends SearchResult { private GHRepository[] items; diff --git a/src/test/java/org/kohsuke/github/GHRepositoryTest.java b/src/test/java/org/kohsuke/github/GHRepositoryTest.java index ed663c6501..2f3e8f6c2f 100644 --- a/src/test/java/org/kohsuke/github/GHRepositoryTest.java +++ b/src/test/java/org/kohsuke/github/GHRepositoryTest.java @@ -20,6 +20,7 @@ import static org.hamcrest.Matchers.*; import static org.hamcrest.core.IsInstanceOf.instanceOf; +import static org.junit.Assert.assertThrows; import static org.kohsuke.github.GHVerification.Reason.*; /** @@ -417,6 +418,66 @@ public void listCommitCommentsNoComments() throws IOException { assertThat("Commit has no comments", commitComments.isEmpty()); } + @Test + public void searchAllPublicAndForkedRepos() throws IOException { + PagedSearchIterable list = gitHub.searchRepositories() + .user("t0m4uk1991") + .visibility(GHRepository.Visibility.PUBLIC) + .fork(GHRepositorySearchBuilder.Fork.PARENT_AND_FORKS) + .list(); + List u = list.toList(); + assertThat(u.size(), is(14)); + assertThat(u.stream().filter(item -> item.getName().equals("github-api")).count(), is(1L)); + assertThat(u.stream().filter(item -> item.getName().equals("Complete-Python-3-Bootcamp")).count(), is(1L)); + } + + @Test + public void searchForPublicForkedOnlyRepos() throws IOException { + PagedSearchIterable list = gitHub.searchRepositories() + .user("t0m4uk1991") + .visibility(GHRepository.Visibility.PUBLIC) + .fork(GHRepositorySearchBuilder.Fork.FORKS_ONLY) + .list(); + List u = list.toList(); + assertThat(u.size(), is(2)); + assertThat(u.get(0).getName(), is("github-api")); + assertThat(u.get(1).getName(), is("Complete-Python-3-Bootcamp")); + } + + @Test + public void ghRepositorySearchBuilderIgnoresUnknownVisibility() { + GHRepositorySearchBuilder ghRepositorySearchBuilder; + + GHException exception = assertThrows(GHException.class, + () -> new GHRepositorySearchBuilder(gitHub).visibility(Visibility.UNKNOWN)); + assertThat(exception.getMessage(), + startsWith("UNKNOWN is a placeholder for unexpected values encountered when reading data.")); + + ghRepositorySearchBuilder = new GHRepositorySearchBuilder(gitHub).visibility(Visibility.PUBLIC); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("is:")).count(), is(1L)); + + ghRepositorySearchBuilder = new GHRepositorySearchBuilder(gitHub).visibility(Visibility.PRIVATE); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("is:")).count(), is(1L)); + + ghRepositorySearchBuilder = new GHRepositorySearchBuilder(gitHub).visibility(Visibility.INTERNAL); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("is:")).count(), is(1L)); + } + + @Test + public void ghRepositorySearchBuilderForkDefaultResetForksSearchTerms() { + GHRepositorySearchBuilder ghRepositorySearchBuilder = new GHRepositorySearchBuilder(gitHub); + ghRepositorySearchBuilder = ghRepositorySearchBuilder.fork(GHRepositorySearchBuilder.Fork.PARENT_AND_FORKS); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:true")).count(), is(1L)); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:")).count(), is(1L)); + + ghRepositorySearchBuilder = ghRepositorySearchBuilder.fork(GHRepositorySearchBuilder.Fork.FORKS_ONLY); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:only")).count(), is(1L)); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:")).count(), is(2L)); + + ghRepositorySearchBuilder = ghRepositorySearchBuilder.fork(GHRepositorySearchBuilder.Fork.PARENT_ONLY); + assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:")).count(), is(0L)); + } + @Test public void listCommitCommentsSomeComments() throws IOException { List commitComments = getRepository() diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/__files/search_repositories-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/__files/search_repositories-2.json new file mode 100644 index 0000000000..c836aad452 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/__files/search_repositories-2.json @@ -0,0 +1,1412 @@ +{ + "total_count": 14, + "incomplete_results": false, + "items": [ + { + "id": 327047575, + "node_id": "MDEwOlJlcG9zaXRvcnkzMjcwNDc1NzU=", + "name": "notifyme", + "full_name": "t0m4uk1991/notifyme", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/notifyme", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/notifyme", + "forks_url": "https://api.github.com/repos/t0m4uk1991/notifyme/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/notifyme/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/notifyme/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/notifyme/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/notifyme/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/notifyme/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/notifyme/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/notifyme/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/notifyme/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/notifyme/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/notifyme/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/notifyme/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/notifyme/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/notifyme/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/notifyme/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/notifyme/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/notifyme/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/notifyme/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/notifyme/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/notifyme/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/notifyme/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/notifyme/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/notifyme/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/notifyme/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/notifyme/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/notifyme/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/notifyme/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/notifyme/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/notifyme/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/notifyme/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/notifyme/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/notifyme/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/notifyme/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/notifyme/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/notifyme/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/notifyme/deployments", + "created_at": "2021-01-05T15:56:53Z", + "updated_at": "2021-01-05T15:57:40Z", + "pushed_at": "2021-01-05T15:57:37Z", + "git_url": "git://github.com/t0m4uk1991/notifyme.git", + "ssh_url": "git@github.com:t0m4uk1991/notifyme.git", + "clone_url": "https://github.com/t0m4uk1991/notifyme.git", + "svn_url": "https://github.com/t0m4uk1991/notifyme", + "homepage": null, + "size": 51, + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 308440973, + "node_id": "MDEwOlJlcG9zaXRvcnkzMDg0NDA5NzM=", + "name": "sun-data", + "full_name": "t0m4uk1991/sun-data", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/sun-data", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/sun-data", + "forks_url": "https://api.github.com/repos/t0m4uk1991/sun-data/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/sun-data/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/sun-data/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/sun-data/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/sun-data/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/sun-data/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/sun-data/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/sun-data/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/sun-data/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/sun-data/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/sun-data/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/sun-data/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/sun-data/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/sun-data/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/sun-data/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/sun-data/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/sun-data/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/sun-data/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/sun-data/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/sun-data/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/sun-data/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/sun-data/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/sun-data/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/sun-data/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/sun-data/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/sun-data/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/sun-data/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/sun-data/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/sun-data/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/sun-data/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/sun-data/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/sun-data/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/sun-data/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/sun-data/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/sun-data/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/sun-data/deployments", + "created_at": "2020-10-29T20:22:23Z", + "updated_at": "2020-10-29T20:23:41Z", + "pushed_at": "2020-10-29T20:23:38Z", + "git_url": "git://github.com/t0m4uk1991/sun-data.git", + "ssh_url": "git@github.com:t0m4uk1991/sun-data.git", + "clone_url": "https://github.com/t0m4uk1991/sun-data.git", + "svn_url": "https://github.com/t0m4uk1991/sun-data", + "homepage": null, + "size": 5, + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 373866037, + "node_id": "MDEwOlJlcG9zaXRvcnkzNzM4NjYwMzc=", + "name": "github-api", + "full_name": "t0m4uk1991/github-api", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/github-api", + "description": "Java API for GitHub", + "fork": true, + "url": "https://api.github.com/repos/t0m4uk1991/github-api", + "forks_url": "https://api.github.com/repos/t0m4uk1991/github-api/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/github-api/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/github-api/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/github-api/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/github-api/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/github-api/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/github-api/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/github-api/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/github-api/deployments", + "created_at": "2021-06-04T14:23:25Z", + "updated_at": "2021-06-23T14:58:26Z", + "pushed_at": "2021-06-23T14:58:21Z", + "git_url": "git://github.com/t0m4uk1991/github-api.git", + "ssh_url": "git@github.com:t0m4uk1991/github-api.git", + "clone_url": "https://github.com/t0m4uk1991/github-api.git", + "svn_url": "https://github.com/t0m4uk1991/github-api", + "homepage": "https://github-api.kohsuke.org/", + "size": 33658, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "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": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 334698543, + "node_id": "MDEwOlJlcG9zaXRvcnkzMzQ2OTg1NDM=", + "name": "online-string-utils", + "full_name": "t0m4uk1991/online-string-utils", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/online-string-utils", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/online-string-utils", + "forks_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/online-string-utils/deployments", + "created_at": "2021-01-31T16:15:35Z", + "updated_at": "2021-01-31T16:24:12Z", + "pushed_at": "2021-01-31T16:24:09Z", + "git_url": "git://github.com/t0m4uk1991/online-string-utils.git", + "ssh_url": "git@github.com:t0m4uk1991/online-string-utils.git", + "clone_url": "https://github.com/t0m4uk1991/online-string-utils.git", + "svn_url": "https://github.com/t0m4uk1991/online-string-utils", + "homepage": null, + "size": 217, + "stargazers_count": 0, + "watchers_count": 0, + "language": "JavaScript", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 374053799, + "node_id": "MDEwOlJlcG9zaXRvcnkzNzQwNTM3OTk=", + "name": "test-repo", + "full_name": "t0m4uk1991/test-repo", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/test-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/test-repo", + "forks_url": "https://api.github.com/repos/t0m4uk1991/test-repo/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/test-repo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/test-repo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/test-repo/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/test-repo/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/test-repo/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/test-repo/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/test-repo/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/test-repo/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/test-repo/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/test-repo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/test-repo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/test-repo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/test-repo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/test-repo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/test-repo/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/test-repo/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/test-repo/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/test-repo/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/test-repo/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/test-repo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/test-repo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/test-repo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/test-repo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/test-repo/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/test-repo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/test-repo/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/test-repo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/test-repo/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/test-repo/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/test-repo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/test-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/test-repo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/test-repo/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/test-repo/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/test-repo/deployments", + "created_at": "2021-06-05T07:49:12Z", + "updated_at": "2021-06-05T07:49:12Z", + "pushed_at": "2021-06-05T07:49:13Z", + "git_url": "git://github.com/t0m4uk1991/test-repo.git", + "ssh_url": "git@github.com:t0m4uk1991/test-repo.git", + "clone_url": "https://github.com/t0m4uk1991/test-repo.git", + "svn_url": "https://github.com/t0m4uk1991/test-repo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "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": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 45212929, + "node_id": "MDEwOlJlcG9zaXRvcnk0NTIxMjkyOQ==", + "name": "dotfiles", + "full_name": "t0m4uk1991/dotfiles", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/dotfiles", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/dotfiles", + "forks_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/dotfiles/deployments", + "created_at": "2015-10-29T21:54:47Z", + "updated_at": "2019-03-18T12:25:52Z", + "pushed_at": "2019-03-18T12:25:51Z", + "git_url": "git://github.com/t0m4uk1991/dotfiles.git", + "ssh_url": "git@github.com:t0m4uk1991/dotfiles.git", + "clone_url": "https://github.com/t0m4uk1991/dotfiles.git", + "svn_url": "https://github.com/t0m4uk1991/dotfiles", + "homepage": null, + "size": 19, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Vim script", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 228589377, + "node_id": "MDEwOlJlcG9zaXRvcnkyMjg1ODkzNzc=", + "name": "Complete-Python-3-Bootcamp", + "full_name": "t0m4uk1991/Complete-Python-3-Bootcamp", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/Complete-Python-3-Bootcamp", + "description": "Course Files for Complete Python 3 Bootcamp Course on Udemy", + "fork": true, + "url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp", + "forks_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/deployments", + "created_at": "2019-12-17T10:14:42Z", + "updated_at": "2019-12-17T10:14:44Z", + "pushed_at": "2019-12-07T15:54:54Z", + "git_url": "git://github.com/t0m4uk1991/Complete-Python-3-Bootcamp.git", + "ssh_url": "git@github.com:t0m4uk1991/Complete-Python-3-Bootcamp.git", + "clone_url": "https://github.com/t0m4uk1991/Complete-Python-3-Bootcamp.git", + "svn_url": "https://github.com/t0m4uk1991/Complete-Python-3-Bootcamp", + "homepage": null, + "size": 360, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 21415610, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTQxNTYxMA==", + "name": "t0m4uk1991.site", + "full_name": "t0m4uk1991/t0m4uk1991.site", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/t0m4uk1991.site", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site", + "forks_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.site/deployments", + "created_at": "2014-07-02T07:42:30Z", + "updated_at": "2017-04-16T15:50:37Z", + "pushed_at": "2017-10-04T14:58:45Z", + "git_url": "git://github.com/t0m4uk1991/t0m4uk1991.site.git", + "ssh_url": "git@github.com:t0m4uk1991/t0m4uk1991.site.git", + "clone_url": "https://github.com/t0m4uk1991/t0m4uk1991.site.git", + "svn_url": "https://github.com/t0m4uk1991/t0m4uk1991.site", + "homepage": null, + "size": 1149, + "stargazers_count": 0, + "watchers_count": 0, + "language": "JavaScript", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 72414351, + "node_id": "MDEwOlJlcG9zaXRvcnk3MjQxNDM1MQ==", + "name": "Rr", + "full_name": "t0m4uk1991/Rr", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/Rr", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/Rr", + "forks_url": "https://api.github.com/repos/t0m4uk1991/Rr/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/Rr/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/Rr/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/Rr/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/Rr/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/Rr/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/Rr/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/Rr/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/Rr/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/Rr/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/Rr/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/Rr/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/Rr/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/Rr/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/Rr/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/Rr/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/Rr/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/Rr/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/Rr/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/Rr/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/Rr/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/Rr/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/Rr/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/Rr/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/Rr/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/Rr/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/Rr/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/Rr/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/Rr/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/Rr/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/Rr/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/Rr/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/Rr/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/Rr/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/Rr/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/Rr/deployments", + "created_at": "2016-10-31T07:49:01Z", + "updated_at": "2016-10-31T07:54:02Z", + "pushed_at": "2016-11-07T20:23:58Z", + "git_url": "git://github.com/t0m4uk1991/Rr.git", + "ssh_url": "git@github.com:t0m4uk1991/Rr.git", + "clone_url": "https://github.com/t0m4uk1991/Rr.git", + "svn_url": "https://github.com/t0m4uk1991/Rr", + "homepage": null, + "size": 20, + "stargazers_count": 0, + "watchers_count": 0, + "language": "R", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 75329045, + "node_id": "MDEwOlJlcG9zaXRvcnk3NTMyOTA0NQ==", + "name": "arduino", + "full_name": "t0m4uk1991/arduino", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/arduino", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/arduino", + "forks_url": "https://api.github.com/repos/t0m4uk1991/arduino/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/arduino/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/arduino/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/arduino/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/arduino/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/arduino/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/arduino/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/arduino/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/arduino/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/arduino/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/arduino/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/arduino/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/arduino/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/arduino/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/arduino/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/arduino/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/arduino/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/arduino/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/arduino/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/arduino/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/arduino/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/arduino/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/arduino/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/arduino/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/arduino/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/arduino/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/arduino/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/arduino/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/arduino/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/arduino/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/arduino/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/arduino/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/arduino/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/arduino/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/arduino/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/arduino/deployments", + "created_at": "2016-12-01T20:15:36Z", + "updated_at": "2016-12-01T20:16:07Z", + "pushed_at": "2017-08-19T20:47:22Z", + "git_url": "git://github.com/t0m4uk1991/arduino.git", + "ssh_url": "git@github.com:t0m4uk1991/arduino.git", + "clone_url": "https://github.com/t0m4uk1991/arduino.git", + "svn_url": "https://github.com/t0m4uk1991/arduino", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Arduino", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 182126847, + "node_id": "MDEwOlJlcG9zaXRvcnkxODIxMjY4NDc=", + "name": "my-jupyter-notebook", + "full_name": "t0m4uk1991/my-jupyter-notebook", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/my-jupyter-notebook", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook", + "forks_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/my-jupyter-notebook/deployments", + "created_at": "2019-04-18T17:05:44Z", + "updated_at": "2020-01-05T14:50:15Z", + "pushed_at": "2020-01-05T14:50:13Z", + "git_url": "git://github.com/t0m4uk1991/my-jupyter-notebook.git", + "ssh_url": "git@github.com:t0m4uk1991/my-jupyter-notebook.git", + "clone_url": "https://github.com/t0m4uk1991/my-jupyter-notebook.git", + "svn_url": "https://github.com/t0m4uk1991/my-jupyter-notebook", + "homepage": null, + "size": 38, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Jupyter Notebook", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 104593380, + "node_id": "MDEwOlJlcG9zaXRvcnkxMDQ1OTMzODA=", + "name": "ssmock", + "full_name": "t0m4uk1991/ssmock", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/ssmock", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/ssmock", + "forks_url": "https://api.github.com/repos/t0m4uk1991/ssmock/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/ssmock/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/ssmock/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/ssmock/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/ssmock/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/ssmock/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/ssmock/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/ssmock/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/ssmock/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/ssmock/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/ssmock/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/ssmock/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/ssmock/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/ssmock/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/ssmock/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/ssmock/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/ssmock/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/ssmock/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/ssmock/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/ssmock/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/ssmock/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/ssmock/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/ssmock/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/ssmock/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/ssmock/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/ssmock/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/ssmock/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/ssmock/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/ssmock/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/ssmock/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/ssmock/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/ssmock/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/ssmock/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/ssmock/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/ssmock/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/ssmock/deployments", + "created_at": "2017-09-23T19:26:05Z", + "updated_at": "2017-09-23T19:26:45Z", + "pushed_at": "2017-09-23T19:26:44Z", + "git_url": "git://github.com/t0m4uk1991/ssmock.git", + "ssh_url": "git@github.com:t0m4uk1991/ssmock.git", + "clone_url": "https://github.com/t0m4uk1991/ssmock.git", + "svn_url": "https://github.com/t0m4uk1991/ssmock", + "homepage": null, + "size": 2, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 88425089, + "node_id": "MDEwOlJlcG9zaXRvcnk4ODQyNTA4OQ==", + "name": "t0m4uk1991.github.io", + "full_name": "t0m4uk1991/t0m4uk1991.github.io", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/t0m4uk1991.github.io", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io", + "forks_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/t0m4uk1991.github.io/deployments", + "created_at": "2017-04-16T15:51:07Z", + "updated_at": "2019-10-31T21:25:32Z", + "pushed_at": "2019-10-31T21:25:31Z", + "git_url": "git://github.com/t0m4uk1991/t0m4uk1991.github.io.git", + "ssh_url": "git@github.com:t0m4uk1991/t0m4uk1991.github.io.git", + "clone_url": "https://github.com/t0m4uk1991/t0m4uk1991.github.io.git", + "svn_url": "https://github.com/t0m4uk1991/t0m4uk1991.github.io", + "homepage": null, + "size": 19319, + "stargazers_count": 0, + "watchers_count": 0, + "language": "JavaScript", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 83600880, + "node_id": "MDEwOlJlcG9zaXRvcnk4MzYwMDg4MA==", + "name": "jekyll_ls2menu", + "full_name": "t0m4uk1991/jekyll_ls2menu", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/jekyll_ls2menu", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu", + "forks_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/jekyll_ls2menu/deployments", + "created_at": "2017-03-01T20:57:04Z", + "updated_at": "2017-03-01T20:57:28Z", + "pushed_at": "2017-03-01T20:57:27Z", + "git_url": "git://github.com/t0m4uk1991/jekyll_ls2menu.git", + "ssh_url": "git@github.com:t0m4uk1991/jekyll_ls2menu.git", + "clone_url": "https://github.com/t0m4uk1991/jekyll_ls2menu.git", + "svn_url": "https://github.com/t0m4uk1991/jekyll_ls2menu", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/__files/user-1.json new file mode 100644 index 0000000000..5bdc78592d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/__files/user-1.json @@ -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": 14, + "public_gists": 10, + "followers": 2, + "following": 2, + "created_at": "2014-02-16T20:43:03Z", + "updated_at": "2021-06-23T20:10:42Z", + "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 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/mappings/search_repositories-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/mappings/search_repositories-2.json new file mode 100644 index 0000000000..13b1c692fd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/mappings/search_repositories-2.json @@ -0,0 +1,45 @@ +{ + "id": "90c9877e-0dd2-433f-bdbb-f90542b3d74e", + "name": "search_repositories", + "request": { + "url": "/search/repositories?q=user%3At0m4uk1991+is%3Apublic+fork%3Atrue", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "search_repositories-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 24 Jun 2021 06:48:34 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "no-cache", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "X-OAuth-Scopes": "gist, notifications, repo, user", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "X-RateLimit-Limit": "30", + "X-RateLimit-Remaining": "29", + "X-RateLimit-Reset": "1624517374", + "X-RateLimit-Used": "1", + "X-RateLimit-Resource": "search", + "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": "DB35:CC2C:454DE91:46CC397:60D42AC1" + } + }, + "uuid": "90c9877e-0dd2-433f-bdbb-f90542b3d74e", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/mappings/user-1.json new file mode 100644 index 0000000000..68627297ec --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchAllPublicAndForkedRepos/mappings/user-1.json @@ -0,0 +1,47 @@ +{ + "id": "4beb87e6-31fc-4ac9-acfa-eba4885ff17a", + "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": "Thu, 24 Jun 2021 06:48:32 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/\"d8d2dcafbf4d61fd99fb503cb5499ac0ebaf00504493a2c5b3314264f9924669\"", + "Last-Modified": "Wed, 23 Jun 2021 20:10:42 GMT", + "X-OAuth-Scopes": "gist, notifications, repo, user", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4995", + "X-RateLimit-Reset": "1624520441", + "X-RateLimit-Used": "5", + "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": "DE03:5195:1AC322A:1BA2344:60D42AC0" + } + }, + "uuid": "4beb87e6-31fc-4ac9-acfa-eba4885ff17a", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/__files/search_repositories-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/__files/search_repositories-2.json new file mode 100644 index 0000000000..b95e407a1f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/__files/search_repositories-2.json @@ -0,0 +1,212 @@ +{ + "total_count": 2, + "incomplete_results": false, + "items": [ + { + "id": 373866037, + "node_id": "MDEwOlJlcG9zaXRvcnkzNzM4NjYwMzc=", + "name": "github-api", + "full_name": "t0m4uk1991/github-api", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/github-api", + "description": "Java API for GitHub", + "fork": true, + "url": "https://api.github.com/repos/t0m4uk1991/github-api", + "forks_url": "https://api.github.com/repos/t0m4uk1991/github-api/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/github-api/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/github-api/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/github-api/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/github-api/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/github-api/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/github-api/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/github-api/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/github-api/deployments", + "created_at": "2021-06-04T14:23:25Z", + "updated_at": "2021-06-23T14:58:26Z", + "pushed_at": "2021-06-23T14:58:21Z", + "git_url": "git://github.com/t0m4uk1991/github-api.git", + "ssh_url": "git@github.com:t0m4uk1991/github-api.git", + "clone_url": "https://github.com/t0m4uk1991/github-api.git", + "svn_url": "https://github.com/t0m4uk1991/github-api", + "homepage": "https://github-api.kohsuke.org/", + "size": 33658, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "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": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + }, + { + "id": 228589377, + "node_id": "MDEwOlJlcG9zaXRvcnkyMjg1ODkzNzc=", + "name": "Complete-Python-3-Bootcamp", + "full_name": "t0m4uk1991/Complete-Python-3-Bootcamp", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/t0m4uk1991/Complete-Python-3-Bootcamp", + "description": "Course Files for Complete Python 3 Bootcamp Course on Udemy", + "fork": true, + "url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp", + "forks_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/forks", + "keys_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/teams", + "hooks_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/hooks", + "issue_events_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/issues/events{/number}", + "events_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/events", + "assignees_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/assignees{/user}", + "branches_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/branches{/branch}", + "tags_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/tags", + "blobs_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/statuses/{sha}", + "languages_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/languages", + "stargazers_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/stargazers", + "contributors_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/contributors", + "subscribers_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/subscribers", + "subscription_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/subscription", + "commits_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/contents/{+path}", + "compare_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/merges", + "archive_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/downloads", + "issues_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/issues{/number}", + "pulls_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/pulls{/number}", + "milestones_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/milestones{/number}", + "notifications_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/labels{/name}", + "releases_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/releases{/id}", + "deployments_url": "https://api.github.com/repos/t0m4uk1991/Complete-Python-3-Bootcamp/deployments", + "created_at": "2019-12-17T10:14:42Z", + "updated_at": "2019-12-17T10:14:44Z", + "pushed_at": "2019-12-07T15:54:54Z", + "git_url": "git://github.com/t0m4uk1991/Complete-Python-3-Bootcamp.git", + "ssh_url": "git@github.com:t0m4uk1991/Complete-Python-3-Bootcamp.git", + "clone_url": "https://github.com/t0m4uk1991/Complete-Python-3-Bootcamp.git", + "svn_url": "https://github.com/t0m4uk1991/Complete-Python-3-Bootcamp", + "homepage": null, + "size": 360, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "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": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/__files/user-1.json new file mode 100644 index 0000000000..5bdc78592d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/__files/user-1.json @@ -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": 14, + "public_gists": 10, + "followers": 2, + "following": 2, + "created_at": "2014-02-16T20:43:03Z", + "updated_at": "2021-06-23T20:10:42Z", + "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 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/mappings/search_repositories-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/mappings/search_repositories-2.json new file mode 100644 index 0000000000..db47ba0a3e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/mappings/search_repositories-2.json @@ -0,0 +1,45 @@ +{ + "id": "494306d0-974d-42d2-bad3-12d07b7c9d43", + "name": "search_repositories", + "request": { + "url": "/search/repositories?q=user%3At0m4uk1991+is%3Apublic+fork%3Aonly", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "search_repositories-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 24 Jun 2021 06:48:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "no-cache", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "X-OAuth-Scopes": "gist, notifications, repo, user", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "X-RateLimit-Limit": "30", + "X-RateLimit-Remaining": "28", + "X-RateLimit-Reset": "1624517374", + "X-RateLimit-Used": "2", + "X-RateLimit-Resource": "search", + "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": "E39D:2FF7:58A8D82:5A5547C:60D42AC3" + } + }, + "uuid": "494306d0-974d-42d2-bad3-12d07b7c9d43", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/mappings/user-1.json new file mode 100644 index 0000000000..48936554aa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchForPublicForkedOnlyRepos/mappings/user-1.json @@ -0,0 +1,47 @@ +{ + "id": "1d4ab291-d5af-42be-978b-1c43efd5aa8a", + "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": "Thu, 24 Jun 2021 06:48:35 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/\"d8d2dcafbf4d61fd99fb503cb5499ac0ebaf00504493a2c5b3314264f9924669\"", + "Last-Modified": "Wed, 23 Jun 2021 20:10:42 GMT", + "X-OAuth-Scopes": "gist, notifications, repo, user", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1624520441", + "X-RateLimit-Used": "7", + "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": "E228:2FF7:58A8CBC:5A553B6:60D42AC2" + } + }, + "uuid": "1d4ab291-d5af-42be-978b-1c43efd5aa8a", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file