mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-11 00:11:25 +00:00
Compare commits
84 Commits
github-api
...
github-api
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e92f1321d4 | ||
|
|
208904b634 | ||
|
|
a433bcda2e | ||
|
|
77baafa643 | ||
|
|
224d8c7cb4 | ||
|
|
0feb520549 | ||
|
|
ca365b12f6 | ||
|
|
bde6ad9a06 | ||
|
|
4953f4500d | ||
|
|
4415ac8fd2 | ||
|
|
8c81e48a31 | ||
|
|
9ad0329c56 | ||
|
|
78f533bbfc | ||
|
|
79c7dd9ecf | ||
|
|
5d796d1f79 | ||
|
|
68a82be6c4 | ||
|
|
2676ef2b73 | ||
|
|
04b283c539 | ||
|
|
98b067937a | ||
|
|
8ababb60bf | ||
|
|
b51d655f77 | ||
|
|
74496d32da | ||
|
|
316e278be1 | ||
|
|
d881bf6504 | ||
|
|
c74fbbe1fd | ||
|
|
929d9fb7bd | ||
|
|
5d069d0531 | ||
|
|
dd9e6dc5d3 | ||
|
|
d22c77c41d | ||
|
|
3a11b7ccbf | ||
|
|
9d161b28bb | ||
|
|
9b16a1caa0 | ||
|
|
9a918e3bac | ||
|
|
d4c5c6a1e0 | ||
|
|
63fda3555c | ||
|
|
6a2381c06b | ||
|
|
e9c0a16c26 | ||
|
|
2101a67ac1 | ||
|
|
ddac568aaa | ||
|
|
262ae9f635 | ||
|
|
381502fb80 | ||
|
|
92fb441eb2 | ||
|
|
29e08037a8 | ||
|
|
84cc6d9315 | ||
|
|
b8d5a1c732 | ||
|
|
0197ab9661 | ||
|
|
b7915e61a6 | ||
|
|
586db99450 | ||
|
|
5377d0dd18 | ||
|
|
c5d3a7d573 | ||
|
|
8267050f06 | ||
|
|
c21bd5765a | ||
|
|
b78c37a695 | ||
|
|
2f151d45c3 | ||
|
|
3ebe3afdbd | ||
|
|
f4845df6c0 | ||
|
|
272b87f04d | ||
|
|
6e3f754366 | ||
|
|
6360112432 | ||
|
|
f1ca0b5417 | ||
|
|
0894c8007c | ||
|
|
0456f10709 | ||
|
|
b7d03f7463 | ||
|
|
07a392c2a7 | ||
|
|
5b69de770f | ||
|
|
bf67069768 | ||
|
|
91764c1c74 | ||
|
|
8b2a3e1221 | ||
|
|
def2f0b37d | ||
|
|
5d7479a3dd | ||
|
|
ceb2d35f9f | ||
|
|
fc38dba59a | ||
|
|
75b383d398 | ||
|
|
ee2d9491fb | ||
|
|
bf86a7c75a | ||
|
|
70f6d129e2 | ||
|
|
a4ac2aa99a | ||
|
|
ae3b6fbe6b | ||
|
|
e357fca963 | ||
|
|
c84cc89805 | ||
|
|
181238cd50 | ||
|
|
214c24c736 | ||
|
|
cf51ce8f26 | ||
|
|
2b7ed40d01 |
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@@ -3,10 +3,10 @@ updates:
|
||||
- package-ecosystem: "maven"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
interval: "monthly"
|
||||
time: "02:00"
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
interval: "monthly"
|
||||
time: "02:00"
|
||||
|
||||
3
.github/release-drafter.yml
vendored
3
.github/release-drafter.yml
vendored
@@ -1,5 +1,6 @@
|
||||
name-template: 'v$NEXT_PATCH_VERSION 🌈'
|
||||
name-template: 'v$NEXT_MINOR_VERSION 🌈'
|
||||
tag-template: 'github-api-$NEXT_MINOR_VERSION'
|
||||
version-template: '$MAJOR.$MINOR'
|
||||
categories:
|
||||
- title: '🚀 Features'
|
||||
labels:
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
For changes after v1.101 see the [GitHub Releases page](https://github.com/hub4j/github-api/releases) for the project.
|
||||
|
||||
## [github-api-1.101](https://github.com/hub4j/github-api/tree/github-api-1.101) (2019-11-27)
|
||||
|
||||
[Full Changelog](https://github.com/hub4j/github-api/compare/github-api-1.100...github-api-1.101)
|
||||
|
||||
40
pom.xml
40
pom.xml
@@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.kohsuke</groupId>
|
||||
<artifactId>github-api</artifactId>
|
||||
<version>1.116</version>
|
||||
<version>1.117</version>
|
||||
<name>GitHub API for Java</name>
|
||||
<url>https://github-api.kohsuke.org/</url>
|
||||
<description>GitHub API for Java</description>
|
||||
@@ -11,7 +11,7 @@
|
||||
<connection>scm:git:git@github.com/hub4j/${project.artifactId}.git</connection>
|
||||
<developerConnection>scm:git:ssh://git@github.com/hub4j/${project.artifactId}.git</developerConnection>
|
||||
<url>https://github.com/hub4j/github-api/</url>
|
||||
<tag>github-api-1.116</tag>
|
||||
<tag>github-api-1.117</tag>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
@@ -34,7 +34,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<spotbugs-maven-plugin.version>4.0.4</spotbugs-maven-plugin.version>
|
||||
<spotbugs.version>4.1.1</spotbugs.version>
|
||||
<spotbugs.version>4.1.2</spotbugs.version>
|
||||
<spotbugs-maven-plugin.failOnError>true</spotbugs-maven-plugin.failOnError>
|
||||
<hamcrest.version>2.2</hamcrest.version>
|
||||
<okhttp3.version>4.4.1</okhttp3.version>
|
||||
@@ -100,7 +100,7 @@
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.8.5</version>
|
||||
<version>0.8.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
@@ -432,7 +432,7 @@
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.13</version>
|
||||
<version>4.13.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -481,7 +481,25 @@
|
||||
<dependency>
|
||||
<groupId>org.eclipse.jgit</groupId>
|
||||
<artifactId>org.eclipse.jgit</artifactId>
|
||||
<version>5.7.0.202003110725-r</version>
|
||||
<version>5.9.0.202009080501-r</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-api</artifactId>
|
||||
<version>0.11.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-impl</artifactId>
|
||||
<version>0.11.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt-jackson</artifactId>
|
||||
<version>0.11.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -519,7 +537,7 @@
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<version>3.4.6</version>
|
||||
<version>3.6.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -531,7 +549,7 @@
|
||||
<dependency>
|
||||
<groupId>com.github.tomakehurst</groupId>
|
||||
<artifactId>wiremock-jre8-standalone</artifactId>
|
||||
<version>2.27.1</version>
|
||||
<version>2.27.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -540,6 +558,12 @@
|
||||
<version>2.8.6</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<version>1.7.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<repositories>
|
||||
<repository>
|
||||
|
||||
@@ -3,11 +3,13 @@ package org.kohsuke.github;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import static org.kohsuke.github.Previews.GAMBIT;
|
||||
import static org.kohsuke.github.Previews.MACHINE_MAN;
|
||||
|
||||
/**
|
||||
* A Github App Installation.
|
||||
@@ -117,6 +119,36 @@ public class GHAppInstallation extends GHObject {
|
||||
return repositoriesUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* List repositories that this app installation can access.
|
||||
*
|
||||
* @return the paged iterable
|
||||
*/
|
||||
@Preview
|
||||
@Deprecated
|
||||
public PagedSearchIterable<GHRepository> listRepositories() {
|
||||
GitHubRequest request;
|
||||
|
||||
try {
|
||||
request = root.createRequest().withPreview(MACHINE_MAN).withUrlPath("/installation/repositories").build();
|
||||
} catch (MalformedURLException e) {
|
||||
throw new GHException("", e);
|
||||
}
|
||||
|
||||
return new PagedSearchIterable<>(root, request, GHAppInstallationRepositoryResult.class);
|
||||
}
|
||||
|
||||
private static class GHAppInstallationRepositoryResult extends SearchResult<GHRepository> {
|
||||
private GHRepository[] repositories;
|
||||
|
||||
@Override
|
||||
GHRepository[] getItems(GitHub root) {
|
||||
for (GHRepository item : repositories)
|
||||
item.wrap(root);
|
||||
return repositories;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets repositories url.
|
||||
*
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import edu.umd.cs.findbugs.annotations.NonNull;
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
||||
import java.io.IOException;
|
||||
@@ -292,4 +293,15 @@ public class GHCheckRun extends GHObject {
|
||||
NOTICE, WARNING, FAILURE
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates this check run.
|
||||
*
|
||||
* @return a builder which you should customize, then call {@link GHCheckRunBuilder#create}
|
||||
*/
|
||||
@Preview
|
||||
@Deprecated
|
||||
public @NonNull GHCheckRunBuilder update() {
|
||||
return new GHCheckRunBuilder(owner, getId());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -37,30 +37,45 @@ import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Drafts a check run.
|
||||
* Drafts or updates a check run.
|
||||
*
|
||||
* @see GHCheckRun
|
||||
* @see GHRepository#createCheckRun
|
||||
* @see <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">documentation</a>
|
||||
* @see GHCheckRun#update()
|
||||
* @see <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">documentation</a>
|
||||
*/
|
||||
@SuppressFBWarnings(value = "URF_UNREAD_FIELD", justification = "Jackson serializes these even without a getter")
|
||||
@Preview
|
||||
@Deprecated
|
||||
public final class GHCheckRunBuilder {
|
||||
|
||||
private final GHRepository repo;
|
||||
private final Requester requester;
|
||||
protected final GHRepository repo;
|
||||
protected final Requester requester;
|
||||
private Output output;
|
||||
private List<Action> actions;
|
||||
|
||||
GHCheckRunBuilder(GHRepository repo, String name, String headSHA) {
|
||||
private GHCheckRunBuilder(GHRepository repo, Requester requester) {
|
||||
this.repo = repo;
|
||||
requester = repo.root.createRequest()
|
||||
.withPreview(Previews.ANTIOPE)
|
||||
.method("POST")
|
||||
.with("name", name)
|
||||
.with("head_sha", headSHA)
|
||||
.withUrlPath(repo.getApiTailUrl("check-runs"));
|
||||
this.requester = requester;
|
||||
}
|
||||
|
||||
GHCheckRunBuilder(GHRepository repo, String name, String headSHA) {
|
||||
this(repo,
|
||||
repo.root.createRequest()
|
||||
.withPreview(Previews.ANTIOPE)
|
||||
.method("POST")
|
||||
.with("name", name)
|
||||
.with("head_sha", headSHA)
|
||||
.withUrlPath(repo.getApiTailUrl("check-runs")));
|
||||
}
|
||||
|
||||
GHCheckRunBuilder(GHRepository repo, long checkId) {
|
||||
this(repo,
|
||||
repo.root.createRequest()
|
||||
.withPreview(Previews.ANTIOPE)
|
||||
.method("PATCH")
|
||||
.withUrlPath(repo.getApiTailUrl("check-runs/" + checkId)));
|
||||
}
|
||||
|
||||
public @NonNull GHCheckRunBuilder withDetailsURL(@CheckForNull String detailsURL) {
|
||||
|
||||
@@ -11,6 +11,8 @@ import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import static org.kohsuke.github.Previews.GROOT;
|
||||
|
||||
/**
|
||||
* A commit in a repository.
|
||||
*
|
||||
@@ -446,6 +448,39 @@ public class GHCommit {
|
||||
return owner.root.getUser(author.login);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves a list of pull requests which contain this commit.
|
||||
*
|
||||
* @return {@link PagedIterable} with the pull requests which contain this commit
|
||||
*/
|
||||
@Preview
|
||||
@Deprecated
|
||||
public PagedIterable<GHPullRequest> listPullRequests() {
|
||||
return owner.root.createRequest()
|
||||
.withPreview(GROOT)
|
||||
.withUrlPath(String.format("/repos/%s/%s/commits/%s/pulls", owner.getOwnerName(), owner.getName(), sha))
|
||||
.toIterable(GHPullRequest[].class, item -> item.wrapUp(owner));
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves a list of branches where this commit is the head commit.
|
||||
*
|
||||
* @return {@link PagedIterable} with the branches where the commit is the head commit
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
@Preview
|
||||
@Deprecated
|
||||
public PagedIterable<GHBranch> listBranchesWhereHead() throws IOException {
|
||||
return owner.root.createRequest()
|
||||
.withPreview(GROOT)
|
||||
.withUrlPath(String.format("/repos/%s/%s/commits/%s/branches-where-head",
|
||||
owner.getOwnerName(),
|
||||
owner.getName(),
|
||||
sha))
|
||||
.toIterable(GHBranch[].class, item -> item.wrap(owner));
|
||||
}
|
||||
|
||||
/**
|
||||
* List comments paged iterable.
|
||||
*
|
||||
|
||||
@@ -89,6 +89,19 @@ public class GHCommitBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the PGP signature of this commit.
|
||||
*
|
||||
* @param signature
|
||||
* the signature calculated from the commit
|
||||
*
|
||||
* @return the gh commit builder
|
||||
*/
|
||||
public GHCommitBuilder withSignature(String signature) {
|
||||
req.with("signature", signature);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the committer of this commit.
|
||||
*
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -158,10 +158,8 @@ public class GHIssue extends GHObject implements Reactable {
|
||||
* Gets labels.
|
||||
*
|
||||
* @return the labels
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public Collection<GHLabel> getLabels() throws IOException {
|
||||
public Collection<GHLabel> getLabels() {
|
||||
if (labels == null) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
@@ -37,6 +36,7 @@ import java.util.Objects;
|
||||
|
||||
import javax.annotation.CheckForNull;
|
||||
|
||||
import static org.kohsuke.github.Previews.LYDIAN;
|
||||
import static org.kohsuke.github.Previews.SHADOW_CAT;
|
||||
|
||||
/**
|
||||
@@ -72,13 +72,6 @@ public class GHPullRequest extends GHIssue implements Refreshable {
|
||||
private GHUser[] requested_reviewers;
|
||||
private GHTeam[] requested_teams;
|
||||
|
||||
/**
|
||||
* GitHub doesn't return some properties of {@link GHIssue} when requesting the GET on the 'pulls' API route as
|
||||
* opposed to 'issues' API route. This flag remembers whether we made the GET call on the 'issues' route on this
|
||||
* object to fill in those missing details
|
||||
*/
|
||||
private transient boolean fetchedIssueDetails;
|
||||
|
||||
GHPullRequest wrapUp(GHRepository owner) {
|
||||
this.wrap(owner);
|
||||
return wrapUp(owner.root);
|
||||
@@ -177,12 +170,6 @@ public class GHPullRequest extends GHIssue implements Refreshable {
|
||||
return GitHubClient.parseDate(merged_at);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<GHLabel> getLabels() throws IOException {
|
||||
fetchIssue();
|
||||
return super.getLabels();
|
||||
}
|
||||
|
||||
@Override
|
||||
public GHUser getClosedBy() {
|
||||
return null;
|
||||
@@ -565,6 +552,41 @@ public class GHPullRequest extends GHIssue implements Refreshable {
|
||||
.send();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the base branch on the pull request
|
||||
*
|
||||
* @param newBaseBranch
|
||||
* the name of the new base branch
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
* @return the updated pull request
|
||||
*/
|
||||
public GHPullRequest setBaseBranch(String newBaseBranch) throws IOException {
|
||||
return root.createRequest()
|
||||
.method("PATCH")
|
||||
.with("base", newBaseBranch)
|
||||
.withUrlPath(getApiRoute())
|
||||
.fetch(GHPullRequest.class)
|
||||
.wrapUp(root);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the branch. The same as pressing the button in the web GUI.
|
||||
*
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
@Preview
|
||||
@Deprecated
|
||||
public void updateBranch() throws IOException {
|
||||
root.createRequest()
|
||||
.withPreview(LYDIAN)
|
||||
.method("PUT")
|
||||
.with("expected_head_sha", head.getSha())
|
||||
.withUrlPath(getApiRoute() + "/update-branch")
|
||||
.send();
|
||||
}
|
||||
|
||||
/**
|
||||
* Merge this pull request.
|
||||
* <p>
|
||||
@@ -626,10 +648,4 @@ public class GHPullRequest extends GHIssue implements Refreshable {
|
||||
MERGE, SQUASH, REBASE
|
||||
}
|
||||
|
||||
private void fetchIssue() throws IOException {
|
||||
if (!fetchedIssueDetails) {
|
||||
root.createRequest().withUrlPath(getIssuesApiRoute()).fetchInto(this);
|
||||
fetchedIssueDetails = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
86
src/main/java/org/kohsuke/github/GHPullRequestChanges.java
Normal file
86
src/main/java/org/kohsuke/github/GHPullRequestChanges.java
Normal file
@@ -0,0 +1,86 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
||||
/**
|
||||
* Wrapper to define changed fields on pull_request action="edited"
|
||||
*
|
||||
* @see GHEventPayload.PullRequest
|
||||
*/
|
||||
@SuppressFBWarnings("UWF_UNWRITTEN_FIELD")
|
||||
public class GHPullRequestChanges {
|
||||
|
||||
private GHCommitPointer base;
|
||||
private GHFrom title;
|
||||
private GHFrom body;
|
||||
|
||||
/**
|
||||
* Old target branch for pull request.
|
||||
*
|
||||
* @return old target branch info (or null if not changed)
|
||||
*/
|
||||
public GHCommitPointer getBase() {
|
||||
return base;
|
||||
}
|
||||
|
||||
/**
|
||||
* Old pull request title.
|
||||
*
|
||||
* @return old pull request title (or null if not changed)
|
||||
*/
|
||||
public GHFrom getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Old pull request body.
|
||||
*
|
||||
* @return old pull request body (or null if not changed)
|
||||
*/
|
||||
public GHFrom getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.kohsuke.github.GHCommitPointer
|
||||
*/
|
||||
public static class GHCommitPointer {
|
||||
private GHFrom ref;
|
||||
private GHFrom sha;
|
||||
|
||||
/**
|
||||
* Named ref to the commit. This (from value) appears to be a "short ref" that doesn't include "refs/heads/"
|
||||
* portion.
|
||||
*
|
||||
* @return the ref
|
||||
*/
|
||||
public GHFrom getRef() {
|
||||
return ref;
|
||||
}
|
||||
|
||||
/**
|
||||
* SHA1 of the commit.
|
||||
*
|
||||
* @return sha
|
||||
*/
|
||||
public GHFrom getSha() {
|
||||
return sha;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for changed values.
|
||||
*/
|
||||
public static class GHFrom {
|
||||
private String from;
|
||||
|
||||
/**
|
||||
* Previous value that was changed.
|
||||
*
|
||||
* @return previous value
|
||||
*/
|
||||
public String getFrom() {
|
||||
return from;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -46,6 +46,7 @@ public class GHPullRequestReview extends GHObject {
|
||||
private String commit_id;
|
||||
private GHPullRequestReviewState state;
|
||||
private String submitted_at;
|
||||
private String html_url;
|
||||
|
||||
GHPullRequestReview wrapUp(GHPullRequest owner) {
|
||||
this.owner = owner;
|
||||
@@ -102,7 +103,7 @@ public class GHPullRequestReview extends GHObject {
|
||||
|
||||
@Override
|
||||
public URL getHtmlUrl() {
|
||||
return null;
|
||||
return GitHubClient.parseURL(html_url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,6 +15,7 @@ import static java.lang.String.*;
|
||||
* Release in a github repository.
|
||||
*
|
||||
* @see GHRepository#getReleases() GHRepository#getReleases()
|
||||
* @see GHRepository#listReleases() () GHRepository#listReleases()
|
||||
* @see GHRepository#createRelease(String) GHRepository#createRelease(String)
|
||||
*/
|
||||
public class GHRelease extends GHObject {
|
||||
@@ -23,6 +24,7 @@ public class GHRelease extends GHObject {
|
||||
|
||||
private String html_url;
|
||||
private String assets_url;
|
||||
private List<GHAsset> assets;
|
||||
private String upload_url;
|
||||
private String tag_name;
|
||||
private String target_commitish;
|
||||
@@ -249,18 +251,45 @@ public class GHRelease extends GHObject {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets assets.
|
||||
* Get the cached assets.
|
||||
*
|
||||
* @return the assets
|
||||
*
|
||||
* @deprecated This should be the default behavior of {@link #getAssets()} in a future release. This method is
|
||||
* introduced in addition to enable a transition to using cached asset information while keeping the
|
||||
* existing logic in place for backwards compatibility.
|
||||
*/
|
||||
@Deprecated
|
||||
@Preview
|
||||
public List<GHAsset> assets() {
|
||||
return assets;
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-fetch the assets of this release.
|
||||
*
|
||||
* @return the assets
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
* @deprecated The behavior of this method will change in a future release. It will then provide cached assets as
|
||||
* provided by {@link #assets()}. Use {@link #listAssets()} instead to fetch up-to-date information of
|
||||
* assets.
|
||||
*/
|
||||
@Deprecated
|
||||
public List<GHAsset> getAssets() throws IOException {
|
||||
return listAssets().toList();
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-fetch the assets of this release.
|
||||
*
|
||||
* @return the assets
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public List<GHAsset> getAssets() throws IOException {
|
||||
public PagedIterable<GHAsset> listAssets() throws IOException {
|
||||
Requester builder = owner.root.createRequest();
|
||||
|
||||
return builder.withUrlPath(getApiTailUrl("assets"))
|
||||
.toIterable(GHAsset[].class, item -> item.wrap(this))
|
||||
.toList();
|
||||
return builder.withUrlPath(getApiTailUrl("assets")).toIterable(GHAsset[].class, item -> item.wrap(this));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1788,6 +1788,20 @@ public class GHRepository extends GHObject {
|
||||
.toIterable(GHCommitComment[].class, item -> item.wrap(this));
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all comments on a specific commit.
|
||||
*
|
||||
* @param commitSha
|
||||
* the hash of the commit
|
||||
*
|
||||
* @return the paged iterable
|
||||
*/
|
||||
public PagedIterable<GHCommitComment> listCommitComments(String commitSha) {
|
||||
return root.createRequest()
|
||||
.withUrlPath(String.format("/repos/%s/%s/commits/%s/comments", getOwnerName(), name, commitSha))
|
||||
.toIterable(GHCommitComment[].class, item -> item.wrap(this));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the basic license details for the repository.
|
||||
* <p>
|
||||
@@ -1944,6 +1958,19 @@ public class GHRepository extends GHObject {
|
||||
return new GHCheckRunBuilder(this, name, headSHA);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates an existing check run.
|
||||
*
|
||||
* @param checkId
|
||||
* the existing checkId
|
||||
* @return a builder which you should customize, then call {@link GHCheckRunBuilder#create}
|
||||
*/
|
||||
@Preview
|
||||
@Deprecated
|
||||
public @NonNull GHCheckRunBuilder updateCheckRun(long checkId) {
|
||||
return new GHCheckRunBuilder(this, checkId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists repository events.
|
||||
*
|
||||
|
||||
@@ -145,6 +145,22 @@ public class GHTeam extends GHObject implements Refreshable {
|
||||
return GHDiscussion.readAll(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* List members with specified role paged iterable.
|
||||
*
|
||||
* @param role
|
||||
* the role
|
||||
* @return the paged iterable
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
*/
|
||||
public PagedIterable<GHUser> listMembers(String role) throws IOException {
|
||||
return root.createRequest()
|
||||
.withUrlPath(api("/members"))
|
||||
.with("role", role)
|
||||
.toIterable(GHUser[].class, item -> item.wrapUp(root));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a single discussion by ID.
|
||||
*
|
||||
@@ -171,7 +187,7 @@ public class GHTeam extends GHObject implements Refreshable {
|
||||
* the io exception
|
||||
*/
|
||||
public PagedIterable<GHUser> listMembers() throws IOException {
|
||||
return root.createRequest().withUrlPath(api("/members")).toIterable(GHUser[].class, item -> item.wrapUp(root));
|
||||
return listMembers("all");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,6 +4,8 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.annotation.CheckForNull;
|
||||
|
||||
/**
|
||||
* Represents a user in Git who authors/commits a commit.
|
||||
* <p>
|
||||
@@ -15,10 +17,10 @@ import java.util.Date;
|
||||
@SuppressFBWarnings(value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD" },
|
||||
justification = "JSON API")
|
||||
public class GitUser {
|
||||
private String name, email, date;
|
||||
private String name, email, date, username;
|
||||
|
||||
/**
|
||||
* Gets name.
|
||||
* Gets the git user name for an author or committer on a git commit.
|
||||
*
|
||||
* @return Human readable name of the user, such as "Kohsuke Kawaguchi"
|
||||
*/
|
||||
@@ -27,14 +29,26 @@ public class GitUser {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets email.
|
||||
* Gets the git email for an author or committer on a git commit.
|
||||
*
|
||||
* @return E -mail address, such as "foo@example.com"
|
||||
* @return E-mail address, such as "foo@example.com"
|
||||
*/
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets username. Note: it presents only in events.
|
||||
*
|
||||
* @return GitHub username
|
||||
*/
|
||||
@Preview
|
||||
@Deprecated
|
||||
@CheckForNull
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets date.
|
||||
*
|
||||
|
||||
@@ -37,6 +37,14 @@ class Previews {
|
||||
*/
|
||||
static final String GAMBIT = "application/vnd.github.gambit-preview+json";
|
||||
|
||||
/**
|
||||
* List branches or pull requests for a commit
|
||||
*
|
||||
* @see <a href="https://developer.github.com/v3/previews/#list-branches-or-pull-requests-for-a-commit">GitHub API
|
||||
* Previews</a>
|
||||
*/
|
||||
static final String GROOT = "application/vnd.github.groot-preview+json";
|
||||
|
||||
/**
|
||||
* Manage projects
|
||||
*
|
||||
@@ -44,6 +52,13 @@ class Previews {
|
||||
*/
|
||||
static final String INERTIA = "application/vnd.github.inertia-preview+json";
|
||||
|
||||
/**
|
||||
* Update a pull request branch
|
||||
*
|
||||
* @see <a href="https://developer.github.com/v3/previews/#update-a-pull-request-branch">GitHub API Previews</a>
|
||||
*/
|
||||
static final String LYDIAN = "application/vnd.github.lydian-preview+json";
|
||||
|
||||
/**
|
||||
* Require multiple approving reviews
|
||||
*
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import io.jsonwebtoken.Jwts;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.security.KeyFactory;
|
||||
import java.security.PrivateKey;
|
||||
import java.security.spec.PKCS8EncodedKeySpec;
|
||||
import java.time.Instant;
|
||||
import java.time.temporal.ChronoUnit;
|
||||
import java.util.Base64;
|
||||
import java.util.Date;
|
||||
|
||||
public class AbstractGHAppInstallationTest extends AbstractGitHubWireMockTest {
|
||||
|
||||
private static String TEST_APP_ID_1 = "82994";
|
||||
private static String TEST_APP_ID_2 = "83009";
|
||||
private static String TEST_APP_ID_3 = "89368";
|
||||
private static String PRIVATE_KEY_FILE_APP_1 = "/ghapi-test-app-1.private-key.pem";
|
||||
private static String PRIVATE_KEY_FILE_APP_2 = "/ghapi-test-app-2.private-key.pem";
|
||||
private static String PRIVATE_KEY_FILE_APP_3 = "/ghapi-test-app-3.private-key.pem";
|
||||
|
||||
private String createJwtToken(String keyFileResouceName, String appId) {
|
||||
try {
|
||||
String keyPEM = IOUtils.toString(this.getClass().getResource(keyFileResouceName), "US-ASCII")
|
||||
.replaceAll("(?m)^--.*", "") // remove comments from PEM to allow decoding
|
||||
.replaceAll("\\s", "");
|
||||
|
||||
PKCS8EncodedKeySpec keySpecPKCS8 = new PKCS8EncodedKeySpec(Base64.getDecoder().decode(keyPEM));
|
||||
PrivateKey privateKey = KeyFactory.getInstance("RSA").generatePrivate(keySpecPKCS8);
|
||||
|
||||
return Jwts.builder()
|
||||
.setIssuedAt(Date.from(Instant.now()))
|
||||
.setExpiration(Date.from(Instant.now().plus(5, ChronoUnit.MINUTES)))
|
||||
.setIssuer(appId)
|
||||
.signWith(privateKey)
|
||||
.compact();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("Error creating JWT token.", e);
|
||||
}
|
||||
}
|
||||
|
||||
private GHAppInstallation getAppInstallationWithToken(String jwtToken) throws IOException {
|
||||
GitHub gitHub = getGitHubBuilder().withJwtToken(jwtToken)
|
||||
.withEndpoint(mockGitHub.apiServer().baseUrl())
|
||||
.build();
|
||||
|
||||
GHAppInstallation appInstallation = gitHub.getApp()
|
||||
.listInstallations()
|
||||
.toList()
|
||||
.stream()
|
||||
.filter(it -> it.getAccount().login.equals("hub4j-test-org"))
|
||||
.findFirst()
|
||||
.get();
|
||||
|
||||
appInstallation
|
||||
.setRoot(getGitHubBuilder().withAppInstallationToken(appInstallation.createToken().create().getToken())
|
||||
.withEndpoint(mockGitHub.apiServer().baseUrl())
|
||||
.build());
|
||||
|
||||
return appInstallation;
|
||||
}
|
||||
|
||||
protected GHAppInstallation getAppInstallationWithTokenApp1() throws IOException {
|
||||
return getAppInstallationWithToken(createJwtToken(PRIVATE_KEY_FILE_APP_1, TEST_APP_ID_1));
|
||||
}
|
||||
|
||||
protected GHAppInstallation getAppInstallationWithTokenApp2() throws IOException {
|
||||
return getAppInstallationWithToken(createJwtToken(PRIVATE_KEY_FILE_APP_2, TEST_APP_ID_2));
|
||||
}
|
||||
|
||||
protected GHAppInstallation getAppInstallationWithTokenApp3() throws IOException {
|
||||
return getAppInstallationWithToken(createJwtToken(PRIVATE_KEY_FILE_APP_3, TEST_APP_ID_3));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -4,6 +4,8 @@ import com.google.common.collect.Iterables;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Kohsuke Kawaguchi
|
||||
@@ -25,6 +27,83 @@ public class CommitTest extends AbstractGitHubWireMockTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listPullRequestsOfNotIncludedCommit() throws Exception {
|
||||
GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads");
|
||||
|
||||
GHCommit commit = repo.getCommit("f66f7ca691ace6f4a9230292efb932b49214d72c");
|
||||
|
||||
assertThat("The commit is supposed to be not part of any pull request",
|
||||
commit.listPullRequests().toList().isEmpty());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listPullRequests() throws Exception {
|
||||
GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads");
|
||||
Integer prNumber = 2;
|
||||
|
||||
GHCommit commit = repo.getCommit("6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc");
|
||||
|
||||
List<GHPullRequest> listedPrs = commit.listPullRequests().toList();
|
||||
|
||||
assertEquals(listedPrs.size(), 1);
|
||||
|
||||
assertThat("Pull request " + prNumber + " not found by searching from commit.",
|
||||
listedPrs.stream().findFirst().filter(it -> it.getNumber() == prNumber).isPresent());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listPullRequestsOfCommitWith2PullRequests() throws Exception {
|
||||
GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads");
|
||||
Integer[] expectedPrs = new Integer[]{ 1, 2 };
|
||||
|
||||
GHCommit commit = repo.getCommit("442aa213f924a5984856f16e52a18153aaf41ad3");
|
||||
|
||||
List<GHPullRequest> listedPrs = commit.listPullRequests().toList();
|
||||
|
||||
assertEquals(listedPrs.size(), 2);
|
||||
|
||||
listedPrs.stream()
|
||||
.forEach(pr -> assertThat("PR#" + pr.getNumber() + " not expected to be matched.",
|
||||
Arrays.stream(expectedPrs).anyMatch(prNumber -> prNumber.equals(pr.getNumber()))));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listBranchesWhereHead() throws Exception {
|
||||
GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads");
|
||||
|
||||
GHCommit commit = repo.getCommit("ab92e13c0fc844fd51a379a48a3ad0b18231215c");
|
||||
|
||||
assertThat("Commit which was supposed to be HEAD in the \"master\" branch was not found.",
|
||||
commit.listBranchesWhereHead()
|
||||
.toList()
|
||||
.stream()
|
||||
.findFirst()
|
||||
.filter(it -> it.getName().equals("master"))
|
||||
.isPresent());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listBranchesWhereHead2Heads() throws Exception {
|
||||
GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads");
|
||||
|
||||
GHCommit commit = repo.getCommit("ab92e13c0fc844fd51a379a48a3ad0b18231215c");
|
||||
|
||||
assertEquals("Commit which was supposed to be HEAD in 2 branches was not found as such.",
|
||||
2,
|
||||
commit.listBranchesWhereHead().toList().size());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listBranchesWhereHeadOfCommitWithHeadNowhere() throws Exception {
|
||||
GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads");
|
||||
|
||||
GHCommit commit = repo.getCommit("7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e");
|
||||
|
||||
assertThat("Commit which was not supposed to be HEAD in any branch was found as HEAD.",
|
||||
commit.listBranchesWhereHead().toList().isEmpty());
|
||||
}
|
||||
|
||||
@Test // issue 737
|
||||
public void commitSignatureVerification() throws Exception {
|
||||
GHRepository repo = gitHub.getRepository("stapler/stapler");
|
||||
|
||||
29
src/test/java/org/kohsuke/github/GHAppInstallationTest.java
Normal file
29
src/test/java/org/kohsuke/github/GHAppInstallationTest.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package org.kohsuke.github;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
public class GHAppInstallationTest extends AbstractGHAppInstallationTest {
|
||||
|
||||
@Test
|
||||
public void testListRepositoriesTwoRepos() throws IOException {
|
||||
GHAppInstallation appInstallation = getAppInstallationWithTokenApp1();
|
||||
|
||||
List<GHRepository> repositories = appInstallation.listRepositories().toList();
|
||||
|
||||
assertEquals(2, repositories.size());
|
||||
assertTrue(repositories.stream().anyMatch(it -> it.getName().equals("empty")));
|
||||
assertTrue(repositories.stream().anyMatch(it -> it.getName().equals("test-readme")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testListRepositoriesNoPermissions() throws IOException {
|
||||
GHAppInstallation appInstallation = getAppInstallationWithTokenApp2();
|
||||
|
||||
assertTrue("App does not have permissions and should have 0 repositories",
|
||||
appInstallation.listRepositories().toList().isEmpty());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -26,17 +26,22 @@ package org.kohsuke.github;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
|
||||
import static org.hamcrest.Matchers.containsString;
|
||||
|
||||
@SuppressWarnings("deprecation") // preview
|
||||
public class GHCheckRunBuilderTest extends AbstractGitHubWireMockTest {
|
||||
public class GHCheckRunBuilderTest extends AbstractGHAppInstallationTest {
|
||||
|
||||
protected GitHub getInstallationGithub() throws IOException {
|
||||
return getAppInstallationWithTokenApp3().getRoot();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createCheckRun() throws Exception {
|
||||
GHCheckRun checkRun = gitHub.getRepository("jglick/github-api-test")
|
||||
.createCheckRun("foo", "4a929d464a2fae7ee899ce603250f7dab304bc4b")
|
||||
GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks")
|
||||
.createCheckRun("foo", "89a9ae301e35e667756034fdc933b1fc94f63fc1")
|
||||
.withStatus(GHCheckRun.Status.COMPLETED)
|
||||
.withConclusion(GHCheckRun.Conclusion.SUCCESS)
|
||||
.withDetailsURL("http://nowhere.net/stuff")
|
||||
@@ -55,7 +60,7 @@ public class GHCheckRunBuilderTest extends AbstractGitHubWireMockTest {
|
||||
.create();
|
||||
assertEquals("completed", checkRun.getStatus());
|
||||
assertEquals(1, checkRun.getOutput().getAnnotationsCount());
|
||||
assertEquals(546384586, checkRun.getId());
|
||||
assertEquals(1424883286, checkRun.getId());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -65,8 +70,8 @@ public class GHCheckRunBuilderTest extends AbstractGitHubWireMockTest {
|
||||
output.add(
|
||||
new GHCheckRunBuilder.Annotation("stuff.txt", 1, GHCheckRun.AnnotationLevel.NOTICE, "hello #" + i));
|
||||
}
|
||||
GHCheckRun checkRun = gitHub.getRepository("jglick/github-api-test")
|
||||
.createCheckRun("big", "4a929d464a2fae7ee899ce603250f7dab304bc4b")
|
||||
GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks")
|
||||
.createCheckRun("big", "89a9ae301e35e667756034fdc933b1fc94f63fc1")
|
||||
.withConclusion(GHCheckRun.Conclusion.SUCCESS)
|
||||
.add(output)
|
||||
.create();
|
||||
@@ -74,37 +79,37 @@ public class GHCheckRunBuilderTest extends AbstractGitHubWireMockTest {
|
||||
assertEquals("Big Run", checkRun.getOutput().getTitle());
|
||||
assertEquals("Lots of stuff here »", checkRun.getOutput().getSummary());
|
||||
assertEquals(101, checkRun.getOutput().getAnnotationsCount());
|
||||
assertEquals(546384622, checkRun.getId());
|
||||
assertEquals(1424883599, checkRun.getId());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createCheckRunNoAnnotations() throws Exception {
|
||||
GHCheckRun checkRun = gitHub.getRepository("jglick/github-api-test")
|
||||
.createCheckRun("quick", "4a929d464a2fae7ee899ce603250f7dab304bc4b")
|
||||
GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks")
|
||||
.createCheckRun("quick", "89a9ae301e35e667756034fdc933b1fc94f63fc1")
|
||||
.withConclusion(GHCheckRun.Conclusion.NEUTRAL)
|
||||
.add(new GHCheckRunBuilder.Output("Quick note", "nothing more to see here"))
|
||||
.create();
|
||||
assertEquals("completed", checkRun.getStatus());
|
||||
assertEquals(0, checkRun.getOutput().getAnnotationsCount());
|
||||
assertEquals(546384705, checkRun.getId());
|
||||
assertEquals(1424883957, checkRun.getId());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createPendingCheckRun() throws Exception {
|
||||
GHCheckRun checkRun = gitHub.getRepository("jglick/github-api-test")
|
||||
.createCheckRun("outstanding", "4a929d464a2fae7ee899ce603250f7dab304bc4b")
|
||||
GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks")
|
||||
.createCheckRun("outstanding", "89a9ae301e35e667756034fdc933b1fc94f63fc1")
|
||||
.withStatus(GHCheckRun.Status.IN_PROGRESS)
|
||||
.create();
|
||||
assertEquals("in_progress", checkRun.getStatus());
|
||||
assertNull(checkRun.getConclusion());
|
||||
assertEquals(546469053, checkRun.getId());
|
||||
assertEquals(1424883451, checkRun.getId());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createCheckRunErrMissingConclusion() throws Exception {
|
||||
try {
|
||||
gitHub.getRepository("jglick/github-api-test")
|
||||
.createCheckRun("outstanding", "4a929d464a2fae7ee899ce603250f7dab304bc4b")
|
||||
getInstallationGithub().getRepository("hub4j-test-org/test-checks")
|
||||
.createCheckRun("outstanding", "89a9ae301e35e667756034fdc933b1fc94f63fc1")
|
||||
.withStatus(GHCheckRun.Status.COMPLETED)
|
||||
.create();
|
||||
fail("should have been rejected");
|
||||
@@ -114,4 +119,26 @@ public class GHCheckRunBuilderTest extends AbstractGitHubWireMockTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void updateCheckRun() throws Exception {
|
||||
GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks")
|
||||
.createCheckRun("foo", "89a9ae301e35e667756034fdc933b1fc94f63fc1")
|
||||
.withStatus(GHCheckRun.Status.IN_PROGRESS)
|
||||
.withStartedAt(new Date(999_999_000))
|
||||
.add(new GHCheckRunBuilder.Output("Some Title", "what happened…")
|
||||
.add(new GHCheckRunBuilder.Annotation("stuff.txt",
|
||||
1,
|
||||
GHCheckRun.AnnotationLevel.NOTICE,
|
||||
"hello to you too").withTitle("Look here")))
|
||||
.create();
|
||||
GHCheckRun updated = checkRun.update()
|
||||
.withStatus(GHCheckRun.Status.COMPLETED)
|
||||
.withConclusion(GHCheckRun.Conclusion.SUCCESS)
|
||||
.withCompletedAt(new Date(999_999_999))
|
||||
.create();
|
||||
assertEquals(updated.getStartedAt(), new Date(999_999_000));
|
||||
assertEquals(updated.getName(), "foo");
|
||||
assertEquals(1, checkRun.getOutput().getAnnotationsCount());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import java.text.SimpleDateFormat;
|
||||
import java.util.Collections;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import static java.lang.Boolean.TRUE;
|
||||
import static org.hamcrest.Matchers.*;
|
||||
|
||||
public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
|
||||
@@ -160,6 +161,16 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
|
||||
// @Test
|
||||
// public void page_build() throws Exception {}
|
||||
|
||||
@Test
|
||||
public void ping() throws Exception {
|
||||
GHEventPayload.Ping event = GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Ping.class);
|
||||
|
||||
assertThat(event.getAction(), nullValue());
|
||||
assertThat(event.getSender().getLogin(), is("seregamorph"));
|
||||
assertThat(event.getRepository().getName(), is("acme-project-project"));
|
||||
assertThat(event.getOrganization(), nullValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Payload("public")
|
||||
public void public_() throws Exception {
|
||||
@@ -203,6 +214,75 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(event.getSender().getLogin(), is("baxterthehacker"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void pull_request_edited_base() throws Exception {
|
||||
GHEventPayload.PullRequest event = GitHub.offline()
|
||||
.parseEventPayload(payload.asReader(), GHEventPayload.PullRequest.class);
|
||||
|
||||
assertThat(event.getAction(), is("edited"));
|
||||
assertThat(event.getChanges().getTitle(), nullValue());
|
||||
assertThat(event.getPullRequest().getTitle(), is("REST-276 - easy-random"));
|
||||
assertThat(event.getChanges().getBase().getRef().getFrom(), is("develop"));
|
||||
assertThat(event.getChanges().getBase().getSha().getFrom(), is("4b0f3b9fd582b071652ccfccd10bfc8c143cff96"));
|
||||
assertThat(event.getPullRequest().getBase().getRef(), is("4.3"));
|
||||
assertThat(event.getPullRequest().getBody(), startsWith("**JIRA Ticket URL:**"));
|
||||
assertThat(event.getChanges().getBody(), nullValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void pull_request_edited_title() throws Exception {
|
||||
GHEventPayload.PullRequest event = GitHub.offline()
|
||||
.parseEventPayload(payload.asReader(), GHEventPayload.PullRequest.class);
|
||||
|
||||
assertThat(event.getAction(), is("edited"));
|
||||
assertThat(event.getChanges().getTitle().getFrom(), is("REST-276 - easy-random"));
|
||||
assertThat(event.getPullRequest().getTitle(), is("REST-276 - easy-random 4.3.0"));
|
||||
assertThat(event.getChanges().getBase(), nullValue());
|
||||
assertThat(event.getPullRequest().getBase().getRef(), is("4.3"));
|
||||
assertThat(event.getPullRequest().getBody(), startsWith("**JIRA Ticket URL:**"));
|
||||
assertThat(event.getChanges().getBody(), nullValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void pull_request_labeled() throws Exception {
|
||||
GHEventPayload.PullRequest event = GitHub.offline()
|
||||
.parseEventPayload(payload.asReader(), GHEventPayload.PullRequest.class);
|
||||
assertThat(event.getAction(), is("labeled"));
|
||||
assertThat(event.getNumber(), is(79));
|
||||
assertThat(event.getPullRequest().getNumber(), is(79));
|
||||
assertThat(event.getPullRequest().getTitle(), is("Base POJO test enhancement"));
|
||||
assertThat(event.getPullRequest().getBody(),
|
||||
is("This is a pretty simple change that we need to pull into develop."));
|
||||
assertThat(event.getPullRequest().getUser().getLogin(), is("seregamorph"));
|
||||
assertThat(event.getPullRequest().getHead().getUser().getLogin(), is("trilogy-group"));
|
||||
assertThat(event.getPullRequest().getHead().getRef(), is("changes"));
|
||||
assertThat(event.getPullRequest().getHead().getLabel(), is("trilogy-group:changes"));
|
||||
assertThat(event.getPullRequest().getHead().getSha(), is("4b91e3a970fb967fb7be4d52e0969f8e3fb063d0"));
|
||||
assertThat(event.getPullRequest().getBase().getUser().getLogin(), is("trilogy-group"));
|
||||
assertThat(event.getPullRequest().getBase().getRef(), is("3.10"));
|
||||
assertThat(event.getPullRequest().getBase().getLabel(), is("trilogy-group:3.10"));
|
||||
assertThat(event.getPullRequest().getBase().getSha(), is("7a735f17d686c6a1fc7df5b9d395e5863868f364"));
|
||||
assertThat(event.getPullRequest().isMerged(), is(false));
|
||||
assertThat(event.getPullRequest().getMergeable(), is(TRUE));
|
||||
assertThat(event.getPullRequest().getMergeableState(), is("draft"));
|
||||
assertThat(event.getPullRequest().getMergedBy(), nullValue());
|
||||
assertThat(event.getPullRequest().getCommentsCount(), is(1));
|
||||
assertThat(event.getPullRequest().getReviewComments(), is(14));
|
||||
assertThat(event.getPullRequest().getAdditions(), is(137));
|
||||
assertThat(event.getPullRequest().getDeletions(), is(81));
|
||||
assertThat(event.getPullRequest().getChangedFiles(), is(22));
|
||||
assertThat(event.getPullRequest().getLabels().iterator().next().getName(), is("Ready for Review"));
|
||||
assertThat(event.getRepository().getName(), is("trilogy-rest-api-framework"));
|
||||
assertThat(event.getRepository().getOwner().getLogin(), is("trilogy-group"));
|
||||
assertThat(event.getSender().getLogin(), is("schernov-xo"));
|
||||
assertThat(event.getLabel().getUrl(),
|
||||
is("https://api.github.com/repos/trilogy-group/trilogy-rest-api-framework/labels/rest%20api"));
|
||||
assertThat(event.getLabel().getName(), is("rest api"));
|
||||
assertThat(event.getLabel().getColor(), is("fef2c0"));
|
||||
assertThat(event.getLabel().getDescription(), is("REST API pull request"));
|
||||
assertThat(event.getOrganization().getLogin(), is("trilogy-group"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void pull_request_review() throws Exception {
|
||||
GHEventPayload.PullRequestReview event = GitHub.offline()
|
||||
@@ -216,6 +296,8 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(event.getPullRequest().getNumber(), is(8));
|
||||
assertThat(event.getPullRequest().getTitle(), is("Add a README description"));
|
||||
assertThat(event.getPullRequest().getBody(), is("Just a few more details"));
|
||||
assertThat(event.getReview().getHtmlUrl(),
|
||||
hasToString("https://github.com/baxterthehacker/public-repo/pull/8#pullrequestreview-2626884"));
|
||||
assertThat(event.getPullRequest().getUser().getLogin(), is("skalnik"));
|
||||
assertThat(event.getPullRequest().getHead().getUser().getLogin(), is("skalnik"));
|
||||
assertThat(event.getPullRequest().getHead().getRef(), is("patch-2"));
|
||||
@@ -272,7 +354,9 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(event.getCommits().size(), is(1));
|
||||
assertThat(event.getCommits().get(0).getSha(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"));
|
||||
assertThat(event.getCommits().get(0).getAuthor().getEmail(), is("baxterthehacker@users.noreply.github.com"));
|
||||
assertThat(event.getCommits().get(0).getAuthor().getUsername(), is("baxterthehacker"));
|
||||
assertThat(event.getCommits().get(0).getCommitter().getEmail(), is("baxterthehacker@users.noreply.github.com"));
|
||||
assertThat(event.getCommits().get(0).getCommitter().getUsername(), is("baxterthehacker"));
|
||||
assertThat(event.getCommits().get(0).getAdded().size(), is(0));
|
||||
assertThat(event.getCommits().get(0).getRemoved().size(), is(0));
|
||||
assertThat(event.getCommits().get(0).getModified().size(), is(1));
|
||||
@@ -284,6 +368,8 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(event.getPusher().getName(), is("baxterthehacker"));
|
||||
assertThat(event.getPusher().getEmail(), is("baxterthehacker@users.noreply.github.com"));
|
||||
assertThat(event.getSender().getLogin(), is("baxterthehacker"));
|
||||
assertThat(event.getCompare(),
|
||||
is("https://github.com/baxterthehacker/public-repo/compare/9049f1265b7d...0d1a26e67d8f"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -350,9 +436,20 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
|
||||
|
||||
}
|
||||
|
||||
// TODO implement support classes and write test
|
||||
// @Test
|
||||
// public void release() throws Exception {}
|
||||
@Test
|
||||
public void release_published() throws Exception {
|
||||
GHEventPayload.Release event = GitHub.offline()
|
||||
.parseEventPayload(payload.asReader(), GHEventPayload.Release.class);
|
||||
|
||||
assertThat(event.getAction(), is("published"));
|
||||
assertThat(event.getSender().getLogin(), is("seregamorph"));
|
||||
assertThat(event.getRepository().getName(), is("company-rest-api-framework"));
|
||||
assertThat(event.getOrganization().getLogin(), is("company-group"));
|
||||
assertThat(event.getInstallation(), nullValue());
|
||||
assertThat(event.getRelease().getName(), is("4.2"));
|
||||
assertThat(event.getRelease().getTagName(), is("rest-api-framework-4.2"));
|
||||
assertThat(event.getRelease().getBody(), is("REST-269 - unique test executions (#86) Sergey Chernov"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void repository() throws Exception {
|
||||
|
||||
@@ -211,6 +211,106 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest {
|
||||
fail();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void setBaseBranch() throws Exception {
|
||||
String prName = "testSetBaseBranch";
|
||||
String originalBaseBranch = "master";
|
||||
String newBaseBranch = "gh-pages";
|
||||
|
||||
GHPullRequest pullRequest = getRepository().createPullRequest(prName, "test/stable", "master", "## test");
|
||||
|
||||
assertEquals("Pull request base branch is supposed to be " + originalBaseBranch,
|
||||
originalBaseBranch,
|
||||
pullRequest.getBase().getRef());
|
||||
|
||||
GHPullRequest responsePullRequest = pullRequest.setBaseBranch(newBaseBranch);
|
||||
|
||||
assertEquals("Pull request base branch is supposed to be " + newBaseBranch,
|
||||
newBaseBranch,
|
||||
responsePullRequest.getBase().getRef());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void setBaseBranchNonExisting() throws Exception {
|
||||
String prName = "testSetBaseBranchNonExisting";
|
||||
String originalBaseBranch = "master";
|
||||
String newBaseBranch = "non-existing";
|
||||
|
||||
GHPullRequest pullRequest = getRepository().createPullRequest(prName, "test/stable", "master", "## test");
|
||||
|
||||
assertEquals("Pull request base branch is supposed to be " + originalBaseBranch,
|
||||
originalBaseBranch,
|
||||
pullRequest.getBase().getRef());
|
||||
|
||||
try {
|
||||
pullRequest.setBaseBranch(newBaseBranch);
|
||||
} catch (HttpException e) {
|
||||
assertThat(e, instanceOf(HttpException.class));
|
||||
assertThat(e.toString(), containsString("Proposed base branch 'non-existing' was not found"));
|
||||
}
|
||||
|
||||
pullRequest.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void updateOutdatedBranchesUnexpectedHead() throws Exception {
|
||||
String prName = "testUpdateOutdatedBranches";
|
||||
String outdatedRefName = "refs/heads/outdated";
|
||||
GHRepository repository = gitHub.getOrganization("hub4j-test-org").getRepository("updateOutdatedBranches");
|
||||
|
||||
GHRef outdatedRef = repository.getRef(outdatedRefName);
|
||||
outdatedRef.updateTo("6440189369f9f33b2366556a94dbc26f2cfdd969", true);
|
||||
|
||||
GHPullRequest outdatedPullRequest = repository.createPullRequest(prName, "outdated", "master", "## test");
|
||||
|
||||
do {
|
||||
Thread.sleep(5000);
|
||||
outdatedPullRequest.refresh();
|
||||
} while (outdatedPullRequest.getMergeableState().equalsIgnoreCase("unknown"));
|
||||
|
||||
assertEquals("Pull request is supposed to be not up to date",
|
||||
"behind",
|
||||
outdatedPullRequest.getMergeableState());
|
||||
|
||||
outdatedRef.updateTo("f567328eb81270487864963b7d7446953353f2b5", true);
|
||||
|
||||
try {
|
||||
outdatedPullRequest.updateBranch();
|
||||
} catch (HttpException e) {
|
||||
assertThat(e, instanceOf(HttpException.class));
|
||||
assertThat(e.toString(), containsString("expected head sha didn’t match current head ref."));
|
||||
}
|
||||
|
||||
outdatedPullRequest.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void updateOutdatedBranches() throws Exception {
|
||||
String prName = "testUpdateOutdatedBranches";
|
||||
String outdatedRefName = "refs/heads/outdated";
|
||||
GHRepository repository = gitHub.getOrganization("hub4j-test-org").getRepository("updateOutdatedBranches");
|
||||
|
||||
repository.getRef(outdatedRefName).updateTo("6440189369f9f33b2366556a94dbc26f2cfdd969", true);
|
||||
|
||||
GHPullRequest outdatedPullRequest = repository.createPullRequest(prName, "outdated", "master", "## test");
|
||||
|
||||
do {
|
||||
Thread.sleep(5000);
|
||||
outdatedPullRequest.refresh();
|
||||
} while (outdatedPullRequest.getMergeableState().equalsIgnoreCase("unknown"));
|
||||
|
||||
assertEquals("Pull request is supposed to be not up to date",
|
||||
"behind",
|
||||
outdatedPullRequest.getMergeableState());
|
||||
|
||||
outdatedPullRequest.updateBranch();
|
||||
outdatedPullRequest.refresh();
|
||||
|
||||
assertNotEquals("Pull request is supposed to be up to date", "behind", outdatedPullRequest.getMergeableState());
|
||||
|
||||
outdatedPullRequest.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void squashMerge() throws Exception {
|
||||
String name = "squashMerge";
|
||||
|
||||
@@ -13,6 +13,7 @@ import java.util.Set;
|
||||
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.hamcrest.core.IsInstanceOf.instanceOf;
|
||||
import static org.kohsuke.github.GHVerification.Reason.*;
|
||||
|
||||
/**
|
||||
* @author Liam Newman
|
||||
@@ -75,6 +76,40 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(branch.getName(), is("test/#UrlEncode"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createSignedCommitVerifyError() throws IOException {
|
||||
GHRepository repository = getRepository();
|
||||
|
||||
GHTree ghTree = new GHTreeBuilder(repository).textEntry("a", "", false).create();
|
||||
|
||||
GHVerification verification = repository.createCommit()
|
||||
.message("test signing")
|
||||
.withSignature("-----BEGIN PGP SIGNATURE-----\ninvalid\n-----END PGP SIGNATURE-----")
|
||||
.tree(ghTree.getSha())
|
||||
.create()
|
||||
.getCommitShortInfo()
|
||||
.getVerification();
|
||||
|
||||
assertEquals(GPGVERIFY_ERROR, verification.getReason());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createSignedCommitUnknownSignatureType() throws IOException {
|
||||
GHRepository repository = getRepository();
|
||||
|
||||
GHTree ghTree = new GHTreeBuilder(repository).textEntry("a", "", false).create();
|
||||
|
||||
GHVerification verification = repository.createCommit()
|
||||
.message("test signing")
|
||||
.withSignature("unknown")
|
||||
.tree(ghTree.getSha())
|
||||
.create()
|
||||
.getCommitShortInfo()
|
||||
.getVerification();
|
||||
|
||||
assertEquals(UNKNOWN_SIGNATURE_TYPE, verification.getReason());
|
||||
}
|
||||
|
||||
// Issue #607
|
||||
@Test
|
||||
public void getBranchNonExistentBut200Status() throws Exception {
|
||||
@@ -251,6 +286,26 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
|
||||
assertTrue(r.listLanguages().containsKey(mainLanguage));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listCommitCommentsNoComments() throws IOException {
|
||||
List<GHCommitComment> commitComments = getRepository()
|
||||
.listCommitComments("c413fc1e3057332b93850ea48202627d29a37de5")
|
||||
.toList();
|
||||
|
||||
assertThat("Commit has no comments", commitComments.isEmpty());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listCommitCommentsSomeComments() throws IOException {
|
||||
List<GHCommitComment> commitComments = getRepository()
|
||||
.listCommitComments("499d91f9f846b0087b2a20cf3648b49dc9c2eeef")
|
||||
.toList();
|
||||
|
||||
assertThat("Two comments present", commitComments.size() == 2);
|
||||
assertThat("Comment text found", commitComments.stream().anyMatch(it -> it.body.equals("comment 1")));
|
||||
assertThat("Comment text found", commitComments.stream().anyMatch(it -> it.body.equals("comment 2")));
|
||||
}
|
||||
|
||||
@Test // Issue #261
|
||||
public void listEmptyContributors() throws IOException {
|
||||
for (GHRepository.Contributor c : gitHub.getRepository(GITHUB_API_TEST_ORG + "/empty").listContributors()) {
|
||||
|
||||
@@ -4,6 +4,7 @@ import org.junit.Test;
|
||||
import org.kohsuke.github.GHTeam.Privacy;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
@@ -34,6 +35,31 @@ public class GHTeamTest extends AbstractGitHubWireMockTest {
|
||||
assertEquals(description, team.getDescription());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testlistMembersAdmin() throws IOException {
|
||||
String teamSlug = "dummy-team";
|
||||
|
||||
GHTeam team = gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamBySlug(teamSlug);
|
||||
|
||||
List<GHUser> admins = team.listMembers("admin").asList();
|
||||
|
||||
assertNotNull(admins);
|
||||
assertThat("One admin in dummy team", admins.size() == 1);
|
||||
assertThat("Specific user in admin team",
|
||||
admins.stream().anyMatch(ghUser -> ghUser.getLogin().equals("bitwiseman")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testlistMembersNoMatch() throws IOException {
|
||||
String teamSlug = "dummy-team";
|
||||
|
||||
GHTeam team = gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamBySlug(teamSlug);
|
||||
|
||||
List<GHUser> justMembers = team.listMembers("member").asList();
|
||||
|
||||
assertThat("No regular members in team", justMembers.isEmpty());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSetPrivacy() throws IOException {
|
||||
String teamSlug = "dummy-team";
|
||||
|
||||
@@ -56,6 +56,8 @@ public class LifecycleTest extends AbstractGitHubWireMockTest {
|
||||
private GHAsset uploadAsset(GHRelease release) throws IOException {
|
||||
GHAsset asset = release.uploadAsset(new File("LICENSE.txt"), "application/text");
|
||||
assertNotNull(asset);
|
||||
List<GHAsset> cachedAssets = release.assets();
|
||||
assertEquals(0, cachedAssets.size());
|
||||
List<GHAsset> assets = release.getAssets();
|
||||
assertEquals(1, assets.size());
|
||||
assertEquals("LICENSE.txt", assets.get(0).getName());
|
||||
|
||||
@@ -125,7 +125,7 @@ public class WireMockStatusReporterTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(e, Matchers.<Exception>instanceOf(GHFileNotFoundException.class));
|
||||
assertThat(e.getMessage(),
|
||||
containsString(
|
||||
"{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/repos/#get\"}"));
|
||||
"{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#get-a-repository\"}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
28
src/test/resources/ghapi-test-app-1.private-key.pem
Normal file
28
src/test/resources/ghapi-test-app-1.private-key.pem
Normal file
@@ -0,0 +1,28 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDG98AU2pNVCCp/
|
||||
THwEqlDUZ8GRKY9TO52x+3FPTnx69D63f4k44N0DOCEk4q1mKQ0QYy6rgQcyWtwd
|
||||
GYRpgP/KU5Q3ozEnHUJ82d5HgOCMcYdpqaOb9wJRmj0s9cibDd7TmGBv0DTx5KZi
|
||||
ilqv1mYFbeIC/eVv/id0aG6PMef1+fJeGplQQ1mfdvQP/6ftxsVBHyIhYvZLLGLL
|
||||
FrcONmKTJ9Iy4F4M64PE7YkNVIEMu2cVpIxkHiZuTamr3DPgm4nRp2qe3EA2bLRA
|
||||
Zp4Q+WJmJsVgaDRqJYe8U2IVO72eHdWjoG/lV9HOfc+eH4ns8ZnRNtTnH67DnocT
|
||||
+GAbZp0NAgMBAAECggEARlWIGhcWI+XqF+vynzeRsTQoUedOGg8l9Ke861sEV/aF
|
||||
QRqdaHTcy+mIleBniYiTbKqS8d9/qsZBryu5Cg6m3V/kMjLHClumiDoAAGjHd/4d
|
||||
7zUfd9++exg57e3Ihz9E+KmR1ZTVUnkQdB8SZbw1fk/UqFgWRhui2Nyd0JLEu8eK
|
||||
QTE7MMs3w8Iv8FtC7BJBrEW2uc0h/f5gV4XrS2PR+YFKlFDN566+TILS2Q3h1h6p
|
||||
yqriZygLTQc/z0nqB098KgRcNr3LtCTlaSBBKfFEwG5Glj9QybfEuP6PihrYOFN1
|
||||
SeDCI+/b/WNDsspBheks/AYy6zVSPsWxWoHXhLxSQQKBgQD2Q4FtH6n8gqFMmFX3
|
||||
74Suvoi1YKKbeFjloQ4Pu3rPdEKuza5lgfw+YlO/nMDnQF0b+mogRD2Xs23CIub5
|
||||
RS3TZuhxkdz7VhPRwKHuYs7D5oa3BGAgRyEjG0JIZePNHO1kUSkIRrF4FXFgGpQ8
|
||||
ghdDtodXbrMjZNak8bIq6X/zkQKBgQDO1Y0ifMv3rAu0PEbfnaqXrl09c892cpjP
|
||||
A57T7e53x2WKaNwQbYixNdAbDtGEKXjIHRaV9csG1XSQh+OchT7BSOpgIDxFtK5l
|
||||
aRuov+tcMInjojZjwMv87Pet0QrZhLIZU1883q+LiM/HtHPtgsem0AzovcLoY8mH
|
||||
RuR37oebvQKBgA54ewN5h9iRqH7CuNJ/3ZETGx9lVUjDcp3Tr+rWvmmwUDbLWUMX
|
||||
t0XHK1qoEGHGU3JQbaoFuITQg1OUD3R4TzAL7P63bn/KWBHMOveyEKpMQoBAnpFm
|
||||
/Jh+go+UhSVJXN23My0MUmNXBzl5dlpz3oAZGqzVkWs0ArTgivKgk+cxAoGAGp7r
|
||||
ulubmPYAz6LOcGuHkFw1zfoA4rrfJg3OPHKsNahpTkYuxMKETGKjtUfT+ZGo5QCx
|
||||
bn2jMu74QL3ssrGHoTL0T4j2mPYnWBAOKksBTO1GYhD3tSEUYCpTuoBkSBjHH3FW
|
||||
mawDpg7mx0pXfWNOtQ6kCrSZyHVHc+zQ7Qq7U3UCgYBAZEnFW3MIwAizcioEmc53
|
||||
TJuWSvdvRsfJRNqFSpPxj5xfY9HfgpPceRlh4+jwG1bRWzt4MQKh4DyFvi06NhD7
|
||||
MnYhTX+P1jIyzV5SU8GUud/r6TFwhOWpW3zqaTCep5+VIS5W2rR322NQAZmD2u1+
|
||||
h+U8DZTYFDiNzmsHem2tNA==
|
||||
-----END PRIVATE KEY-----
|
||||
28
src/test/resources/ghapi-test-app-2.private-key.pem
Normal file
28
src/test/resources/ghapi-test-app-2.private-key.pem
Normal file
@@ -0,0 +1,28 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDYm8i4enZxXwQR
|
||||
rfyBkKIroJIMGw3JSG+JPaxvcxpp6GpGOqmGsEQwzEOeuxX705CeTjpZ6/5xOCYV
|
||||
kNLmwTBG/wGpsjGLY1kV6FAC1jHkFIBWSxkmQaZRsK+MhQtREd81uMa1wA/2j3II
|
||||
AUNd0aVWLRlGte2RlDq16mvnqlgzfKB40TgC0Rww2OdoEYsVJ0tph9JvpVgGSMJD
|
||||
Irr3ZVn5hwpJBliC+obst8lIJw1JfEoYT8jU6QvfgViMzRhKNNPy22fCazfxsk1m
|
||||
+uh7c3tM0I8jnaNFkHgRXPzuXFrcgyixXczHThEP+bifWtsBRPYSVy5/RAGDIzXO
|
||||
e3npKTS1AgMBAAECggEBAMXhs4IMpm21zsLT/ozi87QFccbLZFHQ8cwf4orCTYwZ
|
||||
PhVAfCTGnNUzlkbJRTEUutZUQuxpMr59/BTRhEo4jQEe74b2elqLfRQNciLVSSjD
|
||||
Lecnnicb7HROhGFMHeWG/TJXxni9qBeoPhVgCgoIfxH2C1RU2V6YWvZb3Q37ya3l
|
||||
6kCoRfHkSBTkAySdlZDEfYCmIyx6KPIzLFX3VI/T1CAcSuTJnHe+7gdiX4ngq4Ee
|
||||
ZPppHLo76kyQjd05reGTtLq40utIfzHkSgh5nLHMnU+O3xNyyPZbZE1Gp8czgaBe
|
||||
AoAMCPfwY7l1fBy4RQ1TE2FT9sRksNO6VuV+AT4fwzUCgYEA/dVvhT8hVVldLwgn
|
||||
EObgyU35NLyHWba3AanhETI+bCERq1sUXd5LMVPCRJoT/i+zNRMhELmMeVxMYEqW
|
||||
hzBF9XoE6ONqJ7pdRh9brysfKOye0goOXWr2XKZL8mO8utWsV6ehYiKLvgrAjEDR
|
||||
rToknzp8jIQqPaiheWZZIjFvdCMCgYEA2nUFQGss5Iy3FyNLQITwNRgzu75XAYML
|
||||
wM69iW5eF5dNF5p/6kcu12pgSW2mMI9rSVPiMqJqig2F5sIsqvBxIKS1yWuWn1CO
|
||||
wdP3O7GVHiDXpdra0j8z8PBhJ0jRHED5q259dXC0BvqqU8U8cOFxlgr96ZZP+TS3
|
||||
2Tw/RRzkdUcCgYBpcjXuu4gEZahBNnjMG6070wl4b+0mRrIFneWieCXYU3B8p8xx
|
||||
JjxEVJA6YWt2x6gBn124DeyeKcqMoc+gf1xAmpzZhkd+E3xV+gbjYN2D6bAcfxLy
|
||||
mdGYMXkRS3+GeecrTrbLBqDYpKzSVscD2EiIYQqGcQz/KkNSJENY4gJz0wKBgQCX
|
||||
6eR7BYy0an4v4uVDuq5n3aqsFhLfBEg6DgqT9WINObPshA4L1vBl8J2AsnVtM27C
|
||||
EUktOPCpi/nfnIv/WzDwKFoZ9W1K4HRFqac1paoyx1fvCCA/MKBoHmERNnvkD/MP
|
||||
Gci40GUArXOgyXncbYnVc1NbCqIWhGiM8m51G0BrpQKBgAffan4sPiNnWeQlvbAj
|
||||
kW1GkGCIOqMHVgjOxVlDGri/GLwAt1zOxHT7i9nQb6wpE0fAb05ydjPOuA7iIeG4
|
||||
jZdQWfY6QIhlYkDq7JiRCkcQ3auMzplSV17rDSiBL+ttOY8tLdX5fJVmeGdq7Gs1
|
||||
YPW1uoYsHNTFWew5Ae31KaLn
|
||||
-----END PRIVATE KEY-----
|
||||
28
src/test/resources/ghapi-test-app-3.private-key.pem
Normal file
28
src/test/resources/ghapi-test-app-3.private-key.pem
Normal file
@@ -0,0 +1,28 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC4vG2q4zLRcQGe
|
||||
5Z4seo8LY2hROKkdy4LmA96TeCxwDd/bnFIIQGmWMZHVZkyruuLLArTt50/mJ4yC
|
||||
ggedRiw8CmH8s6iQmZQyRu+6gKVqm5KozQ2omniGAJU6KqZTbUUpvytpmmcWcoLU
|
||||
eMoLCJTScRK2rofbiSCFy1WwlyVe1b+nBNf2b9VG9bE461K47kgk1cI1/TqZ3QeI
|
||||
jc/0jV+w7qdTdCqD5A2FyFZa5mU6jj83bVyC0O0AlZlEnwHN58vvN3j7uljF6Mh0
|
||||
sx+0xtRjmTncl7puUhpQBJrH/pIfjuY5MAefMaOAhXMZM3lZyh75URlO3vh1KKwQ
|
||||
EJcdCi+FAgMBAAECggEARDIDBf+DJf/iikbXgjHoFlsnCjyxaXdUJhctliDZvq/Q
|
||||
gKCPQ86La892t2FhUk/WIv0nz18BhsP4wcDAkNVzxOJMU936jw6yv3CiVKXi6pzt
|
||||
ofS4YxJLBaS3cdaGuetvib6xhvVhss6o70h7xWDwl1L4homdS3SuldV/F4ZkXEJI
|
||||
v5uyh0TFy44dSS01muJQfZHXGF7Pvqx18CY8p/NSOKTYJRghSI3GiLOD7S12GHi1
|
||||
dBVp3D9roXCFUG0zijIIntcWnQGoCr71GwQHlwg0hPz3v/lOQZBB814+j5tUKw78
|
||||
zrXAAIb9yQbsNkmY5rVm69kg+ixG0uq9JVqJmkBvrQKBgQDrmJGuQrfuzE5PoYJC
|
||||
SYNOzjjTgTc3mCW6mqBTmngOUV/DEX5aLVzMxaHCIuslNjB1Ila6Hg4Am2SFFiUj
|
||||
OSVZPBe/A+EGU6itxwCzTj7M4jQtVfWRsq8IjaLm0A222RhDp9D/Zc5/T6563obW
|
||||
n4GT/HOM95CvoYvjdcULPOqWVwKBgQDIvDylKw3dRQm3q2IX34JjFMrJM+wzDXAv
|
||||
lIsURQFI/jezos95CGS0ArgG0gNn0117ul++N1Tt44YFDOqbG9kzS9ccYukRIe+v
|
||||
knVkogtXPwLoWR8amOyK2SP7P2DSkrZsE3HRRWhzNARs8RTfa5stp9eKKyrYyXAF
|
||||
28RC7agngwKBgQDEKCWzd615T/Yr6wdvdZG0fZNm1oFI8o8HTVMMCOLI2QvoeJpB
|
||||
Lt/DRxGleDlcpD+4ZzzafceezcLl5EhLiXsFTzleOzaSc/lPpw94Oz+iivxyes2Z
|
||||
37JIZtUpZDTm9t5zBjjHTNafvZJCjyCpdekHc/wpdL6s3M6CNj43WyLexQKBgCDL
|
||||
eBD39rzmsY67RjxmPLQZSoQSoo04rdJoL0yxdWNKfSkw+Tpp36H1K8GZgArvYj97
|
||||
lHbMLWjsGhIrKQ0MQLD7u/ocQr2U0MbbY6h8POQVHFF/dfBveX25ugIrOZNNetYv
|
||||
WxH4h/cCUZLG1EUoHGMaH8GoCcj/J/kdDXRtxWInAoGAQbJ/6Ry5+cLGYgt6e/7Z
|
||||
33wvwVjRmeZxAiE+msdKqXljGmxHKvat3l4eURh1CSqJ5tw0+J/LzXF2WrK8ncQj
|
||||
d3S4tPQW7yMBxXhJuFNczowmB8QiXFQCAdFe9sMRYyRe7EHJSNYEFjPuPDEVIfwO
|
||||
nqEDUjQ6neGvMei09uX1eVk=
|
||||
-----END PRIVATE KEY-----
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/hub4j-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"description": "Hub4j Test Org Description (this could be null or blank too)",
|
||||
"name": "Hub4j Test Org Name (this could be null or blank too)",
|
||||
"company": null,
|
||||
"blog": "https://hub4j.url.io/could/be/null",
|
||||
"location": "Hub4j Test Org Location (this could be null or blank too)",
|
||||
"email": "hub4jtestorgemail@could.be.null.com",
|
||||
"twitter_username": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 13,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2020-06-04T05:56:10Z",
|
||||
"type": "Organization",
|
||||
"total_private_repos": 1,
|
||||
"owned_private_repos": 1,
|
||||
"private_gists": 0,
|
||||
"disk_usage": 149,
|
||||
"collaborators": 0,
|
||||
"billing_email": "kk@kohsuke.org",
|
||||
"default_repository_permission": "none",
|
||||
"members_can_create_repositories": false,
|
||||
"two_factor_requirement_enabled": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"private_repos": 10000,
|
||||
"filled_seats": 18,
|
||||
"seats": 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AOXG3USV2CAWD4FHBELB7RS7KFIGU",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"node_id": "MDY6Q29tbWl0MjkyNjY2MzcyOmFiOTJlMTNjMGZjODQ0ZmQ1MWEzNzlhNDhhM2FkMGIxODIzMTIxNWM=",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Tadas Giniotis",
|
||||
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
|
||||
"date": "2020-09-03T19:52:44Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2020-09-03T19:52:44Z"
|
||||
},
|
||||
"message": "Initial commit",
|
||||
"tree": {
|
||||
"sha": "aef4c126549f4900bec20cd8ea5a6546f9d72342",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees/aef4c126549f4900bec20cd8ea5a6546f9d72342"
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfUUmMCRBK7hj4Ov3rIwAAdHIIAANckXa7twOvglP8Ro+QhRXJ\nQ68XvpHa/tP+Q1wn/ATZcaNMfwLzVD4EUksmct5PfpBiqSGIsoCDmVsNcEd88hum\nYjDSWBGlD3pOedlGXJtW+y//yUIZRmfaZP69sehrkN7JTOfhdEDFlsfhoJDgsrYh\n5KoD4/pmWMiG4NvCMZ265BeMXHw7KSFLAD4vSlBVo/kBJe2IQyW1GvGemZa5fwbk\nBS77fQcxZlv6w7EC9NvWlPc7nxHfS4C5shbB1Cm6nMPaz73PcrH3cWLz2A7esdrU\nhxaCiZ9uF+iqQUQVbzQ8s5r3Hiz1cWsFH2qND/RAaqpLlkLzH43/SyVyiwCmqlM=\n=649h\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree aef4c126549f4900bec20cd8ea5a6546f9d72342\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1599162764 +0300\ncommitter GitHub <noreply@github.com> 1599162764 +0300\n\nInitial commit"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c/comments",
|
||||
"author": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [],
|
||||
"stats": {
|
||||
"total": 1,
|
||||
"additions": 1,
|
||||
"deletions": 0
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"sha": "c0fa81448132f7f9eb303a93d9047fe5fafbfcd9",
|
||||
"filename": "README.md",
|
||||
"status": "added",
|
||||
"additions": 1,
|
||||
"deletions": 0,
|
||||
"changes": 1,
|
||||
"blob_url": "https://github.com/hub4j-test-org/listPrsListHeads/blob/ab92e13c0fc844fd51a379a48a3ad0b18231215c/README.md",
|
||||
"raw_url": "https://github.com/hub4j-test-org/listPrsListHeads/raw/ab92e13c0fc844fd51a379a48a3ad0b18231215c/README.md",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/README.md?ref=ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"patch": "@@ -0,0 +1 @@\n+# listPrsListHeads\n\\ No newline at end of file"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"name": "master",
|
||||
"commit": {
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c"
|
||||
},
|
||||
"protected": false
|
||||
},
|
||||
{
|
||||
"name": "secondHead",
|
||||
"commit": {
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c"
|
||||
},
|
||||
"protected": false
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "56e319b6-29d0-4813-98b5-e4fafad7d29d",
|
||||
"name": "orgs_hub4j-test-org",
|
||||
"request": {
|
||||
"url": "/orgs/hub4j-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "orgs_hub4j-test-org-1.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:17:02 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"7445c740dec9798d5d204bef66278a8a\"",
|
||||
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4946",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "54",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4DC:2C9E:141122AB:184D2941:5F514F3E"
|
||||
}
|
||||
},
|
||||
"uuid": "56e319b6-29d0-4813-98b5-e4fafad7d29d",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "194934af-a877-4e0a-8fa8-0e0de487e0cf",
|
||||
"name": "repos_hub4j-test-org_listprslistheads",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:17:02 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"69a5845ef0ffc8391df2ef254dd25f79\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:47 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4945",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "55",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4DC:2C9E:14112357:184D29C2:5F514F3E"
|
||||
}
|
||||
},
|
||||
"uuid": "194934af-a877-4e0a-8fa8-0e0de487e0cf",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "614b7f95-2bc6-49df-92d0-9b094469c339",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c-3.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:17:03 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"290934ae7ccd3931f79ff23d81407114\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:44 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4944",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "56",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4DC:2C9E:14112444:184D2ADE:5F514F3E"
|
||||
}
|
||||
},
|
||||
"uuid": "614b7f95-2bc6-49df-92d0-9b094469c339",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "fba03664-02be-4198-8659-9c6cd9a29bf4",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c/branches-where-head",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.groot-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:17:03 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"6f6a81bc3ae02760f8875b30cf4e2eec\"",
|
||||
"X-GitHub-Media-Type": "github.groot-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4943",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "57",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4DC:2C9E:141124ED:184D2B9B:5F514F3F"
|
||||
}
|
||||
},
|
||||
"uuid": "fba03664-02be-4198-8659-9c6cd9a29bf4",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/hub4j-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"description": "Hub4j Test Org Description (this could be null or blank too)",
|
||||
"name": "Hub4j Test Org Name (this could be null or blank too)",
|
||||
"company": null,
|
||||
"blog": "https://hub4j.url.io/could/be/null",
|
||||
"location": "Hub4j Test Org Location (this could be null or blank too)",
|
||||
"email": "hub4jtestorgemail@could.be.null.com",
|
||||
"twitter_username": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 13,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2020-06-04T05:56:10Z",
|
||||
"type": "Organization",
|
||||
"total_private_repos": 1,
|
||||
"owned_private_repos": 1,
|
||||
"private_gists": 0,
|
||||
"disk_usage": 149,
|
||||
"collaborators": 0,
|
||||
"billing_email": "kk@kohsuke.org",
|
||||
"default_repository_permission": "none",
|
||||
"members_can_create_repositories": false,
|
||||
"two_factor_requirement_enabled": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"private_repos": 10000,
|
||||
"filled_seats": 18,
|
||||
"seats": 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AOXG3UQBFQLK2I7WKI43SAK7KFIGE",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"node_id": "MDY6Q29tbWl0MjkyNjY2MzcyOmFiOTJlMTNjMGZjODQ0ZmQ1MWEzNzlhNDhhM2FkMGIxODIzMTIxNWM=",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Tadas Giniotis",
|
||||
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
|
||||
"date": "2020-09-03T19:52:44Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2020-09-03T19:52:44Z"
|
||||
},
|
||||
"message": "Initial commit",
|
||||
"tree": {
|
||||
"sha": "aef4c126549f4900bec20cd8ea5a6546f9d72342",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees/aef4c126549f4900bec20cd8ea5a6546f9d72342"
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfUUmMCRBK7hj4Ov3rIwAAdHIIAANckXa7twOvglP8Ro+QhRXJ\nQ68XvpHa/tP+Q1wn/ATZcaNMfwLzVD4EUksmct5PfpBiqSGIsoCDmVsNcEd88hum\nYjDSWBGlD3pOedlGXJtW+y//yUIZRmfaZP69sehrkN7JTOfhdEDFlsfhoJDgsrYh\n5KoD4/pmWMiG4NvCMZ265BeMXHw7KSFLAD4vSlBVo/kBJe2IQyW1GvGemZa5fwbk\nBS77fQcxZlv6w7EC9NvWlPc7nxHfS4C5shbB1Cm6nMPaz73PcrH3cWLz2A7esdrU\nhxaCiZ9uF+iqQUQVbzQ8s5r3Hiz1cWsFH2qND/RAaqpLlkLzH43/SyVyiwCmqlM=\n=649h\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree aef4c126549f4900bec20cd8ea5a6546f9d72342\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1599162764 +0300\ncommitter GitHub <noreply@github.com> 1599162764 +0300\n\nInitial commit"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c/comments",
|
||||
"author": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [],
|
||||
"stats": {
|
||||
"total": 1,
|
||||
"additions": 1,
|
||||
"deletions": 0
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"sha": "c0fa81448132f7f9eb303a93d9047fe5fafbfcd9",
|
||||
"filename": "README.md",
|
||||
"status": "added",
|
||||
"additions": 1,
|
||||
"deletions": 0,
|
||||
"changes": 1,
|
||||
"blob_url": "https://github.com/hub4j-test-org/listPrsListHeads/blob/ab92e13c0fc844fd51a379a48a3ad0b18231215c/README.md",
|
||||
"raw_url": "https://github.com/hub4j-test-org/listPrsListHeads/raw/ab92e13c0fc844fd51a379a48a3ad0b18231215c/README.md",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/README.md?ref=ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"patch": "@@ -0,0 +1 @@\n+# listPrsListHeads\n\\ No newline at end of file"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"name": "master",
|
||||
"commit": {
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c"
|
||||
},
|
||||
"protected": false
|
||||
},
|
||||
{
|
||||
"name": "secondHead",
|
||||
"commit": {
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c"
|
||||
},
|
||||
"protected": false
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "f7bb3a61-b47e-4403-aa76-b0e76f550645",
|
||||
"name": "orgs_hub4j-test-org",
|
||||
"request": {
|
||||
"url": "/orgs/hub4j-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "orgs_hub4j-test-org-1.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:53 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"7445c740dec9798d5d204bef66278a8a\"",
|
||||
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4966",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "34",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4C6:DA25:1594933A:1A26D3B7:5F514F35"
|
||||
}
|
||||
},
|
||||
"uuid": "f7bb3a61-b47e-4403-aa76-b0e76f550645",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "d9a742ee-0c30-48ff-9671-859dec573e4e",
|
||||
"name": "repos_hub4j-test-org_listprslistheads",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:54 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"2b94bdb622f978bd84a5dc272e79d717\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:47 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4965",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "35",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4C6:DA25:15949418:1A26D428:5F514F35"
|
||||
}
|
||||
},
|
||||
"uuid": "d9a742ee-0c30-48ff-9671-859dec573e4e",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "3aa83e8c-ac77-4bf7-91dd-cb88ae0055d4",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c-3.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:54 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"290934ae7ccd3931f79ff23d81407114\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:44 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4964",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "36",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4C6:DA25:15949488:1A26D51F:5F514F36"
|
||||
}
|
||||
},
|
||||
"uuid": "3aa83e8c-ac77-4bf7-91dd-cb88ae0055d4",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "90802902-122b-4c2e-9236-8578f603326c",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c/branches-where-head",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.groot-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_ab92e13c0fc844fd51a379a48a3ad0b18231215c_branches-where-head-4.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:55 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"6f6a81bc3ae02760f8875b30cf4e2eec\"",
|
||||
"X-GitHub-Media-Type": "github.groot-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4963",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "37",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4C6:DA25:15949516:1A26D5C6:5F514F36"
|
||||
}
|
||||
},
|
||||
"uuid": "90802902-122b-4c2e-9236-8578f603326c",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/hub4j-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"description": "Hub4j Test Org Description (this could be null or blank too)",
|
||||
"name": "Hub4j Test Org Name (this could be null or blank too)",
|
||||
"company": null,
|
||||
"blog": "https://hub4j.url.io/could/be/null",
|
||||
"location": "Hub4j Test Org Location (this could be null or blank too)",
|
||||
"email": "hub4jtestorgemail@could.be.null.com",
|
||||
"twitter_username": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 13,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2020-06-04T05:56:10Z",
|
||||
"type": "Organization",
|
||||
"total_private_repos": 1,
|
||||
"owned_private_repos": 1,
|
||||
"private_gists": 0,
|
||||
"disk_usage": 149,
|
||||
"collaborators": 0,
|
||||
"billing_email": "kk@kohsuke.org",
|
||||
"default_repository_permission": "none",
|
||||
"members_can_create_repositories": false,
|
||||
"two_factor_requirement_enabled": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"private_repos": 10000,
|
||||
"filled_seats": 18,
|
||||
"seats": 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AOXG3USIKELUIJ56L57BZ7K7KFIGK",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"sha": "7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"node_id": "MDY6Q29tbWl0MjkyNjY2MzcyOjc0NjA5MTZiZmI4ZTk5NjZkNmI5ZDNlOGFlMzc4YzgyYzZiOGU0M2U=",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Tadas Giniotis",
|
||||
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
|
||||
"date": "2020-09-03T20:08:55Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2020-09-03T20:08:55Z"
|
||||
},
|
||||
"message": "Create 3",
|
||||
"tree": {
|
||||
"sha": "f6de816da0313f4aa5076a767543cead4306c407",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees/f6de816da0313f4aa5076a767543cead4306c407"
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfUU1XCRBK7hj4Ov3rIwAAdHIIAJyE1uW45qdn/bQfnROgDQDu\ndbI6Vbv7PvQah66cLnM9mkbF5W6hu2PulE8G7bnkeUyovluwbQHfwv2l2BdmRgC7\nrMTmN/285vxc9whSY5WI0rfuxkc6x75eH3kuN4ZTRkpRfyQ1/M2G2aizpRZ+g/ky\nnNd63ZuCx6eAkfDHu20+yFhLIELYXb82zoLimnfdSOHBUmfHYQ39REQsDb7+uvUS\nglHhiSGYXVQNLir7coHam1v1Xd2Le8sOZ6ACEtyfa/J0OEmWylQC84spidYJqJXR\nPtEzoB2eKRmwj7OoMtX/tYMP2y2beUQV+FUWimpgx/4dCMe/kaNr4OoUQCwUdz8=\n=ZjBh\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree f6de816da0313f4aa5076a767543cead4306c407\nparent 6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1599163735 +0300\ncommitter GitHub <noreply@github.com> 1599163735 +0300\n\nCreate 3"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e/comments",
|
||||
"author": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc"
|
||||
}
|
||||
],
|
||||
"stats": {
|
||||
"total": 1,
|
||||
"additions": 1,
|
||||
"deletions": 0
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"sha": "00750edc07d6415dcc07ae0351e9397b0222b7ba",
|
||||
"filename": "3",
|
||||
"status": "added",
|
||||
"additions": 1,
|
||||
"deletions": 0,
|
||||
"changes": 1,
|
||||
"blob_url": "https://github.com/hub4j-test-org/listPrsListHeads/blob/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e/3",
|
||||
"raw_url": "https://github.com/hub4j-test-org/listPrsListHeads/raw/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e/3",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/3?ref=7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"patch": "@@ -0,0 +1 @@\n+3"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "e95bdd52-5649-401e-a978-4ca6b8adf191",
|
||||
"name": "repos_jglick_github-api-test",
|
||||
"id": "466a8cc6-9929-4670-98f8-b14e84977ea9",
|
||||
"name": "orgs_hub4j-test-org",
|
||||
"request": {
|
||||
"url": "/repos/jglick/github-api-test",
|
||||
"url": "/orgs/hub4j-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
@@ -12,33 +12,35 @@
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_jglick_github-api-test-1.json",
|
||||
"bodyFileName": "orgs_hub4j-test-org-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 30 Mar 2020 19:00:33 GMT",
|
||||
"Date": "Thu, 03 Sep 2020 20:16:57 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4989",
|
||||
"X-RateLimit-Reset": "1585596209",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"c31ebce1d9b6ef50784ae33967251c4f\"",
|
||||
"Last-Modified": "Wed, 25 Mar 2020 22:26:13 GMT",
|
||||
"ETag": "W/\"7445c740dec9798d5d204bef66278a8a\"",
|
||||
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4958",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "42",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "BE04:665C:6EB6E0:11A912E:5E8241D1"
|
||||
"X-GitHub-Request-Id": "B4D0:59C5:B791ED0:DDDB920:5F514F39"
|
||||
}
|
||||
},
|
||||
"uuid": "e95bdd52-5649-401e-a978-4ca6b8adf191",
|
||||
"uuid": "466a8cc6-9929-4670-98f8-b14e84977ea9",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "4af92eb6-2de5-4bfa-989b-b1b9f026a731",
|
||||
"name": "repos_hub4j-test-org_listprslistheads",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:57 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"66a89ba688bce54b7315c889cf935290\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:47 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4957",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "43",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D0:59C5:B791F14:DDDB959:5F514F39"
|
||||
}
|
||||
},
|
||||
"uuid": "4af92eb6-2de5-4bfa-989b-b1b9f026a731",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "a239ee35-c210-4a58-880a-a01e1f29e0e2",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e-3.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:58 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"4ac6625fabe6147c68b33b6cc3f2ea2b\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 20:08:55 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4956",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "44",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D0:59C5:B791F54:DDDB9B2:5F514F39"
|
||||
}
|
||||
},
|
||||
"uuid": "a239ee35-c210-4a58-880a-a01e1f29e0e2",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "d391dfba-43a5-4c07-ae13-ac94badbaf42",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e_branches-where-head",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e/branches-where-head",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.groot-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "[]",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:58 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "\"64f4770525bcc22cc6d2500a957a939c\"",
|
||||
"X-GitHub-Media-Type": "github.groot-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4955",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "45",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D0:59C5:B791FA1:DDDBA08:5F514F3A"
|
||||
}
|
||||
},
|
||||
"uuid": "d391dfba-43a5-4c07-ae13-ac94badbaf42",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/hub4j-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"description": "Hub4j Test Org Description (this could be null or blank too)",
|
||||
"name": "Hub4j Test Org Name (this could be null or blank too)",
|
||||
"company": null,
|
||||
"blog": "https://hub4j.url.io/could/be/null",
|
||||
"location": "Hub4j Test Org Location (this could be null or blank too)",
|
||||
"email": "hub4jtestorgemail@could.be.null.com",
|
||||
"twitter_username": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 13,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2020-06-04T05:56:10Z",
|
||||
"type": "Organization",
|
||||
"total_private_repos": 1,
|
||||
"owned_private_repos": 1,
|
||||
"private_gists": 0,
|
||||
"disk_usage": 149,
|
||||
"collaborators": 0,
|
||||
"billing_email": "kk@kohsuke.org",
|
||||
"default_repository_permission": "none",
|
||||
"members_can_create_repositories": false,
|
||||
"two_factor_requirement_enabled": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"private_repos": 10000,
|
||||
"filled_seats": 18,
|
||||
"seats": 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AOXG3UR2N5LALQHFBRGS2QS7KFIGI",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"sha": "6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"node_id": "MDY6Q29tbWl0MjkyNjY2MzcyOjZiOTk1NmZlOGMzZDAzMGRiYzQ5YzlkNGM0MTY2YjBjZWI0MTk4ZmM=",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Tadas Giniotis",
|
||||
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
|
||||
"date": "2020-09-03T19:54:04Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2020-09-03T19:54:04Z"
|
||||
},
|
||||
"message": "Create 2",
|
||||
"tree": {
|
||||
"sha": "59e3fbf6f38da4938f3c90c4fec1e1cb397ded42",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees/59e3fbf6f38da4938f3c90c4fec1e1cb397ded42"
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfUUncCRBK7hj4Ov3rIwAAdHIIAEiqYewcNcWqJw9k9BxLD5pf\nubussb8deFFLuK/GO3B3D1f/6SE5JnpNH3Jooz1It8ECw+p6RiohpeuS4s0mHQHY\nS7HUJ5ZudtwJVR8Ip/SgW5/qz1fSUAi/RuaXXi+Utv3o4yPVNxZujBuOiKCV8Zjt\n2YjS1YNJbl+/82W5wScFn9SNeyXt689986Ktuqy3qOx5Y+zr0ck6+0fai/meO3+n\nXp4fOrNZmla9Yk2rgqrpOrskuCO5uS44noJeT+ATHfrAedlQHBDCeLeqqIDr6iee\naKMpXUW+qlXZUpuh4DD0AseZn1hFvG+imO3vfKUi5TTFJ/zga9ymM4ORO/yhR4I=\n=25zj\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree 59e3fbf6f38da4938f3c90c4fec1e1cb397ded42\nparent 442aa213f924a5984856f16e52a18153aaf41ad3\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1599162844 +0300\ncommitter GitHub <noreply@github.com> 1599162844 +0300\n\nCreate 2"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc/comments",
|
||||
"author": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/442aa213f924a5984856f16e52a18153aaf41ad3"
|
||||
}
|
||||
],
|
||||
"stats": {
|
||||
"total": 1,
|
||||
"additions": 1,
|
||||
"deletions": 0
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"sha": "8b137891791fe96927ad78e64b0aad7bded08bdc",
|
||||
"filename": "2",
|
||||
"status": "added",
|
||||
"additions": 1,
|
||||
"deletions": 0,
|
||||
"changes": 1,
|
||||
"blob_url": "https://github.com/hub4j-test-org/listPrsListHeads/blob/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc/2",
|
||||
"raw_url": "https://github.com/hub4j-test-org/listPrsListHeads/raw/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc/2",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/2?ref=6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"patch": "@@ -0,0 +1 @@\n+"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,319 @@
|
||||
[
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2",
|
||||
"id": 478885771,
|
||||
"node_id": "MDExOlB1bGxSZXF1ZXN0NDc4ODg1Nzcx",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2",
|
||||
"diff_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2.diff",
|
||||
"patch_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2.patch",
|
||||
"issue_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2",
|
||||
"number": 2,
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"title": "Pr2",
|
||||
"user": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "",
|
||||
"created_at": "2020-09-03T19:54:15Z",
|
||||
"updated_at": "2020-09-03T19:54:15Z",
|
||||
"closed_at": null,
|
||||
"merged_at": null,
|
||||
"merge_commit_sha": "f2b856a74b6f9d99e5fdf22c64f2c39cc8970ae4",
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"requested_reviewers": [],
|
||||
"requested_teams": [],
|
||||
"labels": [],
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2/comments",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"head": {
|
||||
"label": "hub4j-test-org:pr2",
|
||||
"ref": "pr2",
|
||||
"sha": "6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"user": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "hub4j-test-org:master",
|
||||
"ref": "master",
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"user": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc"
|
||||
}
|
||||
},
|
||||
"author_association": "CONTRIBUTOR",
|
||||
"active_lock_reason": null
|
||||
}
|
||||
]
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "0c39468e-dcdc-4f12-bd52-2cf474eb0761",
|
||||
"name": "repos_jglick_github-api-test",
|
||||
"id": "cc18d270-a304-4633-a877-9615f03705ab",
|
||||
"name": "orgs_hub4j-test-org",
|
||||
"request": {
|
||||
"url": "/repos/jglick/github-api-test",
|
||||
"url": "/orgs/hub4j-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
@@ -12,33 +12,35 @@
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_jglick_github-api-test-1.json",
|
||||
"bodyFileName": "orgs_hub4j-test-org-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 30 Mar 2020 18:23:29 GMT",
|
||||
"Date": "Thu, 03 Sep 2020 20:16:55 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4999",
|
||||
"X-RateLimit-Reset": "1585596209",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"c31ebce1d9b6ef50784ae33967251c4f\"",
|
||||
"Last-Modified": "Wed, 25 Mar 2020 22:26:13 GMT",
|
||||
"ETag": "W/\"7445c740dec9798d5d204bef66278a8a\"",
|
||||
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4962",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "38",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "8558:2D60:F5B004:2327138:5E823921"
|
||||
"X-GitHub-Request-Id": "B4CC:3477:BA2CF45:E1369E3:5F514F37"
|
||||
}
|
||||
},
|
||||
"uuid": "0c39468e-dcdc-4f12-bd52-2cf474eb0761",
|
||||
"uuid": "cc18d270-a304-4633-a877-9615f03705ab",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "6b7b2754-6d35-4e4a-9274-e5c65f60fd30",
|
||||
"name": "repos_hub4j-test-org_listprslistheads",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:56 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"8d00817d5562804493388ffec764d4e8\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:47 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4961",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "39",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4CC:3477:BA2CF96:E136A22:5F514F37"
|
||||
}
|
||||
},
|
||||
"uuid": "6b7b2754-6d35-4e4a-9274-e5c65f60fd30",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "ab1e8aaf-d0fb-46eb-a68b-4511f395741f",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc-3.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:56 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"4ef2c6742a344affbb38a292aa7c88fe\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:54:04 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4960",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "40",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4CC:3477:BA2CFD8:E136A73:5F514F38"
|
||||
}
|
||||
},
|
||||
"uuid": "ab1e8aaf-d0fb-46eb-a68b-4511f395741f",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "0c5d3d7b-9693-45dc-8f2d-92ea166ec263",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc_pulls",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc/pulls",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.groot-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc_pulls-4.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:57 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"3c70e2feffb2d161feff979b9726e01e\"",
|
||||
"X-GitHub-Media-Type": "github.groot-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4959",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "41",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4CC:3477:BA2D00B:E136AC2:5F514F38"
|
||||
}
|
||||
},
|
||||
"uuid": "0c5d3d7b-9693-45dc-8f2d-92ea166ec263",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/hub4j-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"description": "Hub4j Test Org Description (this could be null or blank too)",
|
||||
"name": "Hub4j Test Org Name (this could be null or blank too)",
|
||||
"company": null,
|
||||
"blog": "https://hub4j.url.io/could/be/null",
|
||||
"location": "Hub4j Test Org Location (this could be null or blank too)",
|
||||
"email": "hub4jtestorgemail@could.be.null.com",
|
||||
"twitter_username": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 13,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2020-06-04T05:56:10Z",
|
||||
"type": "Organization",
|
||||
"total_private_repos": 1,
|
||||
"owned_private_repos": 1,
|
||||
"private_gists": 0,
|
||||
"disk_usage": 149,
|
||||
"collaborators": 0,
|
||||
"billing_email": "kk@kohsuke.org",
|
||||
"default_repository_permission": "none",
|
||||
"members_can_create_repositories": false,
|
||||
"two_factor_requirement_enabled": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"private_repos": 10000,
|
||||
"filled_seats": 18,
|
||||
"seats": 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AOXG3USUU2SCOPVPSMHSQWC7KFIGQ",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"sha": "442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"node_id": "MDY6Q29tbWl0MjkyNjY2MzcyOjQ0MmFhMjEzZjkyNGE1OTg0ODU2ZjE2ZTUyYTE4MTUzYWFmNDFhZDM=",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Tadas Giniotis",
|
||||
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
|
||||
"date": "2020-09-03T19:53:37Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2020-09-03T19:53:37Z"
|
||||
},
|
||||
"message": "Create 1",
|
||||
"tree": {
|
||||
"sha": "9614c99a129b6454f3d0e16dda68ac81248c434d",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees/9614c99a129b6454f3d0e16dda68ac81248c434d"
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits/442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfUUnBCRBK7hj4Ov3rIwAAdHIIAGSLA0yW8nGdXPI44ykapcDm\nDPkPwEf7E8pkjKwrYB22Hfk+BmapK+hu/Myv2jSh9Kf8hSPXNakATYGgHzTtNgdr\nn80GtxlbiIvbVU6EeqGWVLqprUZjGdDxV8hNr0YKI9CFJ3JO17VWfxpgZAmHC/Ef\nQs8vcU1J1/dujXSjp1SJU0t+Srj3+0klWojdagMiiCqC71tkfOqZuAQvIusj4jUR\nM2v15ZepdAFoC5KFeax1xdAm5nYxkOlYHfA5OpAYJUnIi0pSxU8h7g76Iw/CDgsy\ntoqPnGY7UrRW5XCIwltzueFPkVxxFats0zhkt6eTNERAakpe1QB+bpvZEhYw2m4=\n=unuo\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree 9614c99a129b6454f3d0e16dda68ac81248c434d\nparent ab92e13c0fc844fd51a379a48a3ad0b18231215c\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1599162817 +0300\ncommitter GitHub <noreply@github.com> 1599162817 +0300\n\nCreate 1"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/442aa213f924a5984856f16e52a18153aaf41ad3/comments",
|
||||
"author": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/ab92e13c0fc844fd51a379a48a3ad0b18231215c"
|
||||
}
|
||||
],
|
||||
"stats": {
|
||||
"total": 1,
|
||||
"additions": 1,
|
||||
"deletions": 0
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"sha": "d00491fd7e5bb6fa28c517a0bb32b8b506539d4d",
|
||||
"filename": "1",
|
||||
"status": "added",
|
||||
"additions": 1,
|
||||
"deletions": 0,
|
||||
"changes": 1,
|
||||
"blob_url": "https://github.com/hub4j-test-org/listPrsListHeads/blob/442aa213f924a5984856f16e52a18153aaf41ad3/1",
|
||||
"raw_url": "https://github.com/hub4j-test-org/listPrsListHeads/raw/442aa213f924a5984856f16e52a18153aaf41ad3/1",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/1?ref=442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"patch": "@@ -0,0 +1 @@\n+1"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,636 @@
|
||||
[
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/1",
|
||||
"id": 478885248,
|
||||
"node_id": "MDExOlB1bGxSZXF1ZXN0NDc4ODg1MjQ4",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/1",
|
||||
"diff_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/1.diff",
|
||||
"patch_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/1.patch",
|
||||
"issue_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/1",
|
||||
"number": 1,
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"title": "Create 1",
|
||||
"user": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "",
|
||||
"created_at": "2020-09-03T19:53:43Z",
|
||||
"updated_at": "2020-09-03T19:53:43Z",
|
||||
"closed_at": null,
|
||||
"merged_at": null,
|
||||
"merge_commit_sha": "0a11e2c33374f90c78e246b50c61990de0f0f6e2",
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"requested_reviewers": [],
|
||||
"requested_teams": [],
|
||||
"labels": [],
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/1/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/1/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/1/comments",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"head": {
|
||||
"label": "hub4j-test-org:pr1",
|
||||
"ref": "pr1",
|
||||
"sha": "442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"user": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "hub4j-test-org:master",
|
||||
"ref": "master",
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"user": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/1"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/hub4j-test-org/listPrsListHeads/pull/1"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/1"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/1/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/1/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/1/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/442aa213f924a5984856f16e52a18153aaf41ad3"
|
||||
}
|
||||
},
|
||||
"author_association": "CONTRIBUTOR",
|
||||
"active_lock_reason": null
|
||||
},
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2",
|
||||
"id": 478885771,
|
||||
"node_id": "MDExOlB1bGxSZXF1ZXN0NDc4ODg1Nzcx",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2",
|
||||
"diff_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2.diff",
|
||||
"patch_url": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2.patch",
|
||||
"issue_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2",
|
||||
"number": 2,
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"title": "Pr2",
|
||||
"user": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"body": "",
|
||||
"created_at": "2020-09-03T19:54:15Z",
|
||||
"updated_at": "2020-09-03T19:54:15Z",
|
||||
"closed_at": null,
|
||||
"merged_at": null,
|
||||
"merge_commit_sha": "f2b856a74b6f9d99e5fdf22c64f2c39cc8970ae4",
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"requested_reviewers": [],
|
||||
"requested_teams": [],
|
||||
"labels": [],
|
||||
"milestone": null,
|
||||
"draft": false,
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/commits",
|
||||
"review_comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/comments",
|
||||
"review_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/comments{/number}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2/comments",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"head": {
|
||||
"label": "hub4j-test-org:pr2",
|
||||
"ref": "pr2",
|
||||
"sha": "6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc",
|
||||
"user": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "hub4j-test-org:master",
|
||||
"ref": "master",
|
||||
"sha": "ab92e13c0fc844fd51a379a48a3ad0b18231215c",
|
||||
"user": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repo": {
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master"
|
||||
}
|
||||
},
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/hub4j-test-org/listPrsListHeads/pull/2"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/2/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/comments"
|
||||
},
|
||||
"review_comment": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/comments{/number}"
|
||||
},
|
||||
"commits": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls/2/commits"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/6b9956fe8c3d030dbc49c9d4c4166b0ceb4198fc"
|
||||
}
|
||||
},
|
||||
"author_association": "CONTRIBUTOR",
|
||||
"active_lock_reason": null
|
||||
}
|
||||
]
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "0587e4c1-5f7f-4f23-95d7-a9c92945bd77",
|
||||
"name": "repos_jglick_github-api-test",
|
||||
"id": "250fec7a-d0ba-457b-a0e5-eae44f4cac29",
|
||||
"name": "orgs_hub4j-test-org",
|
||||
"request": {
|
||||
"url": "/repos/jglick/github-api-test",
|
||||
"url": "/orgs/hub4j-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
@@ -12,33 +12,35 @@
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_jglick_github-api-test-1.json",
|
||||
"bodyFileName": "orgs_hub4j-test-org-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Mon, 30 Mar 2020 18:23:30 GMT",
|
||||
"Date": "Thu, 03 Sep 2020 20:17:00 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4997",
|
||||
"X-RateLimit-Reset": "1585596209",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"c31ebce1d9b6ef50784ae33967251c4f\"",
|
||||
"Last-Modified": "Wed, 25 Mar 2020 22:26:13 GMT",
|
||||
"ETag": "W/\"7445c740dec9798d5d204bef66278a8a\"",
|
||||
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4950",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "50",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "855C:28C5:5D190:14A900:5E823922"
|
||||
"X-GitHub-Request-Id": "B4D8:7A59:BA701F9:E1ACC1B:5F514F3C"
|
||||
}
|
||||
},
|
||||
"uuid": "0587e4c1-5f7f-4f23-95d7-a9c92945bd77",
|
||||
"uuid": "250fec7a-d0ba-457b-a0e5-eae44f4cac29",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "6d003fb4-376d-48a6-8522-4ac6a23a36ec",
|
||||
"name": "repos_hub4j-test-org_listprslistheads",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:17:01 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"04d5c9c3e946c3ff62a1e036800d9144\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:47 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4949",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "51",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D8:7A59:BA70290:E1ACCB7:5F514F3C"
|
||||
}
|
||||
},
|
||||
"uuid": "6d003fb4-376d-48a6-8522-4ac6a23a36ec",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "43f529fe-c1ab-4946-addc-106f59bcad97",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/442aa213f924a5984856f16e52a18153aaf41ad3",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3-3.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:17:01 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"4a2ff94721fedc49860bf66638fd7a24\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:53:37 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4948",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "52",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D8:7A59:BA70300:E1ACD32:5F514F3D"
|
||||
}
|
||||
},
|
||||
"uuid": "43f529fe-c1ab-4946-addc-106f59bcad97",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "c38a451a-2ad8-45cc-974d-ef084b48e2f6",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3_pulls",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/442aa213f924a5984856f16e52a18153aaf41ad3/pulls",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.groot-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_442aa213f924a5984856f16e52a18153aaf41ad3_pulls-4.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:17:01 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"4c9c94f264ad10618d9a843d65ae5a1f\"",
|
||||
"X-GitHub-Media-Type": "github.groot-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4947",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "53",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D8:7A59:BA7035C:E1ACDB3:5F514F3D"
|
||||
}
|
||||
},
|
||||
"uuid": "c38a451a-2ad8-45cc-974d-ef084b48e2f6",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/hub4j-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/hub4j-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"description": "Hub4j Test Org Description (this could be null or blank too)",
|
||||
"name": "Hub4j Test Org Name (this could be null or blank too)",
|
||||
"company": null,
|
||||
"blog": "https://hub4j.url.io/could/be/null",
|
||||
"location": "Hub4j Test Org Location (this could be null or blank too)",
|
||||
"email": "hub4jtestorgemail@could.be.null.com",
|
||||
"twitter_username": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 13,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2020-06-04T05:56:10Z",
|
||||
"type": "Organization",
|
||||
"total_private_repos": 1,
|
||||
"owned_private_repos": 1,
|
||||
"private_gists": 0,
|
||||
"disk_usage": 149,
|
||||
"collaborators": 0,
|
||||
"billing_email": "kk@kohsuke.org",
|
||||
"default_repository_permission": "none",
|
||||
"members_can_create_repositories": false,
|
||||
"two_factor_requirement_enabled": false,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"private_repos": 10000,
|
||||
"filled_seats": 18,
|
||||
"seats": 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 292666372,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyOTI2NjYzNzI=",
|
||||
"name": "listPrsListHeads",
|
||||
"full_name": "hub4j-test-org/listPrsListHeads",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/deployments",
|
||||
"created_at": "2020-09-03T19:52:43Z",
|
||||
"updated_at": "2020-09-03T19:52:47Z",
|
||||
"pushed_at": "2020-09-03T20:10:17Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/listPrsListHeads.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/listPrsListHeads.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/listPrsListHeads",
|
||||
"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": 2,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 2,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "AOXG3UXYKSE73OSGSATLXM27KFIGO",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"sha": "f66f7ca691ace6f4a9230292efb932b49214d72c",
|
||||
"node_id": "MDY6Q29tbWl0MjkyNjY2MzcyOmY2NmY3Y2E2OTFhY2U2ZjRhOTIzMDI5MmVmYjkzMmI0OTIxNGQ3MmM=",
|
||||
"commit": {
|
||||
"author": {
|
||||
"name": "Tadas Giniotis",
|
||||
"email": "61763026+tginiotis-at-work@users.noreply.github.com",
|
||||
"date": "2020-09-03T20:09:33Z"
|
||||
},
|
||||
"committer": {
|
||||
"name": "GitHub",
|
||||
"email": "noreply@github.com",
|
||||
"date": "2020-09-03T20:09:33Z"
|
||||
},
|
||||
"message": "Create 4",
|
||||
"tree": {
|
||||
"sha": "9160cdbc2c3e3139ff6fa8164ab3be5c8f044de1",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/trees/9160cdbc2c3e3139ff6fa8164ab3be5c8f044de1"
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/git/commits/f66f7ca691ace6f4a9230292efb932b49214d72c",
|
||||
"comment_count": 0,
|
||||
"verification": {
|
||||
"verified": true,
|
||||
"reason": "valid",
|
||||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsBcBAABCAAQBQJfUU19CRBK7hj4Ov3rIwAAdHIIAHeTmIluHd0dglveUbUEir0Z\nEgwz8hNiFEX/kCllKIOIZzTZgSOL+gwkUo0Cq5ucX2KhHvPCXRAOU02kNzLRY7U5\ngvzerZXVViQAJuuBvbkVW9FxoSdNsEsvTwNwvZOZYHrMdZVfc4aOajpu2T3SI5UO\nTChvb8a89fjykWe9//ArpJSipG4Kf99kTabPKsctwZVfK4Ayho9jeSIE/0TjkBB5\nBirllrdMnJVjqNNH6oi1f3zJrzoawi7esiT/Zl4WjJnFLBNWqvCZ7pyzST44BiuM\nNZjKH07e9h14IkUKFn8iCa7RoaaWaut7NI2erIr4GliHwICF0jsiAp3BAGBw2SQ=\n=t1l7\n-----END PGP SIGNATURE-----\n",
|
||||
"payload": "tree 9160cdbc2c3e3139ff6fa8164ab3be5c8f044de1\nparent 7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e\nauthor Tadas Giniotis <61763026+tginiotis-at-work@users.noreply.github.com> 1599163773 +0300\ncommitter GitHub <noreply@github.com> 1599163773 +0300\n\nCreate 4"
|
||||
}
|
||||
},
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/f66f7ca691ace6f4a9230292efb932b49214d72c",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/f66f7ca691ace6f4a9230292efb932b49214d72c",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/f66f7ca691ace6f4a9230292efb932b49214d72c/comments",
|
||||
"author": {
|
||||
"login": "tginiotis-at-work",
|
||||
"id": 61763026,
|
||||
"node_id": "MDQ6VXNlcjYxNzYzMDI2",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/61763026?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/tginiotis-at-work",
|
||||
"html_url": "https://github.com/tginiotis-at-work",
|
||||
"followers_url": "https://api.github.com/users/tginiotis-at-work/followers",
|
||||
"following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs",
|
||||
"repos_url": "https://api.github.com/users/tginiotis-at-work/repos",
|
||||
"events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"committer": {
|
||||
"login": "web-flow",
|
||||
"id": 19864447,
|
||||
"node_id": "MDQ6VXNlcjE5ODY0NDQ3",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/19864447?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/web-flow",
|
||||
"html_url": "https://github.com/web-flow",
|
||||
"followers_url": "https://api.github.com/users/web-flow/followers",
|
||||
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/web-flow/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/web-flow/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/web-flow/orgs",
|
||||
"repos_url": "https://api.github.com/users/web-flow/repos",
|
||||
"events_url": "https://api.github.com/users/web-flow/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/web-flow/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"parents": [
|
||||
{
|
||||
"sha": "7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/commits/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e",
|
||||
"html_url": "https://github.com/hub4j-test-org/listPrsListHeads/commit/7460916bfb8e9966d6b9d3e8ae378c82c6b8e43e"
|
||||
}
|
||||
],
|
||||
"stats": {
|
||||
"total": 1,
|
||||
"additions": 1,
|
||||
"deletions": 0
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"sha": "b8626c4cff2849624fb67f87cd0ad72b163671ad",
|
||||
"filename": "4",
|
||||
"status": "added",
|
||||
"additions": 1,
|
||||
"deletions": 0,
|
||||
"changes": 1,
|
||||
"blob_url": "https://github.com/hub4j-test-org/listPrsListHeads/blob/f66f7ca691ace6f4a9230292efb932b49214d72c/4",
|
||||
"raw_url": "https://github.com/hub4j-test-org/listPrsListHeads/raw/f66f7ca691ace6f4a9230292efb932b49214d72c/4",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/listPrsListHeads/contents/4?ref=f66f7ca691ace6f4a9230292efb932b49214d72c",
|
||||
"patch": "@@ -0,0 +1 @@\n+4"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "e5ad4333-f123-4a8a-998f-0eae483789e5",
|
||||
"name": "orgs_hub4j-test-org",
|
||||
"request": {
|
||||
"url": "/orgs/hub4j-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "orgs_hub4j-test-org-1.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:58 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"7445c740dec9798d5d204bef66278a8a\"",
|
||||
"Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4954",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "46",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D4:B3A0:7815A00:91548B6:5F514F3A"
|
||||
}
|
||||
},
|
||||
"uuid": "e5ad4333-f123-4a8a-998f-0eae483789e5",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "7dd518db-9632-44f9-9e07-9046537660be",
|
||||
"name": "repos_hub4j-test-org_listprslistheads",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:59 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"04f7be82a8d9568b1557b91210c32db7\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 19:52:47 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4953",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "47",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D4:B3A0:7815A30:91548DB:5F514F3A"
|
||||
}
|
||||
},
|
||||
"uuid": "7dd518db-9632-44f9-9e07-9046537660be",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "8fa76b15-f88e-47b8-bf58-993e96f1e11b",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_f66f7ca691ace6f4a9230292efb932b49214d72c",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/f66f7ca691ace6f4a9230292efb932b49214d72c",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_listprslistheads_commits_f66f7ca691ace6f4a9230292efb932b49214d72c-3.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:59 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"f51f649ab36a67271fe56e3ed51198b2\"",
|
||||
"Last-Modified": "Thu, 03 Sep 2020 20:09:33 GMT",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4952",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "48",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D4:B3A0:7815A65:915492D:5F514F3B"
|
||||
}
|
||||
},
|
||||
"uuid": "8fa76b15-f88e-47b8-bf58-993e96f1e11b",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "3c4d06a1-1dbb-4c63-84b2-518cc326350a",
|
||||
"name": "repos_hub4j-test-org_listprslistheads_commits_f66f7ca691ace6f4a9230292efb932b49214d72c_pulls",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/listPrsListHeads/commits/f66f7ca691ace6f4a9230292efb932b49214d72c/pulls",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.groot-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "[]",
|
||||
"headers": {
|
||||
"Date": "Thu, 03 Sep 2020 20:16:59 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "\"64f4770525bcc22cc6d2500a957a939c\"",
|
||||
"X-GitHub-Media-Type": "github.groot-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4951",
|
||||
"X-RateLimit-Reset": "1599165440",
|
||||
"X-RateLimit-Used": "49",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "B4D4:B3A0:7815AA2:9154967:5F514F3B"
|
||||
}
|
||||
},
|
||||
"uuid": "3c4d06a1-1dbb-4c63-84b2-518cc326350a",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"id": 83009,
|
||||
"slug": "ghapi-test-app-2",
|
||||
"node_id": "MDM6QXBwODMwMDk=",
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "GHApi Test app 2",
|
||||
"description": "",
|
||||
"external_url": "https://localhost",
|
||||
"html_url": "https://github.com/apps/ghapi-test-app-2",
|
||||
"created_at": "2020-09-30T15:02:20Z",
|
||||
"updated_at": "2020-09-30T15:02:20Z",
|
||||
"permissions": {},
|
||||
"events": [],
|
||||
"installations_count": 1
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
[
|
||||
{
|
||||
"id": 12131496,
|
||||
"account": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/app/installations/12131496/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/organizations/hub4j-test-org/settings/installations/12131496",
|
||||
"app_id": 83009,
|
||||
"app_slug": "ghapi-test-app-2",
|
||||
"target_id": 7544739,
|
||||
"target_type": "Organization",
|
||||
"permissions": {},
|
||||
"events": [],
|
||||
"created_at": "2020-09-30T15:05:32.000Z",
|
||||
"updated_at": "2020-09-30T15:05:32.000Z",
|
||||
"single_file_name": null,
|
||||
"has_multiple_single_files": false,
|
||||
"single_file_paths": [],
|
||||
"suspended_by": null,
|
||||
"suspended_at": null
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": "bb7cf5bb-fba2-45b3-afd8-939b2c24787a",
|
||||
"name": "app",
|
||||
"request": {
|
||||
"url": "/app",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "app-1.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:31 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"b3d319dbb4dba93fbda071208d874e5ab566d827e1ad1d7dc59f26d68694dc48\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9294:AE05:BDAC761:DB35838:5FA463B6"
|
||||
}
|
||||
},
|
||||
"uuid": "bb7cf5bb-fba2-45b3-afd8-939b2c24787a",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": "45ac2593-8123-49ae-ad1a-ded446491b14",
|
||||
"name": "app_installations",
|
||||
"request": {
|
||||
"url": "/app/installations",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "app_installations-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:31 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"60d3ec5c9014799f5e12b88e16e771a386b905ad8d41cd18aed34e58b11c58d4\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9294:AE05:BDAC831:DB35870:5FA463B7"
|
||||
}
|
||||
},
|
||||
"uuid": "45ac2593-8123-49ae-ad1a-ded446491b14",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "b8c586bc-0b07-47e8-806a-76e39d058bf5",
|
||||
"name": "app_installations_12131496_access_tokens",
|
||||
"request": {
|
||||
"url": "/app/installations/12131496/access_tokens",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"body": "{\"token\":\"v1.d5741167e3837f3adda54581ba91c37183c7dd94\",\"expires_at\":\"2020-11-05T21:42:32Z\",\"permissions\":{},\"repository_selection\":\"selected\"}",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:32 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "201 Created",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "\"1fef2b60c4475562d6b9ad2dbc3631503de22b38aac485c1d3f72aa6c8fed608\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9294:AE05:BDAC89E:DB35960:5FA463B7"
|
||||
}
|
||||
},
|
||||
"uuid": "b8c586bc-0b07-47e8-806a-76e39d058bf5",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "4e0e8ffa-48f9-4afb-84ec-d3415f426676",
|
||||
"name": "installation_repositories",
|
||||
"request": {
|
||||
"url": "/installation/repositories",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "{\"total_count\":0,\"repository_selection\":\"selected\",\"repositories\":[]}",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:32 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"4e857aff50d2e1f3f6c906e9800250497e9dd939120ebd27e295573ecf0600f9\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4998",
|
||||
"X-RateLimit-Reset": "1604612529",
|
||||
"X-RateLimit-Used": "2",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "9294:AE05:BDAC92B:DB359F4:5FA463B8"
|
||||
}
|
||||
},
|
||||
"uuid": "4e0e8ffa-48f9-4afb-84ec-d3415f426676",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": 82994,
|
||||
"slug": "ghapi-test-app-1",
|
||||
"node_id": "MDM6QXBwODI5OTQ=",
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "GHApi Test app 1",
|
||||
"description": "",
|
||||
"external_url": "http://localhost",
|
||||
"html_url": "https://github.com/apps/ghapi-test-app-1",
|
||||
"created_at": "2020-09-30T13:40:56Z",
|
||||
"updated_at": "2020-09-30T13:40:56Z",
|
||||
"permissions": {
|
||||
"contents": "read",
|
||||
"metadata": "read"
|
||||
},
|
||||
"events": [],
|
||||
"installations_count": 1
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
[
|
||||
{
|
||||
"id": 12129901,
|
||||
"account": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/app/installations/12129901/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/organizations/hub4j-test-org/settings/installations/12129901",
|
||||
"app_id": 82994,
|
||||
"app_slug": "ghapi-test-app-1",
|
||||
"target_id": 7544739,
|
||||
"target_type": "Organization",
|
||||
"permissions": {},
|
||||
"events": [],
|
||||
"created_at": "2020-09-30T13:41:32.000Z",
|
||||
"updated_at": "2020-09-30T13:42:39.000Z",
|
||||
"single_file_name": null,
|
||||
"has_multiple_single_files": false,
|
||||
"single_file_paths": [],
|
||||
"suspended_by": null,
|
||||
"suspended_at": null
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,204 @@
|
||||
{
|
||||
"total_count": 2,
|
||||
"repository_selection": "selected",
|
||||
"repositories": [
|
||||
{
|
||||
"id": 60391080,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk2MDM5MTA4MA==",
|
||||
"name": "empty",
|
||||
"full_name": "hub4j-test-org/empty",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/empty",
|
||||
"description": "Repository that has no contributor",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/empty",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/empty/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/empty/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/empty/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/empty/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/empty/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/empty/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/empty/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/empty/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/empty/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/empty/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/empty/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/empty/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/empty/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/empty/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/empty/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/empty/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/empty/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/empty/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/empty/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/empty/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/empty/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/empty/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/empty/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/empty/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/empty/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/empty/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/empty/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/empty/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/empty/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/empty/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/empty/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/empty/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/empty/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/empty/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/empty/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/empty/deployments",
|
||||
"created_at": "2016-06-04T03:22:22Z",
|
||||
"updated_at": "2016-06-04T03:22:22Z",
|
||||
"pushed_at": "2016-06-04T03:22:23Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/empty.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/empty.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/empty.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/empty",
|
||||
"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": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 30829547,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzMDgyOTU0Nw==",
|
||||
"name": "test-readme",
|
||||
"full_name": "hub4j-test-org/test-readme",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-readme",
|
||||
"description": "Checks the readme of content",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-readme",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-readme/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-readme/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-readme/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-readme/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-readme/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-readme/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-readme/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-readme/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-readme/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-readme/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-readme/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-readme/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-readme/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-readme/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-readme/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-readme/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-readme/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-readme/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-readme/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-readme/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-readme/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-readme/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-readme/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-readme/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-readme/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-readme/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-readme/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-readme/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-readme/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-readme/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-readme/deployments",
|
||||
"created_at": "2015-02-15T14:24:54Z",
|
||||
"updated_at": "2015-02-15T14:24:54Z",
|
||||
"pushed_at": "2015-02-15T14:26:11Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-readme.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-readme.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-readme.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-readme",
|
||||
"homepage": null,
|
||||
"size": 132,
|
||||
"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": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": "4649263d-058c-4dfb-a9e1-aef192d6353b",
|
||||
"name": "app",
|
||||
"request": {
|
||||
"url": "/app",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "app-1.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:55 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"fdb69e0923e258db042216544924a9afa6f5bbbf8359b8b05b98c015fed69469\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "929E:AE04:62252B5:71843EE:5FA463CF"
|
||||
}
|
||||
},
|
||||
"uuid": "4649263d-058c-4dfb-a9e1-aef192d6353b",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": "ed9b5e7b-275f-440c-8c8e-48ba33b70015",
|
||||
"name": "app_installations",
|
||||
"request": {
|
||||
"url": "/app/installations",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "app_installations-2.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:56 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"70a24dd2d82256d7291ec03a12be1fa63d7f01261664bbe5481be440eb194071\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "929E:AE04:6225331:7184410:5FA463CF"
|
||||
}
|
||||
},
|
||||
"uuid": "ed9b5e7b-275f-440c-8c8e-48ba33b70015",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "ba11f1af-07de-47e9-8493-91f6c9df3721",
|
||||
"name": "app_installations_12129901_access_tokens",
|
||||
"request": {
|
||||
"url": "/app/installations/12129901/access_tokens",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"body": "{\"token\":\"v1.2da7f574165034e5a6cd195cce87f0ee9993b899\",\"expires_at\":\"2020-11-05T21:42:56Z\",\"permissions\":{\"contents\":\"read\",\"metadata\":\"read\"},\"repository_selection\":\"selected\"}",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:56 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "201 Created",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "\"46305ec597c4e4e50a84d375f806c2d547bc6a8388e7f57187a1c1dfab689a84\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "929E:AE04:622534F:718449A:5FA463D0"
|
||||
}
|
||||
},
|
||||
"uuid": "ba11f1af-07de-47e9-8493-91f6c9df3721",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"id": "7161c243-1507-4aad-85ae-cf6bb5fed957",
|
||||
"name": "installation_repositories",
|
||||
"request": {
|
||||
"url": "/installation/repositories",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "installation_repositories-4.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 05 Nov 2020 20:42:57 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"002b04d3b9dd9e654ce10ee83d5efa6d5338677c327b407465b133169cb64d1d\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4998",
|
||||
"X-RateLimit-Reset": "1604612490",
|
||||
"X-RateLimit-Used": "2",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "929E:AE04:6225376:71844BB:5FA463D0"
|
||||
}
|
||||
},
|
||||
"uuid": "7161c243-1507-4aad-85ae-cf6bb5fed957",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"id": 89368,
|
||||
"slug": "ghapi-test-app-3",
|
||||
"node_id": "MDM6QXBwODkzNjg=",
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "GHApi Test app 3",
|
||||
"description": "Test app for checks api testing",
|
||||
"external_url": "http://localhost",
|
||||
"html_url": "https://github.com/apps/ghapi-test-app-3",
|
||||
"created_at": "2020-11-19T14:30:34Z",
|
||||
"updated_at": "2020-11-19T14:30:34Z",
|
||||
"permissions": {
|
||||
"checks": "write",
|
||||
"metadata": "read"
|
||||
},
|
||||
"events": [],
|
||||
"installations_count": 1
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
[
|
||||
{
|
||||
"id": 13064215,
|
||||
"account": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/app/installations/13064215/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/organizations/hub4j-test-org/settings/installations/13064215",
|
||||
"app_id": 89368,
|
||||
"app_slug": "ghapi-test-app-3",
|
||||
"target_id": 7544739,
|
||||
"target_type": "Organization",
|
||||
"permissions": {
|
||||
"checks": "write",
|
||||
"metadata": "read"
|
||||
},
|
||||
"events": [],
|
||||
"created_at": "2020-11-19T14:33:27.000Z",
|
||||
"updated_at": "2020-11-19T14:33:27.000Z",
|
||||
"single_file_name": null,
|
||||
"has_multiple_single_files": false,
|
||||
"single_file_paths": [],
|
||||
"suspended_by": null,
|
||||
"suspended_at": null
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"id": 314259932,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzMTQyNTk5MzI=",
|
||||
"name": "test-checks",
|
||||
"full_name": "hub4j-test-org/test-checks",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/test-checks",
|
||||
"description": "Repo for testing the checks API",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-checks",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/test-checks/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/test-checks/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-checks/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/test-checks/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/test-checks/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-checks/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/test-checks/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/test-checks/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/test-checks/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/test-checks/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/test-checks/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-checks/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-checks/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/test-checks/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/test-checks/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/test-checks/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-checks/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/test-checks/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-checks/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/test-checks/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/test-checks/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-checks/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/test-checks/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-checks/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/test-checks/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/test-checks/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/test-checks/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/test-checks/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/test-checks/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/test-checks/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/test-checks/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/test-checks/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/test-checks/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/test-checks/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/test-checks/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/test-checks/deployments",
|
||||
"created_at": "2020-11-19T13:41:45Z",
|
||||
"updated_at": "2020-11-19T13:41:50Z",
|
||||
"pushed_at": "2020-11-19T13:41:47Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/test-checks.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/test-checks.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/test-checks.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/test-checks",
|
||||
"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": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": false
|
||||
},
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 8
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"id": 1424883286,
|
||||
"node_id": "MDg6Q2hlY2tSdW4xNDI0ODgzMjg2",
|
||||
"head_sha": "89a9ae301e35e667756034fdc933b1fc94f63fc1",
|
||||
"external_id": "whatever",
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/test-checks/check-runs/1424883286",
|
||||
"html_url": "https://github.com/hub4j-test-org/test-checks/runs/1424883286",
|
||||
"details_url": "http://nowhere.net/stuff",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "1970-01-12T13:46:39Z",
|
||||
"completed_at": "1970-01-12T13:46:39Z",
|
||||
"output": {
|
||||
"title": "Some Title",
|
||||
"summary": "what happened…",
|
||||
"text": null,
|
||||
"annotations_count": 1,
|
||||
"annotations_url": "https://api.github.com/repos/hub4j-test-org/test-checks/check-runs/1424883286/annotations"
|
||||
},
|
||||
"name": "foo",
|
||||
"check_suite": {
|
||||
"id": 1529145983
|
||||
},
|
||||
"app": {
|
||||
"id": 89368,
|
||||
"slug": "ghapi-test-app-3",
|
||||
"node_id": "MDM6QXBwODkzNjg=",
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "GHApi Test app 3",
|
||||
"description": "Test app for checks api testing",
|
||||
"external_url": "http://localhost",
|
||||
"html_url": "https://github.com/apps/ghapi-test-app-3",
|
||||
"created_at": "2020-11-19T14:30:34Z",
|
||||
"updated_at": "2020-11-19T14:30:34Z",
|
||||
"permissions": {
|
||||
"checks": "write",
|
||||
"metadata": "read"
|
||||
},
|
||||
"events": []
|
||||
},
|
||||
"pull_requests": []
|
||||
}
|
||||
@@ -1,102 +0,0 @@
|
||||
{
|
||||
"id": 95711947,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk5NTcxMTk0Nw==",
|
||||
"name": "github-api-test",
|
||||
"full_name": "jglick/github-api-test",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "jglick",
|
||||
"id": 154109,
|
||||
"node_id": "MDQ6VXNlcjE1NDEwOQ==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jglick",
|
||||
"html_url": "https://github.com/jglick",
|
||||
"followers_url": "https://api.github.com/users/jglick/followers",
|
||||
"following_url": "https://api.github.com/users/jglick/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jglick/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jglick/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jglick/orgs",
|
||||
"repos_url": "https://api.github.com/users/jglick/repos",
|
||||
"events_url": "https://api.github.com/users/jglick/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jglick/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/jglick/github-api-test",
|
||||
"description": "A test repository for testingthe github-api project",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/jglick/github-api-test",
|
||||
"forks_url": "https://api.github.com/repos/jglick/github-api-test/forks",
|
||||
"keys_url": "https://api.github.com/repos/jglick/github-api-test/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/jglick/github-api-test/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/jglick/github-api-test/teams",
|
||||
"hooks_url": "https://api.github.com/repos/jglick/github-api-test/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/jglick/github-api-test/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/jglick/github-api-test/events",
|
||||
"assignees_url": "https://api.github.com/repos/jglick/github-api-test/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/jglick/github-api-test/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/jglick/github-api-test/tags",
|
||||
"blobs_url": "https://api.github.com/repos/jglick/github-api-test/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/jglick/github-api-test/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/jglick/github-api-test/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/jglick/github-api-test/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/jglick/github-api-test/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/jglick/github-api-test/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/jglick/github-api-test/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/jglick/github-api-test/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/jglick/github-api-test/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/jglick/github-api-test/subscription",
|
||||
"commits_url": "https://api.github.com/repos/jglick/github-api-test/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/jglick/github-api-test/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/jglick/github-api-test/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/jglick/github-api-test/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/jglick/github-api-test/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/jglick/github-api-test/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/jglick/github-api-test/merges",
|
||||
"archive_url": "https://api.github.com/repos/jglick/github-api-test/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/jglick/github-api-test/downloads",
|
||||
"issues_url": "https://api.github.com/repos/jglick/github-api-test/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/jglick/github-api-test/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/jglick/github-api-test/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/jglick/github-api-test/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/jglick/github-api-test/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/jglick/github-api-test/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/jglick/github-api-test/deployments",
|
||||
"created_at": "2017-06-28T21:10:35Z",
|
||||
"updated_at": "2020-03-25T22:26:13Z",
|
||||
"pushed_at": "2020-03-25T22:26:10Z",
|
||||
"git_url": "git://github.com/jglick/github-api-test.git",
|
||||
"ssh_url": "git@github.com:jglick/github-api-test.git",
|
||||
"clone_url": "https://github.com/jglick/github-api-test.git",
|
||||
"svn_url": "https://github.com/jglick/github-api-test",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"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": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": false
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"network_count": 0,
|
||||
"subscribers_count": 0
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
{
|
||||
"id": 546384586,
|
||||
"node_id": "MDg6Q2hlY2tSdW41NDYzODQ1ODY=",
|
||||
"head_sha": "4a929d464a2fae7ee899ce603250f7dab304bc4b",
|
||||
"external_id": "whatever",
|
||||
"url": "https://api.github.com/repos/jglick/github-api-test/check-runs/546384586",
|
||||
"html_url": "https://github.com/jglick/github-api-test/runs/546384586",
|
||||
"details_url": "http://nowhere.net/stuff",
|
||||
"status": "completed",
|
||||
"conclusion": "success",
|
||||
"started_at": "1970-01-12T13:46:39Z",
|
||||
"completed_at": "1970-01-12T13:46:39Z",
|
||||
"output": {
|
||||
"title": "Some Title",
|
||||
"summary": "what happened…",
|
||||
"text": null,
|
||||
"annotations_count": 1,
|
||||
"annotations_url": "https://api.github.com/repos/jglick/github-api-test/check-runs/546384586/annotations"
|
||||
},
|
||||
"name": "foo",
|
||||
"check_suite": {
|
||||
"id": 547824747
|
||||
},
|
||||
"app": {
|
||||
"id": 58691,
|
||||
"slug": "jglick-app-test",
|
||||
"node_id": "MDM6QXBwNTg2OTE=",
|
||||
"owner": {
|
||||
"login": "jglick",
|
||||
"id": 154109,
|
||||
"node_id": "MDQ6VXNlcjE1NDEwOQ==",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/154109?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jglick",
|
||||
"html_url": "https://github.com/jglick",
|
||||
"followers_url": "https://api.github.com/users/jglick/followers",
|
||||
"following_url": "https://api.github.com/users/jglick/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jglick/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jglick/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jglick/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jglick/orgs",
|
||||
"repos_url": "https://api.github.com/users/jglick/repos",
|
||||
"events_url": "https://api.github.com/users/jglick/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jglick/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"name": "jglick-app-test",
|
||||
"description": "",
|
||||
"external_url": "http://nowhere.net/",
|
||||
"html_url": "https://github.com/apps/jglick-app-test",
|
||||
"created_at": "2020-03-25T22:13:14Z",
|
||||
"updated_at": "2020-03-25T22:13:14Z",
|
||||
"permissions": {
|
||||
"checks": "write",
|
||||
"metadata": "read"
|
||||
},
|
||||
"events": []
|
||||
},
|
||||
"pull_requests": []
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": "0f55dc07-d441-4193-bec3-85b37825b863",
|
||||
"name": "app",
|
||||
"request": {
|
||||
"url": "/app",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "app-0f55dc07-d441-4193-bec3-85b37825b863.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 19 Nov 2020 15:00:16 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"174e4dd83df85fc873704d9b9e66883391e4ed80f0c537880e3f48f790fb4e47\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "FF99:D6FC:1918F5:1E0C64:5FB68880"
|
||||
}
|
||||
},
|
||||
"uuid": "0f55dc07-d441-4193-bec3-85b37825b863",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"id": "dde1b767-d20a-4af1-8643-bd7caf43d3b8",
|
||||
"name": "app_installations",
|
||||
"request": {
|
||||
"url": "/app/installations",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "app_installations-dde1b767-d20a-4af1-8643-bd7caf43d3b8.json",
|
||||
"headers": {
|
||||
"Date": "Thu, 19 Nov 2020 15:00:17 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "W/\"e9ffa0e78284d854058825e6267f828446fcd9f96430ce74e40eac816f7e6b19\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "FF99:D6FC:1918FD:1E0C6D:5FB68880"
|
||||
}
|
||||
},
|
||||
"uuid": "dde1b767-d20a-4af1-8643-bd7caf43d3b8",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "cf0f4d64-2b1c-48db-9c9f-230250d40539",
|
||||
"name": "app_installations_13064215_access_tokens",
|
||||
"request": {
|
||||
"url": "/app/installations/13064215/access_tokens",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.machine-man-preview+json"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"body": "{\"token\":\"v1.a10ee387298335c61d2f50272c859ffba4a59e75\",\"expires_at\":\"2020-11-19T16:00:17Z\",\"permissions\":{\"checks\":\"write\",\"metadata\":\"read\"},\"repository_selection\":\"selected\"}",
|
||||
"headers": {
|
||||
"Date": "Thu, 19 Nov 2020 15:00:17 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "201 Created",
|
||||
"Cache-Control": "public, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept",
|
||||
"Accept-Encoding, Accept, X-Requested-With",
|
||||
"Accept-Encoding"
|
||||
],
|
||||
"ETag": "\"604249bc3d97f7d7205febe1bc72dd33f51b44b0275e9f027bc5e48bce6b9f00\"",
|
||||
"X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "FF99:D6FC:191902:1E0C73:5FB68881"
|
||||
}
|
||||
},
|
||||
"uuid": "cf0f4d64-2b1c-48db-9c9f-230250d40539",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user