mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-11 00:11:25 +00:00
Compare commits
24 Commits
github-api
...
github-api
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2321dc50c5 | ||
|
|
4efd2e8184 | ||
|
|
e30e153bfa | ||
|
|
7d842175f7 | ||
|
|
e0aee9f361 | ||
|
|
76c51922f1 | ||
|
|
f95e89a136 | ||
|
|
2dff60a23c | ||
|
|
95f83d1a29 | ||
|
|
b875ccecc1 | ||
|
|
e4c3802f16 | ||
|
|
081e485f4f | ||
|
|
4adf88da19 | ||
|
|
31e2b1b8d3 | ||
|
|
bd28abd343 | ||
|
|
955690b124 | ||
|
|
fa6f06ae15 | ||
|
|
263de140c5 | ||
|
|
ed85d06d69 | ||
|
|
4ff0870df8 | ||
|
|
410bac2040 | ||
|
|
7fc68f2969 | ||
|
|
32ff315b6b | ||
|
|
f919346f8f |
6
pom.xml
6
pom.xml
@@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.kohsuke</groupId>
|
||||
<artifactId>github-api</artifactId>
|
||||
<version>1.109</version>
|
||||
<version>1.111</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/github-api/${project.artifactId}.git</connection>
|
||||
<developerConnection>scm:git:ssh://git@github.com/github-api/${project.artifactId}.git</developerConnection>
|
||||
<url>https://github.com/github-api/github-api/</url>
|
||||
<tag>github-api-1.109</tag>
|
||||
<tag>github-api-1.111</tag>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
@@ -34,7 +34,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<spotbugs-maven-plugin.version>4.0.0</spotbugs-maven-plugin.version>
|
||||
<spotbugs.version>4.0.1</spotbugs.version>
|
||||
<spotbugs.version>4.0.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>
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.kohsuke.github;
|
||||
import com.fasterxml.jackson.annotation.JsonSetter;
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Reader;
|
||||
import java.util.List;
|
||||
|
||||
@@ -207,6 +208,153 @@ public abstract class GHEventPayload {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An installation has been installed, uninstalled, or its permissions have been changed.
|
||||
*
|
||||
* @see <a href="https://developer.github.com/v3/activity/events/types/#installationevent">authoritative source</a>
|
||||
*/
|
||||
@SuppressFBWarnings(value = { "UWF_UNWRITTEN_FIELD" }, justification = "JSON API")
|
||||
public static class Installation extends GHEventPayload {
|
||||
private String action;
|
||||
private GHAppInstallation installation;
|
||||
private List<GHRepository> repositories;
|
||||
|
||||
/**
|
||||
* Gets action
|
||||
*
|
||||
* @return the action
|
||||
*/
|
||||
public String getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets installation
|
||||
*
|
||||
* @return the installation
|
||||
*/
|
||||
public GHAppInstallation getInstallation() {
|
||||
return installation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets repositories
|
||||
*
|
||||
* @return the repositories
|
||||
*/
|
||||
public List<GHRepository> getRepositories() {
|
||||
return repositories;
|
||||
};
|
||||
|
||||
@Override
|
||||
void wrapUp(GitHub root) {
|
||||
super.wrapUp(root);
|
||||
if (installation == null)
|
||||
throw new IllegalStateException(
|
||||
"Expected check_suite payload, but got something else. Maybe we've got another type of event?");
|
||||
else
|
||||
installation.wrapUp(root);
|
||||
|
||||
if (repositories != null && !repositories.isEmpty()) {
|
||||
try {
|
||||
for (GHRepository singleRepo : repositories) { // warp each of the repository
|
||||
singleRepo.wrap(root);
|
||||
singleRepo.populate();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new GHException("Failed to refresh repositories", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A repository has been added or removed from an installation.
|
||||
*
|
||||
* @see <a href="https://developer.github.com/v3/activity/events/types/#installationrepositoriesevent">authoritative
|
||||
* source</a>
|
||||
*/
|
||||
@SuppressFBWarnings(value = { "UWF_UNWRITTEN_FIELD" }, justification = "JSON API")
|
||||
public static class InstallationRepositories extends GHEventPayload {
|
||||
private String action;
|
||||
private GHAppInstallation installation;
|
||||
private String repositorySelection;
|
||||
private List<GHRepository> repositoriesAdded;
|
||||
private List<GHRepository> repositoriesRemoved;
|
||||
|
||||
/**
|
||||
* Gets action
|
||||
*
|
||||
* @return the action
|
||||
*/
|
||||
public String getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets installation
|
||||
*
|
||||
* @return the installation
|
||||
*/
|
||||
public GHAppInstallation getInstallation() {
|
||||
return installation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets installation selection
|
||||
*
|
||||
* @return the installation selection
|
||||
*/
|
||||
public String getRepositorySelection() {
|
||||
return repositorySelection;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets repositories added
|
||||
*
|
||||
* @return the repositories
|
||||
*/
|
||||
public List<GHRepository> getRepositoriesAdded() {
|
||||
return repositoriesAdded;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets repositories removed
|
||||
*
|
||||
* @return the repositories
|
||||
*/
|
||||
public List<GHRepository> getRepositoriesRemoved() {
|
||||
return repositoriesRemoved;
|
||||
}
|
||||
|
||||
@Override
|
||||
void wrapUp(GitHub root) {
|
||||
super.wrapUp(root);
|
||||
if (installation == null)
|
||||
throw new IllegalStateException(
|
||||
"Expected check_suite payload, but got something else. Maybe we've got another type of event?");
|
||||
else
|
||||
installation.wrapUp(root);
|
||||
|
||||
List<GHRepository> repositories;
|
||||
if (action == "added")
|
||||
repositories = repositoriesAdded;
|
||||
else // action == "removed"
|
||||
repositories = repositoriesRemoved;
|
||||
|
||||
if (repositories != null && !repositories.isEmpty()) {
|
||||
try {
|
||||
for (GHRepository singleRepo : repositories) { // warp each of the repository
|
||||
singleRepo.wrap(root);
|
||||
singleRepo.populate();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new GHException("Failed to refresh repositories", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A pull request status has changed.
|
||||
*
|
||||
|
||||
@@ -228,6 +228,13 @@ public class GHIssue extends GHObject implements Reactable {
|
||||
root.createRequest().with(key, value).method("PATCH").withUrlPath(getApiRoute()).send();
|
||||
}
|
||||
|
||||
/**
|
||||
* Identical to edit(), but allows null for the value.
|
||||
*/
|
||||
private void editNullable(String key, Object value) throws IOException {
|
||||
root.createRequest().withNullable(key, value).method("PATCH").withUrlPath(getApiRoute()).send();
|
||||
}
|
||||
|
||||
private void editIssue(String key, Object value) throws IOException {
|
||||
root.createRequest().with(key, value).method("PATCH").withUrlPath(getIssuesApiRoute()).send();
|
||||
}
|
||||
@@ -277,15 +284,19 @@ public class GHIssue extends GHObject implements Reactable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets milestone.
|
||||
* Sets the milestone for this issue.
|
||||
*
|
||||
* @param milestone
|
||||
* the milestone
|
||||
* The milestone to assign this issue to. Use null to remove the milestone for this issue.
|
||||
* @throws IOException
|
||||
* the io exception
|
||||
* The io exception
|
||||
*/
|
||||
public void setMilestone(GHMilestone milestone) throws IOException {
|
||||
edit("milestone", milestone.getNumber());
|
||||
if (milestone == null) {
|
||||
editNullable("milestone", null);
|
||||
} else {
|
||||
edit("milestone", milestone.getNumber());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,7 @@ public abstract class GHObject {
|
||||
/**
|
||||
* Capture response HTTP headers on the state object.
|
||||
*/
|
||||
protected Map<String, List<String>> responseHeaderFields;
|
||||
protected transient Map<String, List<String>> responseHeaderFields;
|
||||
|
||||
protected String url;
|
||||
protected long id;
|
||||
|
||||
@@ -63,9 +63,9 @@ import static org.kohsuke.github.Previews.*;
|
||||
@SuppressFBWarnings(value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD" },
|
||||
justification = "JSON API")
|
||||
public class GHRepository extends GHObject {
|
||||
/* package almost final */ GitHub root;
|
||||
/* package almost final */ transient GitHub root;
|
||||
|
||||
private String description, homepage, name, full_name;
|
||||
private String nodeId, description, homepage, name, full_name;
|
||||
private String html_url; // this is the UI
|
||||
/*
|
||||
* The license information makes use of the preview API.
|
||||
@@ -185,6 +185,15 @@ public class GHRepository extends GHObject {
|
||||
boolean pull, push, admin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets node id
|
||||
*
|
||||
* @return the node id
|
||||
*/
|
||||
public String getNodeId() {
|
||||
return nodeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets description.
|
||||
*
|
||||
@@ -221,6 +230,17 @@ public class GHRepository extends GHObject {
|
||||
return clone_url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Git http transport url string.
|
||||
*
|
||||
* @return the string
|
||||
* @deprecated Typo of {@link #getHttpTransportUrl()}
|
||||
*/
|
||||
@Deprecated
|
||||
public String gitHttpTransportUrl() {
|
||||
return clone_url;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Subversion URL to access this repository: https://github.com/rails/rails
|
||||
*
|
||||
@@ -1559,6 +1579,11 @@ public class GHRepository extends GHObject {
|
||||
* on failure communicating with GitHub, potentially due to an invalid ref type being requested
|
||||
*/
|
||||
public GHRef getRef(String refName) throws IOException {
|
||||
// Also accept e.g. "refs/heads/branch" for consistency with createRef().
|
||||
if (refName.startsWith("refs/")) {
|
||||
refName = refName.replaceFirst("refs/", "");
|
||||
}
|
||||
|
||||
return root.createRequest()
|
||||
.withUrlPath(getApiTailUrl(String.format("git/refs/%s", refName)))
|
||||
.fetch(GHRef.class)
|
||||
@@ -2130,7 +2155,7 @@ public class GHRepository extends GHObject {
|
||||
|
||||
GHRepository wrap(GitHub root) {
|
||||
this.root = root;
|
||||
if (root.isOffline()) {
|
||||
if (root.isOffline() && owner != null) {
|
||||
owner.wrapUp(root);
|
||||
}
|
||||
return this;
|
||||
@@ -2792,4 +2817,17 @@ public class GHRepository extends GHObject {
|
||||
.fetch(GHTagObject.class)
|
||||
.wrap(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Populate this object.
|
||||
*
|
||||
* @throws java.io.IOException
|
||||
* The IO exception
|
||||
*/
|
||||
void populate() throws IOException {
|
||||
if (root.isOffline())
|
||||
return; // can't populate if the root is offline
|
||||
|
||||
root.createRequest().withApiUrl(root.getApiUrl() + full_name).fetchInto(this).wrap(root);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
*/
|
||||
package org.kohsuke.github;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectReader;
|
||||
import com.fasterxml.jackson.databind.ObjectWriter;
|
||||
import com.infradna.tool.bridge_method_injector.WithBridgeMethods;
|
||||
|
||||
import java.io.*;
|
||||
@@ -1190,6 +1192,32 @@ public class GitHub {
|
||||
"UTF-8");
|
||||
}
|
||||
|
||||
/**
|
||||
* Do not use this method. This method will be removed and should never have been needed in the first place.
|
||||
*
|
||||
* @return an {@link ObjectWriter} instance that can be further configured.
|
||||
* @deprecated DO NOT USE THIS METHOD. Provided for backward compatibility with projects that did their own jackson
|
||||
* mapping of this project's data objects, such as Jenkins Blue Ocean.
|
||||
*/
|
||||
@Deprecated
|
||||
@Nonnull
|
||||
public static ObjectWriter getMappingObjectWriter() {
|
||||
return GitHubClient.getMappingObjectWriter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Do not use this method. This method will be removed and should never have been needed in the first place.
|
||||
*
|
||||
* @return an {@link ObjectReader} instance that can be further configured.
|
||||
* @deprecated DO NOT USE THIS METHOD. Provided for backward compatibility with projects that did their own jackson
|
||||
* mapping of this project's data objects, such as Jenkins Blue Ocean.
|
||||
*/
|
||||
@Deprecated
|
||||
@Nonnull
|
||||
public static ObjectReader getMappingObjectReader() {
|
||||
return GitHubClient.getMappingObjectReader(GitHub.offline());
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
GitHubClient getClient() {
|
||||
return client;
|
||||
|
||||
@@ -4,6 +4,7 @@ import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Collections;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.is;
|
||||
@@ -392,4 +393,43 @@ public class GHEventPayloadTest {
|
||||
assertThat(checkSuite.getApp().getId(), is(29310L));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Payload("installation_repositories")
|
||||
public void InstallationRepositoriesEvent() throws Exception {
|
||||
GHEventPayload.InstallationRepositories event = GitHub.offline()
|
||||
.parseEventPayload(payload.asReader(), GHEventPayload.InstallationRepositories.class);
|
||||
|
||||
assertThat(event.getAction(), is("added"));
|
||||
assertThat(event.getInstallation().getId(), is(957387L));
|
||||
assertThat(event.getInstallation().getAccount().getLogin(), is("Codertocat"));
|
||||
assertThat(event.getRepositorySelection(), is("selected"));
|
||||
|
||||
assertThat(event.getRepositoriesAdded().get(0).getId(), is(186853007L));
|
||||
assertThat(event.getRepositoriesAdded().get(0).getNodeId(), is("MDEwOlJlcG9zaXRvcnkxODY4NTMwMDc="));
|
||||
assertThat(event.getRepositoriesAdded().get(0).getName(), is("Space"));
|
||||
assertThat(event.getRepositoriesAdded().get(0).getFullName(), is("Codertocat/Space"));
|
||||
assertThat(event.getRepositoriesAdded().get(0).isPrivate(), is(false));
|
||||
|
||||
assertThat(event.getRepositoriesRemoved(), is(Collections.emptyList()));
|
||||
assertThat(event.getSender().getLogin(), is("Codertocat"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@Payload("installation")
|
||||
public void InstallationEvent() throws Exception {
|
||||
GHEventPayload.Installation event = GitHub.offline()
|
||||
.parseEventPayload(payload.asReader(), GHEventPayload.Installation.class);
|
||||
|
||||
assertThat(event.getAction(), is("deleted"));
|
||||
assertThat(event.getInstallation().getId(), is(2L));
|
||||
assertThat(event.getInstallation().getAccount().getLogin(), is("octocat"));
|
||||
|
||||
assertThat(event.getRepositories().get(0).getId(), is(1296269L));
|
||||
assertThat(event.getRepositories().get(0).getNodeId(), is("MDEwOlJlcG9zaXRvcnkxODY4NTMwMDc="));
|
||||
assertThat(event.getRepositories().get(0).getName(), is("Hello-World"));
|
||||
assertThat(event.getRepositories().get(0).getFullName(), is("octocat/Hello-World"));
|
||||
assertThat(event.getRepositories().get(0).isPrivate(), is(false));
|
||||
|
||||
assertThat(event.getSender().getLogin(), is("octocat"));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,8 +7,6 @@ import org.junit.Test;
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* @author Martin van Zijl
|
||||
*/
|
||||
@@ -23,7 +21,8 @@ public class GHMilestoneTest extends AbstractGitHubWireMockTest {
|
||||
}
|
||||
|
||||
for (GHMilestone milestone : getRepository(getGitHubBeforeAfter()).listMilestones(GHIssueState.ALL)) {
|
||||
if ("Original Title".equals(milestone.getTitle()) || "Updated Title".equals(milestone.getTitle())) {
|
||||
if ("Original Title".equals(milestone.getTitle()) || "Updated Title".equals(milestone.getTitle())
|
||||
|| "Unset Test Milestone".equals(milestone.getTitle())) {
|
||||
milestone.delete();
|
||||
}
|
||||
}
|
||||
@@ -54,6 +53,23 @@ public class GHMilestoneTest extends AbstractGitHubWireMockTest {
|
||||
assertEquals(OUTPUT_DUE_DATE, milestone.getDueOn());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUnsetMilestone() throws IOException {
|
||||
GHRepository repo = getRepository();
|
||||
GHMilestone milestone = repo.createMilestone("Unset Test Milestone", "For testUnsetMilestone");
|
||||
GHIssue issue = repo.createIssue("Issue for testUnsetMilestone").create();
|
||||
|
||||
// set the milestone
|
||||
issue.setMilestone(milestone);
|
||||
issue = repo.getIssue(issue.getNumber()); // force reload
|
||||
assertEquals(milestone.getNumber(), issue.getMilestone().getNumber());
|
||||
|
||||
// remove the milestone
|
||||
issue.setMilestone(null);
|
||||
issue = repo.getIssue(issue.getNumber()); // force reload
|
||||
assertEquals(null, issue.getMilestone());
|
||||
}
|
||||
|
||||
protected GHRepository getRepository() throws IOException {
|
||||
return getRepository(gitHub);
|
||||
}
|
||||
|
||||
@@ -26,6 +26,31 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
|
||||
return gitHub.getOrganization("github-api-test-org").getRepository("github-api");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetters() throws IOException {
|
||||
GHRepository r = getTempRepository();
|
||||
|
||||
assertThat(r.hasAdminAccess(), is(true));
|
||||
assertThat(r.hasDownloads(), is(true));
|
||||
assertThat(r.hasIssues(), is(true));
|
||||
assertThat(r.hasPages(), is(false));
|
||||
assertThat(r.hasProjects(), is(true));
|
||||
assertThat(r.hasPullAccess(), is(true));
|
||||
assertThat(r.hasPushAccess(), is(true));
|
||||
assertThat(r.hasWiki(), is(true));
|
||||
|
||||
assertThat(r.isAllowMergeCommit(), is(true));
|
||||
assertThat(r.isAllowRebaseMerge(), is(true));
|
||||
assertThat(r.isAllowSquashMerge(), is(true));
|
||||
|
||||
String httpTransport = "https://github.com/github-api-test-org/temp-testGetters.git";
|
||||
assertThat(r.getHttpTransportUrl(), equalTo(httpTransport));
|
||||
assertThat(r.gitHttpTransportUrl(), equalTo(httpTransport));
|
||||
|
||||
assertThat(r.getName(), equalTo("temp-testGetters"));
|
||||
assertThat(r.getFullName(), equalTo("github-api-test-org/temp-testGetters"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void archive() throws Exception {
|
||||
snapshotNotAllowed();
|
||||
@@ -274,14 +299,6 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
|
||||
assertTrue(actual.contains("to fix issue"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMergeOptions() throws IOException {
|
||||
GHRepository r = getTempRepository();
|
||||
assertNotNull(r.isAllowMergeCommit());
|
||||
assertNotNull(r.isAllowRebaseMerge());
|
||||
assertNotNull(r.isAllowSquashMerge());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void setMergeOptions() throws IOException {
|
||||
// String repoName = "github-api-test-org/test-mergeoptions";
|
||||
@@ -424,6 +441,14 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
|
||||
assertThat(refs.get(0).getRef(), equalTo("refs/heads/master"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getRefWithPrefix() throws Exception {
|
||||
GHRepository repo = getTempRepository();
|
||||
GHRef refWithoutPrefix = repo.getRef("heads/master");
|
||||
GHRef refWithPrefix = repo.getRef("refs/heads/master");
|
||||
assertThat(refWithoutPrefix.getRef(), equalTo(refWithPrefix.getRef()));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void listRefsHeads() throws Exception {
|
||||
GHRepository repo = getTempRepository();
|
||||
|
||||
@@ -8,8 +8,7 @@ import java.time.temporal.ChronoUnit;
|
||||
import java.util.Date;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.equalTo;
|
||||
import static org.hamcrest.CoreMatchers.not;
|
||||
import static org.hamcrest.CoreMatchers.*;
|
||||
import static org.hamcrest.core.Is.is;
|
||||
|
||||
/**
|
||||
@@ -131,6 +130,32 @@ public class GitHubStaticTest extends AbstractGitHubWireMockTest {
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testMappingReaderWriter() throws Exception {
|
||||
|
||||
// This test ensures that data objects can be written and read in a raw form from string.
|
||||
// This behavior is completely unsupported and should not be used but given that some
|
||||
// clients, such as Jenkins Blue Ocean, have already implemented their own Jackson
|
||||
// Reader and Writer that bind this library's data objects from outside this library
|
||||
// this makes sure they don't break.
|
||||
|
||||
GHRepository repo = getTempRepository();
|
||||
assertThat(repo.root, not(nullValue()));
|
||||
|
||||
String repoString = GitHub.getMappingObjectWriter().writeValueAsString(repo);
|
||||
assertThat(repoString, not(nullValue()));
|
||||
assertThat(repoString, containsString("testMappingReaderWriter"));
|
||||
|
||||
GHRepository readRepo = GitHub.getMappingObjectReader().forType(GHRepository.class).readValue(repoString);
|
||||
|
||||
// This should never happen if these methods aren't used
|
||||
assertThat(readRepo.root, nullValue());
|
||||
|
||||
String readRepoString = GitHub.getMappingObjectWriter().writeValueAsString(readRepo);
|
||||
assertThat(readRepoString, equalTo(repoString));
|
||||
|
||||
}
|
||||
|
||||
static String formatDate(Date dt, String format) {
|
||||
SimpleDateFormat df = new SimpleDateFormat(format);
|
||||
df.setTimeZone(TimeZone.getTimeZone("GMT"));
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"action": "deleted",
|
||||
"installation": {
|
||||
"id": 2,
|
||||
"account": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/installations/2/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/settings/installations/2",
|
||||
"app_id": 5725,
|
||||
"target_id": 3880403,
|
||||
"target_type": "User",
|
||||
"permissions": {
|
||||
"metadata": "read",
|
||||
"contents": "read",
|
||||
"issues": "write"
|
||||
},
|
||||
"events": [
|
||||
"push",
|
||||
"pull_request"
|
||||
],
|
||||
"created_at": 1525109898,
|
||||
"updated_at": 1525109899,
|
||||
"single_file_name": "config.yml"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"id": 1296269,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDc=",
|
||||
"name": "Hello-World",
|
||||
"full_name": "octocat/Hello-World",
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"sender": {
|
||||
"login": "octocat",
|
||||
"id": 1,
|
||||
"node_id": "MDQ6VXNlcjE=",
|
||||
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/octocat",
|
||||
"html_url": "https://github.com/octocat",
|
||||
"followers_url": "https://api.github.com/users/octocat/followers",
|
||||
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/octocat/repos",
|
||||
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"action": "added",
|
||||
"installation": {
|
||||
"id": 957387,
|
||||
"account": {
|
||||
"login": "Codertocat",
|
||||
"id": 21031067,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Codertocat",
|
||||
"html_url": "https://github.com/Codertocat",
|
||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"access_tokens_url": "https://api.github.com/app/installations/957387/access_tokens",
|
||||
"repositories_url": "https://api.github.com/installation/repositories",
|
||||
"html_url": "https://github.com/settings/installations/957387",
|
||||
"app_id": 29310,
|
||||
"target_id": 21031067,
|
||||
"target_type": "User",
|
||||
"permissions": {
|
||||
"administration": "write",
|
||||
"statuses": "write",
|
||||
"repository_projects": "write",
|
||||
"repository_hooks": "write",
|
||||
"pull_requests": "write",
|
||||
"pages": "write",
|
||||
"issues": "write",
|
||||
"deployments": "write",
|
||||
"contents": "write",
|
||||
"checks": "write",
|
||||
"metadata": "read",
|
||||
"vulnerability_alerts": "read"
|
||||
},
|
||||
"events": [
|
||||
|
||||
],
|
||||
"created_at": 1557933591,
|
||||
"updated_at": 1557933591,
|
||||
"single_file_name": null
|
||||
},
|
||||
"repository_selection": "selected",
|
||||
"repositories_added": [
|
||||
{
|
||||
"id": 186853007,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDc=",
|
||||
"name": "Space",
|
||||
"full_name": "Codertocat/Space",
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"repositories_removed": [
|
||||
|
||||
],
|
||||
"sender": {
|
||||
"login": "Codertocat",
|
||||
"id": 21031067,
|
||||
"node_id": "MDQ6VXNlcjIxMDMxMDY3",
|
||||
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Codertocat",
|
||||
"html_url": "https://github.com/Codertocat",
|
||||
"followers_url": "https://api.github.com/users/Codertocat/followers",
|
||||
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
|
||||
"repos_url": "https://api.github.com/users/Codertocat/repos",
|
||||
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"login": "github-api-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"url": "https://api.github.com/orgs/github-api-test-org",
|
||||
"repos_url": "https://api.github.com/orgs/github-api-test-org/repos",
|
||||
"events_url": "https://api.github.com/orgs/github-api-test-org/events",
|
||||
"hooks_url": "https://api.github.com/orgs/github-api-test-org/hooks",
|
||||
"issues_url": "https://api.github.com/orgs/github-api-test-org/issues",
|
||||
"members_url": "https://api.github.com/orgs/github-api-test-org/members{/member}",
|
||||
"public_members_url": "https://api.github.com/orgs/github-api-test-org/public_members{/member}",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4",
|
||||
"description": null,
|
||||
"is_verified": false,
|
||||
"has_organization_projects": true,
|
||||
"has_repository_projects": true,
|
||||
"public_repos": 25,
|
||||
"public_gists": 0,
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"html_url": "https://github.com/github-api-test-org",
|
||||
"created_at": "2014-05-10T19:39:11Z",
|
||||
"updated_at": "2015-04-20T00:42:30Z",
|
||||
"type": "Organization",
|
||||
"total_private_repos": 0,
|
||||
"owned_private_repos": 0,
|
||||
"private_gists": 0,
|
||||
"disk_usage": 147,
|
||||
"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": 0,
|
||||
"filled_seats": 15,
|
||||
"seats": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,332 @@
|
||||
{
|
||||
"id": 206888201,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=",
|
||||
"name": "github-api",
|
||||
"full_name": "github-api-test-org/github-api",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "github-api-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/github-api-test-org",
|
||||
"html_url": "https://github.com/github-api-test-org",
|
||||
"followers_url": "https://api.github.com/users/github-api-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github-api-test-org/github-api",
|
||||
"description": "Tricky",
|
||||
"fork": true,
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api",
|
||||
"forks_url": "https://api.github.com/repos/github-api-test-org/github-api/forks",
|
||||
"keys_url": "https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github-api-test-org/github-api/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github-api-test-org/github-api/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/github-api/events",
|
||||
"assignees_url": "https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github-api-test-org/github-api/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github-api-test-org/github-api/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github-api-test-org/github-api/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github-api-test-org/github-api/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github-api-test-org/github-api/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github-api-test-org/github-api/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/github-api/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github-api-test-org/github-api/merges",
|
||||
"archive_url": "https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github-api-test-org/github-api/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github-api-test-org/github-api/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github-api-test-org/github-api/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github-api-test-org/github-api/deployments",
|
||||
"created_at": "2019-09-06T23:26:04Z",
|
||||
"updated_at": "2020-01-16T21:22:56Z",
|
||||
"pushed_at": "2020-01-18T00:47:43Z",
|
||||
"git_url": "git://github.com/github-api-test-org/github-api.git",
|
||||
"ssh_url": "git@github.com:github-api-test-org/github-api.git",
|
||||
"clone_url": "https://github.com/github-api-test-org/github-api.git",
|
||||
"svn_url": "https://github.com/github-api-test-org/github-api",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 11414,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Java",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 4,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 0,
|
||||
"open_issues": 4,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "github-api-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/github-api-test-org",
|
||||
"html_url": "https://github.com/github-api-test-org",
|
||||
"followers_url": "https://api.github.com/users/github-api-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"parent": {
|
||||
"id": 617210,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=",
|
||||
"name": "github-api",
|
||||
"full_name": "github-api/github-api",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "github-api",
|
||||
"id": 54909825,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github-api",
|
||||
"html_url": "https://github.com/github-api",
|
||||
"followers_url": "https://api.github.com/users/github-api/followers",
|
||||
"following_url": "https://api.github.com/users/github-api/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api/repos",
|
||||
"events_url": "https://api.github.com/users/github-api/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github-api/github-api",
|
||||
"description": "Java API for GitHub",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github-api/github-api",
|
||||
"forks_url": "https://api.github.com/repos/github-api/github-api/forks",
|
||||
"keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github-api/github-api/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github-api/github-api/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github-api/github-api/events",
|
||||
"assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github-api/github-api/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github-api/github-api/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github-api/github-api/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github-api/github-api/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github-api/github-api/merges",
|
||||
"archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github-api/github-api/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github-api/github-api/deployments",
|
||||
"created_at": "2010-04-19T04:13:03Z",
|
||||
"updated_at": "2020-04-03T00:50:10Z",
|
||||
"pushed_at": "2020-04-04T14:50:15Z",
|
||||
"git_url": "git://github.com/github-api/github-api.git",
|
||||
"ssh_url": "git@github.com:github-api/github-api.git",
|
||||
"clone_url": "https://github.com/github-api/github-api.git",
|
||||
"svn_url": "https://github.com/github-api/github-api",
|
||||
"homepage": "https://github-api.kohsuke.org/",
|
||||
"size": 22022,
|
||||
"stargazers_count": 634,
|
||||
"watchers_count": 634,
|
||||
"language": "Java",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 470,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 63,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 470,
|
||||
"open_issues": 63,
|
||||
"watchers": 634,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"source": {
|
||||
"id": 617210,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=",
|
||||
"name": "github-api",
|
||||
"full_name": "github-api/github-api",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "github-api",
|
||||
"id": 54909825,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/github-api",
|
||||
"html_url": "https://github.com/github-api",
|
||||
"followers_url": "https://api.github.com/users/github-api/followers",
|
||||
"following_url": "https://api.github.com/users/github-api/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api/repos",
|
||||
"events_url": "https://api.github.com/users/github-api/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github-api/github-api",
|
||||
"description": "Java API for GitHub",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github-api/github-api",
|
||||
"forks_url": "https://api.github.com/repos/github-api/github-api/forks",
|
||||
"keys_url": "https://api.github.com/repos/github-api/github-api/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github-api/github-api/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github-api/github-api/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github-api/github-api/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github-api/github-api/events",
|
||||
"assignees_url": "https://api.github.com/repos/github-api/github-api/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github-api/github-api/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github-api/github-api/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github-api/github-api/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github-api/github-api/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github-api/github-api/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github-api/github-api/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github-api/github-api/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github-api/github-api/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github-api/github-api/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github-api/github-api/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github-api/github-api/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github-api/github-api/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github-api/github-api/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github-api/github-api/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github-api/github-api/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github-api/github-api/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github-api/github-api/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github-api/github-api/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github-api/github-api/merges",
|
||||
"archive_url": "https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github-api/github-api/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github-api/github-api/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github-api/github-api/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github-api/github-api/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github-api/github-api/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github-api/github-api/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github-api/github-api/deployments",
|
||||
"created_at": "2010-04-19T04:13:03Z",
|
||||
"updated_at": "2020-04-03T00:50:10Z",
|
||||
"pushed_at": "2020-04-04T14:50:15Z",
|
||||
"git_url": "git://github.com/github-api/github-api.git",
|
||||
"ssh_url": "git@github.com:github-api/github-api.git",
|
||||
"clone_url": "https://github.com/github-api/github-api.git",
|
||||
"svn_url": "https://github.com/github-api/github-api",
|
||||
"homepage": "https://github-api.kohsuke.org/",
|
||||
"size": 22022,
|
||||
"stargazers_count": 634,
|
||||
"watchers_count": 634,
|
||||
"language": "Java",
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": true,
|
||||
"forks_count": 470,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 63,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 470,
|
||||
"open_issues": 63,
|
||||
"watchers": 634,
|
||||
"default_branch": "master"
|
||||
},
|
||||
"network_count": 470,
|
||||
"subscribers_count": 0
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368",
|
||||
"repository_url": "https://api.github.com/repos/github-api-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/comments",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/events",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/issues/368",
|
||||
"id": 594244130,
|
||||
"node_id": "MDU6SXNzdWU1OTQyNDQxMzA=",
|
||||
"number": 368,
|
||||
"title": "Issue for testUnsetMilestone",
|
||||
"user": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2020-04-05T04:12:50Z",
|
||||
"updated_at": "2020-04-05T04:12:50Z",
|
||||
"closed_at": null,
|
||||
"author_association": "MEMBER",
|
||||
"body": null,
|
||||
"closed_by": null
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368",
|
||||
"repository_url": "https://api.github.com/repos/github-api-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/comments",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/events",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/issues/368",
|
||||
"id": 594244130,
|
||||
"node_id": "MDU6SXNzdWU1OTQyNDQxMzA=",
|
||||
"number": 368,
|
||||
"title": "Issue for testUnsetMilestone",
|
||||
"user": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": {
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/milestones/1",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/milestone/1",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones/1/labels",
|
||||
"id": 5275434,
|
||||
"node_id": "MDk6TWlsZXN0b25lNTI3NTQzNA==",
|
||||
"number": 1,
|
||||
"title": "Unset Test Milestone",
|
||||
"description": "For testUnsetMilestone",
|
||||
"creator": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"open_issues": 1,
|
||||
"closed_issues": 0,
|
||||
"state": "open",
|
||||
"created_at": "2020-04-05T04:12:49Z",
|
||||
"updated_at": "2020-04-05T04:12:50Z",
|
||||
"due_on": null,
|
||||
"closed_at": null
|
||||
},
|
||||
"comments": 0,
|
||||
"created_at": "2020-04-05T04:12:50Z",
|
||||
"updated_at": "2020-04-05T04:12:50Z",
|
||||
"closed_at": null,
|
||||
"author_association": "MEMBER",
|
||||
"body": null,
|
||||
"closed_by": null
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368",
|
||||
"repository_url": "https://api.github.com/repos/github-api-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/comments",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/events",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/issues/368",
|
||||
"id": 594244130,
|
||||
"node_id": "MDU6SXNzdWU1OTQyNDQxMzA=",
|
||||
"number": 368,
|
||||
"title": "Issue for testUnsetMilestone",
|
||||
"user": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": {
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/milestones/1",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/milestone/1",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones/1/labels",
|
||||
"id": 5275434,
|
||||
"node_id": "MDk6TWlsZXN0b25lNTI3NTQzNA==",
|
||||
"number": 1,
|
||||
"title": "Unset Test Milestone",
|
||||
"description": "For testUnsetMilestone",
|
||||
"creator": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"open_issues": 1,
|
||||
"closed_issues": 0,
|
||||
"state": "open",
|
||||
"created_at": "2020-04-05T04:12:49Z",
|
||||
"updated_at": "2020-04-05T04:12:50Z",
|
||||
"due_on": null,
|
||||
"closed_at": null
|
||||
},
|
||||
"comments": 0,
|
||||
"created_at": "2020-04-05T04:12:50Z",
|
||||
"updated_at": "2020-04-05T04:12:50Z",
|
||||
"closed_at": null,
|
||||
"author_association": "MEMBER",
|
||||
"body": null,
|
||||
"closed_by": null
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368",
|
||||
"repository_url": "https://api.github.com/repos/github-api-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/comments",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/events",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/issues/368",
|
||||
"id": 594244130,
|
||||
"node_id": "MDU6SXNzdWU1OTQyNDQxMzA=",
|
||||
"number": 368,
|
||||
"title": "Issue for testUnsetMilestone",
|
||||
"user": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2020-04-05T04:12:50Z",
|
||||
"updated_at": "2020-04-05T04:12:51Z",
|
||||
"closed_at": null,
|
||||
"author_association": "MEMBER",
|
||||
"body": null,
|
||||
"closed_by": null
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368",
|
||||
"repository_url": "https://api.github.com/repos/github-api-test-org/github-api",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/labels{/name}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/comments",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/github-api/issues/368/events",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/issues/368",
|
||||
"id": 594244130,
|
||||
"node_id": "MDU6SXNzdWU1OTQyNDQxMzA=",
|
||||
"number": 368,
|
||||
"title": "Issue for testUnsetMilestone",
|
||||
"user": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"labels": [],
|
||||
"state": "open",
|
||||
"locked": false,
|
||||
"assignee": null,
|
||||
"assignees": [],
|
||||
"milestone": null,
|
||||
"comments": 0,
|
||||
"created_at": "2020-04-05T04:12:50Z",
|
||||
"updated_at": "2020-04-05T04:12:51Z",
|
||||
"closed_at": null,
|
||||
"author_association": "MEMBER",
|
||||
"body": null,
|
||||
"closed_by": null
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/github-api-test-org/github-api/milestones/1",
|
||||
"html_url": "https://github.com/github-api-test-org/github-api/milestone/1",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/github-api/milestones/1/labels",
|
||||
"id": 5275434,
|
||||
"node_id": "MDk6TWlsZXN0b25lNTI3NTQzNA==",
|
||||
"number": 1,
|
||||
"title": "Unset Test Milestone",
|
||||
"description": "For testUnsetMilestone",
|
||||
"creator": {
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"open_issues": 0,
|
||||
"closed_issues": 0,
|
||||
"state": "open",
|
||||
"created_at": "2020-04-05T04:12:49Z",
|
||||
"updated_at": "2020-04-05T04:12:49Z",
|
||||
"due_on": null,
|
||||
"closed_at": null
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": "Martin van Zijl",
|
||||
"company": null,
|
||||
"blog": "",
|
||||
"location": null,
|
||||
"email": null,
|
||||
"hireable": true,
|
||||
"bio": "My strongest language is C++, but I also know C, Java, Python and SQL.",
|
||||
"public_repos": 15,
|
||||
"public_gists": 0,
|
||||
"followers": 3,
|
||||
"following": 0,
|
||||
"created_at": "2016-12-07T00:18:58Z",
|
||||
"updated_at": "2020-04-05T03:19:50Z"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "0add6197-77cb-4c2e-ba1f-f27c47ec5a54",
|
||||
"name": "orgs_github-api-test-org",
|
||||
"request": {
|
||||
"url": "/orgs/github-api-test-org",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "orgs_github-api-test-org-2.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:48 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4960",
|
||||
"X-RateLimit-Reset": "1586062476",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"25f3c370394361a6164baa51e2437136\"",
|
||||
"Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:3763E2:3EE9D7:5E895ABE"
|
||||
}
|
||||
},
|
||||
"uuid": "0add6197-77cb-4c2e-ba1f-f27c47ec5a54",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "5db09408-86e6-41cf-9c3c-f02c5d384702",
|
||||
"name": "repos_github-api-test-org_github-api",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/github-api",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_github-api-3.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:49 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4959",
|
||||
"X-RateLimit-Reset": "1586062477",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"f70f9c015fa2b5769fb68726e5626916\"",
|
||||
"Last-Modified": "Thu, 16 Jan 2020 21:22:56 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:3763F2:3EEA1A:5E895AC0"
|
||||
}
|
||||
},
|
||||
"uuid": "5db09408-86e6-41cf-9c3c-f02c5d384702",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"id": "b8afb86b-c8b2-45ec-9ea4-775d470669b3",
|
||||
"name": "repos_github-api-test-org_github-api_issues",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/github-api/issues",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"assignees\":[],\"title\":\"Issue for testUnsetMilestone\",\"labels\":[]}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"bodyFileName": "repos_github-api-test-org_github-api_issues-5.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:50 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "201 Created",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4957",
|
||||
"X-RateLimit-Reset": "1586062476",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"69a006d264422a49583ebfb0ffa6a4d2\"",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"Location": "https://api.github.com/repos/github-api-test-org/github-api/issues/368",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:376410:3EEA3E:5E895AC1"
|
||||
}
|
||||
},
|
||||
"uuid": "b8afb86b-c8b2-45ec-9ea4-775d470669b3",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"id": "de40d490-10aa-4a9c-a0ef-2bc4c1c7ccea",
|
||||
"name": "repos_github-api-test-org_github-api_issues_368",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/github-api/issues/368",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"milestone\":1}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_github-api_issues_368-6.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:51 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4956",
|
||||
"X-RateLimit-Reset": "1586062476",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"eeca7474dc0b6117d9f5b64d03c21d14\"",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:376421:3EEA4F:5E895AC2"
|
||||
}
|
||||
},
|
||||
"uuid": "de40d490-10aa-4a9c-a0ef-2bc4c1c7ccea",
|
||||
"persistent": true,
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "2c5be75b-5533-47e9-9911-eadfac6ce62a",
|
||||
"name": "repos_github-api-test-org_github-api_issues_368",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/github-api/issues/368",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_github-api_issues_368-7.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:51 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4955",
|
||||
"X-RateLimit-Reset": "1586062476",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"eeca7474dc0b6117d9f5b64d03c21d14\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 04:12:50 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:37642D:3EEA61:5E895AC3"
|
||||
}
|
||||
},
|
||||
"uuid": "2c5be75b-5533-47e9-9911-eadfac6ce62a",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-github-api-test-org-github-api-issues-368",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-github-api-test-org-github-api-issues-368-2",
|
||||
"insertionIndex": 7
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"id": "360f7d78-206c-44c0-8442-3bdb65b3bee9",
|
||||
"name": "repos_github-api-test-org_github-api_issues_368",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/github-api/issues/368",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"milestone\":null}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_github-api_issues_368-8.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:52 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4954",
|
||||
"X-RateLimit-Reset": "1586062476",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"0227fb592a36d2fbf90846648d050739\"",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:376438:3EEA69:5E895AC3"
|
||||
}
|
||||
},
|
||||
"uuid": "360f7d78-206c-44c0-8442-3bdb65b3bee9",
|
||||
"persistent": true,
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "a1754b36-909b-4f49-bab3-baa2fda219b6",
|
||||
"name": "repos_github-api-test-org_github-api_issues_368",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/github-api/issues/368",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_github-api_issues_368-9.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:52 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4953",
|
||||
"X-RateLimit-Reset": "1586062476",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"0227fb592a36d2fbf90846648d050739\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 04:12:51 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:376444:3EEA7A:5E895AC4"
|
||||
}
|
||||
},
|
||||
"uuid": "a1754b36-909b-4f49-bab3-baa2fda219b6",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-github-api-test-org-github-api-issues-368",
|
||||
"requiredScenarioState": "scenario-1-repos-github-api-test-org-github-api-issues-368-2",
|
||||
"insertionIndex": 9
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"id": "ae26042c-8183-4aa0-ae61-31a3cdc405b3",
|
||||
"name": "repos_github-api-test-org_github-api_milestones",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/github-api/milestones",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"description\":\"For testUnsetMilestone\",\"title\":\"Unset Test Milestone\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"bodyFileName": "repos_github-api-test-org_github-api_milestones-4.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:49 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "201 Created",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4958",
|
||||
"X-RateLimit-Reset": "1586062476",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"ce0223ff2b8df9b4c1d9d8c3836eec06\"",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"Location": "https://api.github.com/repos/github-api-test-org/github-api/milestones/1",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:376400:3EEA2B:5E895AC1"
|
||||
}
|
||||
},
|
||||
"uuid": "ae26042c-8183-4aa0-ae61-31a3cdc405b3",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "ed8d65ef-b07b-4911-a644-62c833a31fc2",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 04:12:46 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4965",
|
||||
"X-RateLimit-Reset": "1586062477",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1897f380310d09efda5bcab7775c207d\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 03:19:50 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "8F8C:6DE8:3763AD:3EE9CD:5E895ABD"
|
||||
}
|
||||
},
|
||||
"uuid": "ed8d65ef-b07b-4911-a644-62c833a31fc2",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 253282149,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyNTMyODIxNDk=",
|
||||
"name": "temp-getRefWithPrefix",
|
||||
"full_name": "github-api-test-org/temp-getRefWithPrefix",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "github-api-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/github-api-test-org",
|
||||
"html_url": "https://github.com/github-api-test-org",
|
||||
"followers_url": "https://api.github.com/users/github-api-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github-api-test-org/temp-getRefWithPrefix",
|
||||
"description": "A test repository for testing the github-api project: temp-getRefWithPrefix",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix",
|
||||
"forks_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/forks",
|
||||
"keys_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/events",
|
||||
"assignees_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/merges",
|
||||
"archive_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/deployments",
|
||||
"created_at": "2020-04-05T16:39:17Z",
|
||||
"updated_at": "2020-04-05T16:39:21Z",
|
||||
"pushed_at": "2020-04-05T16:39:19Z",
|
||||
"git_url": "git://github.com/github-api-test-org/temp-getRefWithPrefix.git",
|
||||
"ssh_url": "git@github.com:github-api-test-org/temp-getRefWithPrefix.git",
|
||||
"clone_url": "https://github.com/github-api-test-org/temp-getRefWithPrefix.git",
|
||||
"svn_url": "https://github.com/github-api-test-org/temp-getRefWithPrefix",
|
||||
"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": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "github-api-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/github-api-test-org",
|
||||
"html_url": "https://github.com/github-api-test-org",
|
||||
"followers_url": "https://api.github.com/users/github-api-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ref": "refs/heads/master",
|
||||
"node_id": "MDM6UmVmMjUzMjgyMTQ5Om1hc3Rlcg==",
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/refs/heads/master",
|
||||
"object": {
|
||||
"sha": "6d0ef2a84df4eb5222d9d1ff14203713f1833771",
|
||||
"type": "commit",
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/commits/6d0ef2a84df4eb5222d9d1ff14203713f1833771"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"ref": "refs/heads/master",
|
||||
"node_id": "MDM6UmVmMjUzMjgyMTQ5Om1hc3Rlcg==",
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/refs/heads/master",
|
||||
"object": {
|
||||
"sha": "6d0ef2a84df4eb5222d9d1ff14203713f1833771",
|
||||
"type": "commit",
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-getRefWithPrefix/git/commits/6d0ef2a84df4eb5222d9d1ff14203713f1833771"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"login": "martinvanzijl",
|
||||
"id": 24422213,
|
||||
"node_id": "MDQ6VXNlcjI0NDIyMjEz",
|
||||
"avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/martinvanzijl",
|
||||
"html_url": "https://github.com/martinvanzijl",
|
||||
"followers_url": "https://api.github.com/users/martinvanzijl/followers",
|
||||
"following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/martinvanzijl/orgs",
|
||||
"repos_url": "https://api.github.com/users/martinvanzijl/repos",
|
||||
"events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/martinvanzijl/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": "Martin van Zijl",
|
||||
"company": null,
|
||||
"blog": "",
|
||||
"location": null,
|
||||
"email": null,
|
||||
"hireable": true,
|
||||
"bio": "My strongest language is C++, but I also know C, Java, Python and SQL.",
|
||||
"public_repos": 15,
|
||||
"public_gists": 0,
|
||||
"followers": 3,
|
||||
"following": 0,
|
||||
"created_at": "2016-12-07T00:18:58Z",
|
||||
"updated_at": "2020-04-05T03:19:50Z"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "21815889-8806-4388-8794-8d1c45a4331c",
|
||||
"name": "repos_github-api-test-org_temp-getrefwithprefix",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/temp-getRefWithPrefix",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_temp-getrefwithprefix-2.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 16:39:23 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4807",
|
||||
"X-RateLimit-Reset": "1586107929",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"627ee081300bc1b81768415662402fb4\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 16:39:21 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "B856:3D6D:513335:5C5706:5E8A09B4"
|
||||
}
|
||||
},
|
||||
"uuid": "21815889-8806-4388-8794-8d1c45a4331c",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "376d4598-61d9-4379-bd13-16a70c8b49ac",
|
||||
"name": "repos_github-api-test-org_temp-getrefwithprefix_git_refs_heads_master",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/temp-getRefWithPrefix/git/refs/heads/master",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_temp-getrefwithprefix_git_refs_heads_master-3.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 16:39:23 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4806",
|
||||
"X-RateLimit-Reset": "1586107929",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"94a0e0fde791301d3625ecb33739e457\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 16:39:21 GMT",
|
||||
"X-Poll-Interval": "300",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "B856:3D6D:513345:5C5868:5E8A09BB"
|
||||
}
|
||||
},
|
||||
"uuid": "376d4598-61d9-4379-bd13-16a70c8b49ac",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-github-api-test-org-temp-getRefWithPrefix-git-refs-heads-master",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-github-api-test-org-temp-getRefWithPrefix-git-refs-heads-master-2",
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "10ebc76b-e6fe-4b0c-b544-55730bee8809",
|
||||
"name": "repos_github-api-test-org_temp-getrefwithprefix_git_refs_heads_master",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/temp-getRefWithPrefix/git/refs/heads/master",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_temp-getrefwithprefix_git_refs_heads_master-4.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 16:39:24 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4805",
|
||||
"X-RateLimit-Reset": "1586107930",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"94a0e0fde791301d3625ecb33739e457\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 16:39:21 GMT",
|
||||
"X-Poll-Interval": "300",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "B856:3D6D:513353:5C5876:5E8A09BB"
|
||||
}
|
||||
},
|
||||
"uuid": "10ebc76b-e6fe-4b0c-b544-55730bee8809",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-github-api-test-org-temp-getRefWithPrefix-git-refs-heads-master",
|
||||
"requiredScenarioState": "scenario-1-repos-github-api-test-org-temp-getRefWithPrefix-git-refs-heads-master-2",
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "06d4bd1a-8415-401c-b3a5-efd5fe6e19e8",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Date": "Sun, 05 Apr 2020 16:39:16 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4812",
|
||||
"X-RateLimit-Reset": "1586107929",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1897f380310d09efda5bcab7775c207d\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 03:19:50 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:repo_hook, delete_repo, gist, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "B856:3D6D:5131E3:5C56F7:5E8A09B4"
|
||||
}
|
||||
},
|
||||
"uuid": "06d4bd1a-8415-401c-b3a5-efd5fe6e19e8",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": 214018468,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyMTQwMTg0Njg=",
|
||||
"name": "temp-getMergeOptions",
|
||||
"full_name": "github-api-test-org/temp-getMergeOptions",
|
||||
"id": 253555338,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyNTM1NTUzMzg=",
|
||||
"name": "temp-testGetters",
|
||||
"full_name": "github-api-test-org/temp-testGetters",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "github-api-test-org",
|
||||
@@ -24,53 +24,53 @@
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github-api-test-org/temp-getMergeOptions",
|
||||
"description": "A test repository for testing the github-api project: temp-getMergeOptions",
|
||||
"html_url": "https://github.com/github-api-test-org/temp-testGetters",
|
||||
"description": "A test repository for testing the github-api project: temp-testGetters",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions",
|
||||
"forks_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/forks",
|
||||
"keys_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/events",
|
||||
"assignees_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/merges",
|
||||
"archive_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github-api-test-org/temp-getMergeOptions/deployments",
|
||||
"created_at": "2019-10-09T20:35:11Z",
|
||||
"updated_at": "2019-10-09T20:35:16Z",
|
||||
"pushed_at": "2019-10-09T20:35:13Z",
|
||||
"git_url": "git://github.com/github-api-test-org/temp-getMergeOptions.git",
|
||||
"ssh_url": "git@github.com:github-api-test-org/temp-getMergeOptions.git",
|
||||
"clone_url": "https://github.com/github-api-test-org/temp-getMergeOptions.git",
|
||||
"svn_url": "https://github.com/github-api-test-org/temp-getMergeOptions",
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-testGetters",
|
||||
"forks_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/forks",
|
||||
"keys_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/events",
|
||||
"assignees_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/merges",
|
||||
"archive_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github-api-test-org/temp-testGetters/deployments",
|
||||
"created_at": "2020-04-06T16:31:08Z",
|
||||
"updated_at": "2020-04-06T16:31:12Z",
|
||||
"pushed_at": "2020-04-06T16:31:10Z",
|
||||
"git_url": "git://github.com/github-api-test-org/temp-testGetters.git",
|
||||
"ssh_url": "git@github.com:github-api-test-org/temp-testGetters.git",
|
||||
"clone_url": "https://github.com/github-api-test-org/temp-testGetters.git",
|
||||
"svn_url": "https://github.com/github-api-test-org/temp-testGetters",
|
||||
"homepage": "http://github-api.kohsuke.org/",
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
@@ -96,9 +96,11 @@
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "github-api-test-org",
|
||||
"id": 7544739,
|
||||
@@ -120,5 +122,5 @@
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 4
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -24,14 +24,14 @@
|
||||
"email": "bitwiseman@gmail.com",
|
||||
"hireable": null,
|
||||
"bio": "https://twitter.com/bitwiseman",
|
||||
"public_repos": 168,
|
||||
"public_gists": 5,
|
||||
"followers": 136,
|
||||
"public_repos": 181,
|
||||
"public_gists": 7,
|
||||
"followers": 153,
|
||||
"following": 9,
|
||||
"created_at": "2012-07-11T20:38:33Z",
|
||||
"updated_at": "2019-09-24T19:32:29Z",
|
||||
"private_gists": 7,
|
||||
"total_private_repos": 9,
|
||||
"updated_at": "2020-04-05T15:30:16Z",
|
||||
"private_gists": 8,
|
||||
"total_private_repos": 10,
|
||||
"owned_private_repos": 0,
|
||||
"disk_usage": 33697,
|
||||
"collaborators": 0,
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "cb893c1a-1c74-4838-b473-342f8c2b8262",
|
||||
"name": "repos_github-api-test-org_temp-getmergeoptions",
|
||||
"id": "51e75a28-dbf0-40f0-bd3b-05744a48112f",
|
||||
"name": "repos_github-api-test-org_temp-testgetters",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/temp-getMergeOptions",
|
||||
"url": "/repos/github-api-test-org/temp-testGetters",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
@@ -12,37 +12,35 @@
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_temp-getmergeoptions-2.json",
|
||||
"bodyFileName": "repos_github-api-test-org_temp-testgetters-2.json",
|
||||
"headers": {
|
||||
"Date": "Wed, 09 Oct 2019 20:35:17 GMT",
|
||||
"Date": "Mon, 06 Apr 2020 16:31:13 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4779",
|
||||
"X-RateLimit-Reset": "1570656117",
|
||||
"X-RateLimit-Remaining": "4946",
|
||||
"X-RateLimit-Reset": "1586193591",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding"
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"8cf8d178089529a31ec118053dfb2e26\"",
|
||||
"Last-Modified": "Wed, 09 Oct 2019 20:35:16 GMT",
|
||||
"ETag": "W/\"907cf28e782c79c9642ee5220a601c46\"",
|
||||
"Last-Modified": "Mon, 06 Apr 2020 16:31:12 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"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": "CC9F:3044:A907C9:1358197:5D9E447F"
|
||||
"X-GitHub-Request-Id": "C0E8:741A:38FD8:45614:5E8B594B"
|
||||
}
|
||||
},
|
||||
"uuid": "cb893c1a-1c74-4838-b473-342f8c2b8262",
|
||||
"uuid": "51e75a28-dbf0-40f0-bd3b-05744a48112f",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "5d8fe237-9241-4331-8808-0ca2781e48be",
|
||||
"id": "4594ed8b-ad86-46e5-bdce-92a0089e4cef",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
@@ -14,35 +14,33 @@
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Date": "Wed, 09 Oct 2019 20:35:11 GMT",
|
||||
"Date": "Mon, 06 Apr 2020 16:31:07 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4787",
|
||||
"X-RateLimit-Reset": "1570656117",
|
||||
"X-RateLimit-Remaining": "4951",
|
||||
"X-RateLimit-Reset": "1586193591",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding"
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"f10545b81d574e5b3170d6ee67e622c7\"",
|
||||
"Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT",
|
||||
"ETag": "W/\"2bd6b233a833d556f43f68fd5daa36d6\"",
|
||||
"Last-Modified": "Sun, 05 Apr 2020 15:30:16 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"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": "CC9F:3044:A90701:135818B:5D9E447E"
|
||||
"X-GitHub-Request-Id": "C0E8:741A:38F4E:45610:5E8B594B"
|
||||
}
|
||||
},
|
||||
"uuid": "5d8fe237-9241-4331-8808-0ca2781e48be",
|
||||
"uuid": "4594ed8b-ad86-46e5-bdce-92a0089e4cef",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"id": 256061594,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkyNTYwNjE1OTQ=",
|
||||
"name": "temp-testMappingReaderWriter",
|
||||
"full_name": "github-api-test-org/temp-testMappingReaderWriter",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "github-api-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/github-api-test-org",
|
||||
"html_url": "https://github.com/github-api-test-org",
|
||||
"followers_url": "https://api.github.com/users/github-api-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/github-api-test-org/temp-testMappingReaderWriter",
|
||||
"description": "A test repository for testing the github-api project: temp-testMappingReaderWriter",
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter",
|
||||
"forks_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/forks",
|
||||
"keys_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/teams",
|
||||
"hooks_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/events",
|
||||
"assignees_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/tags",
|
||||
"blobs_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/subscription",
|
||||
"commits_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/merges",
|
||||
"archive_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/downloads",
|
||||
"issues_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/github-api-test-org/temp-testMappingReaderWriter/deployments",
|
||||
"created_at": "2020-04-15T23:38:53Z",
|
||||
"updated_at": "2020-04-15T23:38:58Z",
|
||||
"pushed_at": "2020-04-15T23:38:55Z",
|
||||
"git_url": "git://github.com/github-api-test-org/temp-testMappingReaderWriter.git",
|
||||
"ssh_url": "git@github.com:github-api-test-org/temp-testMappingReaderWriter.git",
|
||||
"clone_url": "https://github.com/github-api-test-org/temp-testMappingReaderWriter.git",
|
||||
"svn_url": "https://github.com/github-api-test-org/temp-testMappingReaderWriter",
|
||||
"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": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "github-api-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/github-api-test-org",
|
||||
"html_url": "https://github.com/github-api-test-org",
|
||||
"followers_url": "https://api.github.com/users/github-api-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/github-api-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/github-api-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/github-api-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/github-api-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/github-api-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/github-api-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/github-api-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 7
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"login": "bitwiseman",
|
||||
"id": 1958953,
|
||||
"node_id": "MDQ6VXNlcjE5NTg5NTM=",
|
||||
"avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/bitwiseman",
|
||||
"html_url": "https://github.com/bitwiseman",
|
||||
"followers_url": "https://api.github.com/users/bitwiseman/followers",
|
||||
"following_url": "https://api.github.com/users/bitwiseman/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/bitwiseman/orgs",
|
||||
"repos_url": "https://api.github.com/users/bitwiseman/repos",
|
||||
"events_url": "https://api.github.com/users/bitwiseman/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/bitwiseman/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"name": "Liam Newman",
|
||||
"company": "Cloudbees, Inc.",
|
||||
"blog": "",
|
||||
"location": "Seattle, WA, USA",
|
||||
"email": "bitwiseman@gmail.com",
|
||||
"hireable": null,
|
||||
"bio": "https://twitter.com/bitwiseman",
|
||||
"public_repos": 181,
|
||||
"public_gists": 7,
|
||||
"followers": 156,
|
||||
"following": 9,
|
||||
"created_at": "2012-07-11T20:38:33Z",
|
||||
"updated_at": "2020-04-14T20:00:03Z",
|
||||
"private_gists": 8,
|
||||
"total_private_repos": 10,
|
||||
"owned_private_repos": 0,
|
||||
"disk_usage": 33697,
|
||||
"collaborators": 0,
|
||||
"two_factor_authentication": true,
|
||||
"plan": {
|
||||
"name": "free",
|
||||
"space": 976562499,
|
||||
"collaborators": 0,
|
||||
"private_repos": 10000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "de382884-bcbf-4c2e-9ae0-176f926dcb0d",
|
||||
"name": "repos_github-api-test-org_temp-testmappingreaderwriter",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/temp-testMappingReaderWriter",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_github-api-test-org_temp-testmappingreaderwriter-2.json",
|
||||
"headers": {
|
||||
"Date": "Wed, 15 Apr 2020 23:38:59 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4948",
|
||||
"X-RateLimit-Reset": "1586996337",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"f24612ba790ffe0f1925c048a05e0f76\"",
|
||||
"Last-Modified": "Wed, 15 Apr 2020 23:38:58 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "F3AE:08E3:30A82:3B66F:5E979B0C"
|
||||
}
|
||||
},
|
||||
"uuid": "de382884-bcbf-4c2e-9ae0-176f926dcb0d",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "ab96e191-face-4ca5-a7a2-73b552c74559",
|
||||
"name": "repos_github-api-test-org_temp-testmappingreaderwriter_hooks",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/temp-testMappingReaderWriter/hooks",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "[]",
|
||||
"headers": {
|
||||
"Date": "Wed, 15 Apr 2020 23:38:59 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4947",
|
||||
"X-RateLimit-Reset": "1586996337",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"c2ec59aeeea67fff8edf681155a22565\"",
|
||||
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
|
||||
"X-Accepted-OAuth-Scopes": "admin:repo_hook, public_repo, read:repo_hook, repo, write:repo_hook",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "F3AE:08E3:30A85:3B709:5E979B13"
|
||||
}
|
||||
},
|
||||
"uuid": "ab96e191-face-4ca5-a7a2-73b552c74559",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-github-api-test-org-temp-testMappingReaderWriter-hooks",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-github-api-test-org-temp-testMappingReaderWriter-hooks-2",
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "d823b1ff-b674-4367-9d0e-7ac896c8e031",
|
||||
"name": "repos_github-api-test-org_temp-testmappingreaderwriter_hooks",
|
||||
"request": {
|
||||
"url": "/repos/github-api-test-org/temp-testMappingReaderWriter/hooks",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"body": "[]",
|
||||
"headers": {
|
||||
"Date": "Wed, 15 Apr 2020 23:38:59 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4946",
|
||||
"X-RateLimit-Reset": "1586996336",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"c2ec59aeeea67fff8edf681155a22565\"",
|
||||
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
|
||||
"X-Accepted-OAuth-Scopes": "admin:repo_hook, public_repo, read:repo_hook, repo, write:repo_hook",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "F3AE:08E3:30A88:3B70E:5E979B13"
|
||||
}
|
||||
},
|
||||
"uuid": "d823b1ff-b674-4367-9d0e-7ac896c8e031",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-github-api-test-org-temp-testMappingReaderWriter-hooks",
|
||||
"requiredScenarioState": "scenario-1-repos-github-api-test-org-temp-testMappingReaderWriter-hooks-2",
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"id": "71089e3f-b552-4970-b83c-d5789b14007b",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Date": "Wed, 15 Apr 2020 23:38:52 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Server": "GitHub.com",
|
||||
"Status": "200 OK",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4953",
|
||||
"X-RateLimit-Reset": "1586996337",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1b9c035d6effae6b189e5afe6994d306\"",
|
||||
"Last-Modified": "Tue, 14 Apr 2020 20:00:03 GMT",
|
||||
"X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"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": "F3AE:08E3:30A06:3B66C:5E979B0C"
|
||||
}
|
||||
},
|
||||
"uuid": "71089e3f-b552-4970-b83c-d5789b14007b",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
Reference in New Issue
Block a user