mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Adds test for update
This commit is contained in:
@@ -4,8 +4,7 @@ import org.junit.Test;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import static org.hamcrest.Matchers.is;
|
||||
import static org.hamcrest.Matchers.notNullValue;
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.junit.Assert.assertThrows;
|
||||
|
||||
public class GHReleaseTest extends AbstractGitHubWireMockTest {
|
||||
@@ -14,38 +13,47 @@ public class GHReleaseTest extends AbstractGitHubWireMockTest {
|
||||
public void testCreateSimpleRelease() throws Exception {
|
||||
GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease");
|
||||
|
||||
String tagName = UUID.randomUUID().toString();
|
||||
String releaseName = "release-" + tagName;
|
||||
|
||||
String tagName = mockGitHub.getMethodName();
|
||||
GHRelease release = repo.createRelease(tagName)
|
||||
.name(releaseName)
|
||||
.categoryName("announcements")
|
||||
.prerelease(false)
|
||||
.create();
|
||||
|
||||
GHRelease releaseCheck = repo.getRelease(release.getId());
|
||||
|
||||
assertThat(releaseCheck, notNullValue());
|
||||
assertThat(releaseCheck.getTagName(), is(tagName));
|
||||
assertThat(releaseCheck.isPrerelease(), is(false));
|
||||
try{
|
||||
assertThat(releaseCheck, notNullValue());
|
||||
assertThat(releaseCheck.getTagName(), is(tagName));
|
||||
assertThat(releaseCheck.isPrerelease(), is(false));
|
||||
}
|
||||
finally {
|
||||
release.delete();
|
||||
assertThat(repo.getRelease(release.getId()), nullValue());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreateDoubleReleaseFails() throws Exception {
|
||||
GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease");
|
||||
|
||||
String tagName = UUID.randomUUID().toString();
|
||||
String releaseName = "release-" + tagName;
|
||||
String tagName = mockGitHub.getMethodName();
|
||||
|
||||
GHRelease release = repo.createRelease(tagName).name(releaseName).create();
|
||||
GHRelease releaseCheck = repo.getRelease(release.getId());
|
||||
assertThat(releaseCheck, notNullValue());
|
||||
GHRelease release = repo.createRelease(tagName).create();
|
||||
|
||||
HttpException httpException = assertThrows(HttpException.class, () -> {
|
||||
repo.createRelease(tagName).name(releaseName).create();
|
||||
});
|
||||
try{
|
||||
GHRelease releaseCheck = repo.getRelease(release.getId());
|
||||
assertThat(releaseCheck, notNullValue());
|
||||
|
||||
assertThat(httpException.getResponseCode(), is(422));
|
||||
HttpException httpException = assertThrows(HttpException.class, () -> {
|
||||
repo.createRelease(tagName).create();
|
||||
});
|
||||
|
||||
assertThat(httpException.getResponseCode(), is(422));
|
||||
}
|
||||
finally{
|
||||
release.delete();
|
||||
assertThat(repo.getRelease(release.getId()), nullValue());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -64,4 +72,34 @@ public class GHReleaseTest extends AbstractGitHubWireMockTest {
|
||||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUpdateRelease() throws Exception {
|
||||
GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease");
|
||||
|
||||
String tagName = mockGitHub.getMethodName();
|
||||
GHRelease release = repo.createRelease(tagName)
|
||||
.categoryName("announcements")
|
||||
.prerelease(true)
|
||||
.create();
|
||||
|
||||
GHRelease releaseCheck = repo.getRelease(release.getId());
|
||||
GHRelease updateCheck = releaseCheck.update().prerelease(false).update();
|
||||
|
||||
try{
|
||||
assertThat(releaseCheck, notNullValue());
|
||||
assertThat(releaseCheck.getTagName(), is(tagName));
|
||||
assertThat(releaseCheck.isPrerelease(), is(true));
|
||||
|
||||
|
||||
assertThat(updateCheck, notNullValue());
|
||||
assertThat(updateCheck.getTagName(), is(tagName));
|
||||
assertThat(updateCheck.isPrerelease(), is(false));
|
||||
}
|
||||
finally {
|
||||
release.delete();
|
||||
assertThat(repo.getRelease(releaseCheck.getId()), nullValue());
|
||||
assertThat(repo.getRelease(updateCheck.getId()), nullValue());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"id": 375534019,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNzU1MzQwMTk=",
|
||||
"name": "testCreateRelease",
|
||||
"full_name": "hub4j-test-org/testCreateRelease",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/deployments",
|
||||
"created_at": "2021-06-10T01:25:59Z",
|
||||
"updated_at": "2021-06-10T01:31:14Z",
|
||||
"pushed_at": "2021-06-11T06:56:52Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/testCreateRelease.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/testCreateRelease.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/testCreateRelease.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/testCreateRelease",
|
||||
"homepage": null,
|
||||
"size": 11948,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Java",
|
||||
"has_issues": false,
|
||||
"has_projects": false,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460489",
|
||||
"assets_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460489/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460489/assets{?name,label}",
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease/releases/tag/testCreateDoubleReleaseFails",
|
||||
"id": 44460489,
|
||||
"author": {
|
||||
"login": "jlengrand",
|
||||
"id": 921666,
|
||||
"node_id": "MDQ6VXNlcjkyMTY2Ng==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jlengrand",
|
||||
"html_url": "https://github.com/jlengrand",
|
||||
"followers_url": "https://api.github.com/users/jlengrand/followers",
|
||||
"following_url": "https://api.github.com/users/jlengrand/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jlengrand/orgs",
|
||||
"repos_url": "https://api.github.com/users/jlengrand/repos",
|
||||
"events_url": "https://api.github.com/users/jlengrand/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jlengrand/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"node_id": "MDc6UmVsZWFzZTQ0NDYwNDg5",
|
||||
"tag_name": "testCreateDoubleReleaseFails",
|
||||
"target_commitish": "main",
|
||||
"name": null,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"created_at": "2021-06-02T21:59:14Z",
|
||||
"published_at": "2021-06-11T07:05:00Z",
|
||||
"assets": [],
|
||||
"tarball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tarball/testCreateDoubleReleaseFails",
|
||||
"zipball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/zipball/testCreateDoubleReleaseFails",
|
||||
"body": null
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460489",
|
||||
"assets_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460489/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460489/assets{?name,label}",
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease/releases/tag/testCreateDoubleReleaseFails",
|
||||
"id": 44460489,
|
||||
"author": {
|
||||
"login": "jlengrand",
|
||||
"id": 921666,
|
||||
"node_id": "MDQ6VXNlcjkyMTY2Ng==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jlengrand",
|
||||
"html_url": "https://github.com/jlengrand",
|
||||
"followers_url": "https://api.github.com/users/jlengrand/followers",
|
||||
"following_url": "https://api.github.com/users/jlengrand/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jlengrand/orgs",
|
||||
"repos_url": "https://api.github.com/users/jlengrand/repos",
|
||||
"events_url": "https://api.github.com/users/jlengrand/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jlengrand/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"node_id": "MDc6UmVsZWFzZTQ0NDYwNDg5",
|
||||
"tag_name": "testCreateDoubleReleaseFails",
|
||||
"target_commitish": "main",
|
||||
"name": null,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"created_at": "2021-06-02T21:59:14Z",
|
||||
"published_at": "2021-06-11T07:05:00Z",
|
||||
"assets": [],
|
||||
"tarball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tarball/testCreateDoubleReleaseFails",
|
||||
"zipball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/zipball/testCreateDoubleReleaseFails",
|
||||
"body": null
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "0db03aa5-b253-4c7b-a88c-be8b9027d0fb",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:04:59 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"de954bc365c835a2cea1cff19b80e4ab637089a5abadc8e6a22e6af5d00a28b7\"",
|
||||
"Last-Modified": "Thu, 10 Jun 2021 01:31:14 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4994",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "6",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E687:A57F:1F1412C:1FB700E:60C30B1B"
|
||||
}
|
||||
},
|
||||
"uuid": "0db03aa5-b253-4c7b-a88c-be8b9027d0fb",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"id": "7ca37ba3-c5b3-4c37-8590-46610325fc1c",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"tag_name\":\"testCreateDoubleReleaseFails\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease_releases-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:05:00 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"1abc54330badd89bb2fb1b3c95846e2a9bf84da1c8618f66614fad4460f52dc5\"",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4993",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "7",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E688:E6B8:79DF6A:7E42B9:60C30B1C",
|
||||
"Location": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460489"
|
||||
}
|
||||
},
|
||||
"uuid": "7ca37ba3-c5b3-4c37-8590-46610325fc1c",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-2",
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "6494df7f-761b-4199-8f09-b6de3a61f5cd",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"tag_name\":\"testCreateDoubleReleaseFails\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 422,
|
||||
"body": "{\"message\":\"Validation Failed\",\"errors\":[{\"resource\":\"Release\",\"code\":\"already_exists\",\"field\":\"tag_name\"}],\"documentation_url\":\"https://docs.github.com/rest/reference/repos#create-a-release\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:05:01 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4991",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "9",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E68A:A4AB:35F992B:3743C1F:60C30B1D"
|
||||
}
|
||||
},
|
||||
"uuid": "6494df7f-761b-4199-8f09-b6de3a61f5cd",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-2",
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "e69f369e-7797-4046-b57c-d3c0bc2c7001",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44460489",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44460489",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease_releases_44460489-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:05:01 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"1abc54330badd89bb2fb1b3c95846e2a9bf84da1c8618f66614fad4460f52dc5\"",
|
||||
"Last-Modified": "Fri, 11 Jun 2021 07:05:00 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4992",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "8",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E689:621F:F0A6B9:F5F283:60C30B1C"
|
||||
}
|
||||
},
|
||||
"uuid": "e69f369e-7797-4046-b57c-d3c0bc2c7001",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-hub4j-test-org-testCreateRelease-releases-44460489",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-2-repos-hub4j-test-org-testCreateRelease-releases-44460489-2",
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"id": "bf611d1a-423e-40ea-84e4-75e4877f3ca9",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44460489",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44460489",
|
||||
"method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:05:02 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4990",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "10",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E68B:2A60:FAB51A:10026C5:60C30B1D"
|
||||
}
|
||||
},
|
||||
"uuid": "bf611d1a-423e-40ea-84e4-75e4877f3ca9",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": "7ec138a8-47d9-498d-932d-19f632314ef2",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44460489",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44460489",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 404,
|
||||
"body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#get-a-release\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:05:02 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4989",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "11",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E68C:E6B6:148069:17FBD1:60C30B1E"
|
||||
}
|
||||
},
|
||||
"uuid": "7ec138a8-47d9-498d-932d-19f632314ef2",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-hub4j-test-org-testCreateRelease-releases-44460489",
|
||||
"requiredScenarioState": "scenario-2-repos-hub4j-test-org-testCreateRelease-releases-44460489-2",
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"id": 375534019,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNzU1MzQwMTk=",
|
||||
"name": "testCreateRelease",
|
||||
"full_name": "hub4j-test-org/testCreateRelease",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/deployments",
|
||||
"created_at": "2021-06-10T01:25:59Z",
|
||||
"updated_at": "2021-06-10T01:31:14Z",
|
||||
"pushed_at": "2021-06-10T16:14:27Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/testCreateRelease.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/testCreateRelease.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/testCreateRelease.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/testCreateRelease",
|
||||
"homepage": null,
|
||||
"size": 11948,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Java",
|
||||
"has_issues": false,
|
||||
"has_projects": false,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460162",
|
||||
"assets_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460162/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460162/assets{?name,label}",
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease/releases/tag/testCreateSimpleRelease",
|
||||
"id": 44460162,
|
||||
"author": {
|
||||
"login": "jlengrand",
|
||||
"id": 921666,
|
||||
"node_id": "MDQ6VXNlcjkyMTY2Ng==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jlengrand",
|
||||
"html_url": "https://github.com/jlengrand",
|
||||
"followers_url": "https://api.github.com/users/jlengrand/followers",
|
||||
"following_url": "https://api.github.com/users/jlengrand/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jlengrand/orgs",
|
||||
"repos_url": "https://api.github.com/users/jlengrand/repos",
|
||||
"events_url": "https://api.github.com/users/jlengrand/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jlengrand/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"node_id": "MDc6UmVsZWFzZTQ0NDYwMTYy",
|
||||
"tag_name": "testCreateSimpleRelease",
|
||||
"target_commitish": "main",
|
||||
"name": null,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"created_at": "2021-06-02T21:59:14Z",
|
||||
"published_at": "2021-06-11T06:56:52Z",
|
||||
"assets": [],
|
||||
"tarball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tarball/testCreateSimpleRelease",
|
||||
"zipball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/zipball/testCreateSimpleRelease",
|
||||
"body": null,
|
||||
"discussion_url": "https://github.com/hub4j-test-org/testCreateRelease/discussions/6"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460162",
|
||||
"assets_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460162/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460162/assets{?name,label}",
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease/releases/tag/testCreateSimpleRelease",
|
||||
"id": 44460162,
|
||||
"author": {
|
||||
"login": "jlengrand",
|
||||
"id": 921666,
|
||||
"node_id": "MDQ6VXNlcjkyMTY2Ng==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jlengrand",
|
||||
"html_url": "https://github.com/jlengrand",
|
||||
"followers_url": "https://api.github.com/users/jlengrand/followers",
|
||||
"following_url": "https://api.github.com/users/jlengrand/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jlengrand/orgs",
|
||||
"repos_url": "https://api.github.com/users/jlengrand/repos",
|
||||
"events_url": "https://api.github.com/users/jlengrand/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jlengrand/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"node_id": "MDc6UmVsZWFzZTQ0NDYwMTYy",
|
||||
"tag_name": "testCreateSimpleRelease",
|
||||
"target_commitish": "main",
|
||||
"name": null,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"created_at": "2021-06-02T21:59:14Z",
|
||||
"published_at": "2021-06-11T06:56:52Z",
|
||||
"assets": [],
|
||||
"tarball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tarball/testCreateSimpleRelease",
|
||||
"zipball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/zipball/testCreateSimpleRelease",
|
||||
"body": null,
|
||||
"discussion_url": "https://github.com/hub4j-test-org/testCreateRelease/discussions/6"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "9662df75-a233-4594-b75e-062a2f61f0b4",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 06:56:51 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"ef9d3ab50cfe0ffaaf23afcd5bf34b497f69be8ea9cdf2e52817c11ebc845494\"",
|
||||
"Last-Modified": "Thu, 10 Jun 2021 01:31:14 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4999",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "1",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E62F:E96C:32AE84C:33F7832:60C30933"
|
||||
}
|
||||
},
|
||||
"uuid": "9662df75-a233-4594-b75e-062a2f61f0b4",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"id": "2e081774-790c-4d7b-9f4b-71bad948a411",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"discussion_category_name\":\"announcements\",\"tag_name\":\"testCreateSimpleRelease\",\"prerelease\":false}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease_releases-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 06:56:52 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"c0ff7f2f2ceb987472055c911610b16469c63e1928f209d5f58045a6e1cf861c\"",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4998",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "2",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E630:CE80:ED7A93:F2C7E4:60C30933",
|
||||
"Location": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44460162"
|
||||
}
|
||||
},
|
||||
"uuid": "2e081774-790c-4d7b-9f4b-71bad948a411",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "16bc45b2-4a87-46f2-977d-d0cbe7bf10ba",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44460162",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44460162",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease_releases_44460162-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 06:56:52 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"c0ff7f2f2ceb987472055c911610b16469c63e1928f209d5f58045a6e1cf861c\"",
|
||||
"Last-Modified": "Fri, 11 Jun 2021 06:56:52 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4997",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "3",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E631:E96A:C62EC6:D5D381:60C30934"
|
||||
}
|
||||
},
|
||||
"uuid": "16bc45b2-4a87-46f2-977d-d0cbe7bf10ba",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44460162",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44460162-2",
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"id": "083fedc2-a431-4eb7-bfde-5015864d6a4b",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44460162",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44460162",
|
||||
"method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 06:56:53 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4996",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "4",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E632:E6B9:F3DDE8:F93B50:60C30934"
|
||||
}
|
||||
},
|
||||
"uuid": "083fedc2-a431-4eb7-bfde-5015864d6a4b",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": "c421435f-0901-45f3-9ca4-6d9a3d46bf6c",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44460162",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44460162",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 404,
|
||||
"body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#get-a-release\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 06:56:53 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4995",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "5",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E633:E150:F261A6:F7C867:60C30935"
|
||||
}
|
||||
},
|
||||
"uuid": "c421435f-0901-45f3-9ca4-6d9a3d46bf6c",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44460162",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44460162-2",
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"id": 375534019,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNzU1MzQwMTk=",
|
||||
"name": "testCreateRelease",
|
||||
"full_name": "hub4j-test-org/testCreateRelease",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease",
|
||||
"forks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/forks",
|
||||
"keys_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/teams",
|
||||
"hooks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/events",
|
||||
"assignees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tags",
|
||||
"blobs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscription",
|
||||
"commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/merges",
|
||||
"archive_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/downloads",
|
||||
"issues_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/deployments",
|
||||
"created_at": "2021-06-10T01:25:59Z",
|
||||
"updated_at": "2021-06-10T01:31:14Z",
|
||||
"pushed_at": "2021-06-11T07:05:00Z",
|
||||
"git_url": "git://github.com/hub4j-test-org/testCreateRelease.git",
|
||||
"ssh_url": "git@github.com:hub4j-test-org/testCreateRelease.git",
|
||||
"clone_url": "https://github.com/hub4j-test-org/testCreateRelease.git",
|
||||
"svn_url": "https://github.com/hub4j-test-org/testCreateRelease",
|
||||
"homepage": null,
|
||||
"size": 11948,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": "Java",
|
||||
"has_issues": false,
|
||||
"has_projects": false,
|
||||
"has_downloads": true,
|
||||
"has_wiki": false,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": {
|
||||
"key": "mit",
|
||||
"name": "MIT License",
|
||||
"spdx_id": "MIT",
|
||||
"url": "https://api.github.com/licenses/mit",
|
||||
"node_id": "MDc6TGljZW5zZTEz"
|
||||
},
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "main",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"organization": {
|
||||
"login": "hub4j-test-org",
|
||||
"id": 7544739,
|
||||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/hub4j-test-org",
|
||||
"html_url": "https://github.com/hub4j-test-org",
|
||||
"followers_url": "https://api.github.com/users/hub4j-test-org/followers",
|
||||
"following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
|
||||
"repos_url": "https://api.github.com/users/hub4j-test-org/repos",
|
||||
"events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
|
||||
"type": "Organization",
|
||||
"site_admin": false
|
||||
},
|
||||
"network_count": 0,
|
||||
"subscribers_count": 11
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"assets_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376/assets{?name,label}",
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease/releases/tag/testUpdateRelease",
|
||||
"id": 44461376,
|
||||
"author": {
|
||||
"login": "jlengrand",
|
||||
"id": 921666,
|
||||
"node_id": "MDQ6VXNlcjkyMTY2Ng==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jlengrand",
|
||||
"html_url": "https://github.com/jlengrand",
|
||||
"followers_url": "https://api.github.com/users/jlengrand/followers",
|
||||
"following_url": "https://api.github.com/users/jlengrand/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jlengrand/orgs",
|
||||
"repos_url": "https://api.github.com/users/jlengrand/repos",
|
||||
"events_url": "https://api.github.com/users/jlengrand/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jlengrand/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"node_id": "MDc6UmVsZWFzZTQ0NDYxMzc2",
|
||||
"tag_name": "testUpdateRelease",
|
||||
"target_commitish": "main",
|
||||
"name": null,
|
||||
"draft": false,
|
||||
"prerelease": true,
|
||||
"created_at": "2021-06-02T21:59:14Z",
|
||||
"published_at": "2021-06-11T07:24:06Z",
|
||||
"assets": [],
|
||||
"tarball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tarball/testUpdateRelease",
|
||||
"zipball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/zipball/testUpdateRelease",
|
||||
"body": null,
|
||||
"discussion_url": "https://github.com/hub4j-test-org/testCreateRelease/discussions/7"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"assets_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376/assets{?name,label}",
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease/releases/tag/testUpdateRelease",
|
||||
"id": 44461376,
|
||||
"author": {
|
||||
"login": "jlengrand",
|
||||
"id": 921666,
|
||||
"node_id": "MDQ6VXNlcjkyMTY2Ng==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jlengrand",
|
||||
"html_url": "https://github.com/jlengrand",
|
||||
"followers_url": "https://api.github.com/users/jlengrand/followers",
|
||||
"following_url": "https://api.github.com/users/jlengrand/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jlengrand/orgs",
|
||||
"repos_url": "https://api.github.com/users/jlengrand/repos",
|
||||
"events_url": "https://api.github.com/users/jlengrand/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jlengrand/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"node_id": "MDc6UmVsZWFzZTQ0NDYxMzc2",
|
||||
"tag_name": "testUpdateRelease",
|
||||
"target_commitish": "main",
|
||||
"name": null,
|
||||
"draft": false,
|
||||
"prerelease": true,
|
||||
"created_at": "2021-06-02T21:59:14Z",
|
||||
"published_at": "2021-06-11T07:24:06Z",
|
||||
"assets": [],
|
||||
"tarball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tarball/testUpdateRelease",
|
||||
"zipball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/zipball/testUpdateRelease",
|
||||
"body": null,
|
||||
"discussion_url": "https://github.com/hub4j-test-org/testCreateRelease/discussions/7"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"assets_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376/assets",
|
||||
"upload_url": "https://uploads.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376/assets{?name,label}",
|
||||
"html_url": "https://github.com/hub4j-test-org/testCreateRelease/releases/tag/testUpdateRelease",
|
||||
"id": 44461376,
|
||||
"author": {
|
||||
"login": "jlengrand",
|
||||
"id": 921666,
|
||||
"node_id": "MDQ6VXNlcjkyMTY2Ng==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/jlengrand",
|
||||
"html_url": "https://github.com/jlengrand",
|
||||
"followers_url": "https://api.github.com/users/jlengrand/followers",
|
||||
"following_url": "https://api.github.com/users/jlengrand/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/jlengrand/orgs",
|
||||
"repos_url": "https://api.github.com/users/jlengrand/repos",
|
||||
"events_url": "https://api.github.com/users/jlengrand/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/jlengrand/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"node_id": "MDc6UmVsZWFzZTQ0NDYxMzc2",
|
||||
"tag_name": "testUpdateRelease",
|
||||
"target_commitish": "main",
|
||||
"name": null,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"created_at": "2021-06-02T21:59:14Z",
|
||||
"published_at": "2021-06-11T07:24:06Z",
|
||||
"assets": [],
|
||||
"tarball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tarball/testUpdateRelease",
|
||||
"zipball_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/zipball/testUpdateRelease",
|
||||
"body": null,
|
||||
"discussion_url": "https://github.com/hub4j-test-org/testCreateRelease/discussions/7"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"id": "590a71df-b792-4357-a5b8-90a303c83525",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:24:05 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"23ae33f32f11ba6813bedc05d996f08e750f9632acc3ae901422a2d584f2cd0e\"",
|
||||
"Last-Modified": "Thu, 10 Jun 2021 01:31:14 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4988",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "12",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E7A0:9EE9:92D38F:A2858A:60C30F95"
|
||||
}
|
||||
},
|
||||
"uuid": "590a71df-b792-4357-a5b8-90a303c83525",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"id": "1af9b84f-75c6-46c0-a231-1b351737029a",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases",
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"discussion_category_name\":\"announcements\",\"tag_name\":\"testUpdateRelease\",\"prerelease\":true}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease_releases-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:24:06 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"05c68c5d98cb9bd0b2482557e6308469f965c8fe689a516da1e37289201d6a86\"",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4987",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "13",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E7A1:4820:B159E:B5DCF:60C30F96",
|
||||
"Location": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases/44461376"
|
||||
}
|
||||
},
|
||||
"uuid": "1af9b84f-75c6-46c0-a231-1b351737029a",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"id": "123697c0-6c4c-4b19-bd15-e309e7bc779a",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44461376",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease_releases_44461376-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:24:07 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"05c68c5d98cb9bd0b2482557e6308469f965c8fe689a516da1e37289201d6a86\"",
|
||||
"Last-Modified": "Fri, 11 Jun 2021 07:24:06 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4986",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "14",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E7A2:102B3:82E510:876781:60C30F97"
|
||||
}
|
||||
},
|
||||
"uuid": "123697c0-6c4c-4b19-bd15-e309e7bc779a",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44461376",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44461376-2",
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"id": "4c60bd74-6531-4279-97bf-81db84a44f04",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44461376",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"prerelease\":false}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_hub4j-test-org_testcreaterelease_releases_44461376-4.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:24:07 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"fc8671e79791ab5293e66d1dd2e7126cfda4d9eccd7c7319679c2bede05e2be1\"",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4985",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "15",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"X-GitHub-Request-Id": "E7A3:2A5F:87658F:8BEB7A:60C30F97"
|
||||
}
|
||||
},
|
||||
"uuid": "4c60bd74-6531-4279-97bf-81db84a44f04",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"id": "138f181b-ad71-45a3-9d2c-3fc80de92f86",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44461376",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"method": "DELETE",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:24:08 GMT",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4984",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "16",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E7A7:2A5F:8765E0:8BEBC6:60C30F97"
|
||||
}
|
||||
},
|
||||
"uuid": "138f181b-ad71-45a3-9d2c-3fc80de92f86",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"id": "e1364d64-ddc3-488c-a17d-bb631c25e979",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44461376",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 404,
|
||||
"body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#get-a-release\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:24:08 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4983",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "17",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E7AA:A57C:409422:47254B:60C30F98"
|
||||
}
|
||||
},
|
||||
"uuid": "e1364d64-ddc3-488c-a17d-bb631c25e979",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44461376",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44461376-2",
|
||||
"newScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44461376-3",
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"id": "eb11f7fc-b22c-425c-9667-6ea7cfb5b090",
|
||||
"name": "repos_hub4j-test-org_testcreaterelease_releases_44461376",
|
||||
"request": {
|
||||
"url": "/repos/hub4j-test-org/testCreateRelease/releases/44461376",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 404,
|
||||
"body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#get-a-release\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Fri, 11 Jun 2021 07:24:08 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4982",
|
||||
"X-RateLimit-Reset": "1623398211",
|
||||
"X-RateLimit-Used": "18",
|
||||
"X-RateLimit-Resource": "core",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
"X-XSS-Protection": "0",
|
||||
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
|
||||
"Content-Security-Policy": "default-src 'none'",
|
||||
"Vary": "Accept-Encoding, Accept, X-Requested-With",
|
||||
"X-GitHub-Request-Id": "E7AB:A4AC:4E56E72:4FD9F1F:60C30F98"
|
||||
}
|
||||
},
|
||||
"uuid": "eb11f7fc-b22c-425c-9667-6ea7cfb5b090",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44461376",
|
||||
"requiredScenarioState": "scenario-1-repos-hub4j-test-org-testCreateRelease-releases-44461376-3",
|
||||
"insertionIndex": 7
|
||||
}
|
||||
Reference in New Issue
Block a user