mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-28 15:51:53 +00:00
self review
This commit is contained in:
committed by
Nathan Vahrenberg
parent
bab5399327
commit
4a2244e661
@@ -713,7 +713,7 @@ public class GHRepository extends GHObject {
|
||||
}
|
||||
|
||||
/**
|
||||
* Visibility of a repository
|
||||
* Visibility of a repository.
|
||||
*/
|
||||
public enum GHVisibility {
|
||||
PUBLIC, INTERNAL, PRIVATE
|
||||
|
||||
@@ -257,10 +257,14 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
|
||||
final GHRepository repo = gitHub.createRepository(repoName)
|
||||
.visibility(GHRepository.GHVisibility.PUBLIC)
|
||||
.create();
|
||||
System.out.println(repo.getOwnerName());
|
||||
System.out.println(repo.getName());
|
||||
try {
|
||||
assertEquals(GHRepository.GHVisibility.PUBLIC, repo.getVisibility());
|
||||
repo.setVisibility(GHRepository.GHVisibility.PRIVATE);
|
||||
assertEquals(GHRepository.GHVisibility.PRIVATE, myself.getRepository(repoName).getVisibility());
|
||||
repo.setVisibility(GHRepository.GHVisibility.PUBLIC);
|
||||
assertEquals(GHRepository.GHVisibility.PUBLIC, myself.getRepository(repoName).getVisibility());
|
||||
} finally {
|
||||
repo.delete();
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": 353724658,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3MjQ2NTg=",
|
||||
"id": 353769090,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3NjkwOTA=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "nvahren/test-repo-visibility",
|
||||
"private": false,
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "nvahren",
|
||||
"id": 8679583,
|
||||
@@ -64,9 +64,9 @@
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-01T14:20:18Z",
|
||||
"updated_at": "2021-04-01T14:20:18Z",
|
||||
"pushed_at": "2021-04-01T14:20:19Z",
|
||||
"created_at": "2021-04-01T16:59:17Z",
|
||||
"updated_at": "2021-04-01T16:59:18Z",
|
||||
"pushed_at": "2021-04-01T16:59:17Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-visibility.git",
|
||||
@@ -87,7 +87,7 @@
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"visibility": "public",
|
||||
"visibility": "private",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"id": 353769090,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3NjkwOTA=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "nvahren/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "nvahren",
|
||||
"id": 8679583,
|
||||
"node_id": "MDQ6VXNlcjg2Nzk1ODM=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/8679583?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/nvahren",
|
||||
"html_url": "https://github.com/nvahren",
|
||||
"followers_url": "https://api.github.com/users/nvahren/followers",
|
||||
"following_url": "https://api.github.com/users/nvahren/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/nvahren/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/nvahren/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/nvahren/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/nvahren/orgs",
|
||||
"repos_url": "https://api.github.com/users/nvahren/repos",
|
||||
"events_url": "https://api.github.com/users/nvahren/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/nvahren/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/nvahren/test-repo-visibility",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/nvahren/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/nvahren/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/nvahren/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/nvahren/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/nvahren/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/nvahren/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/nvahren/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/nvahren/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/nvahren/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/nvahren/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/nvahren/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/nvahren/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/nvahren/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/nvahren/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/nvahren/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/nvahren/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/nvahren/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/nvahren/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/nvahren/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/nvahren/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/nvahren/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/nvahren/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/nvahren/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/nvahren/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/nvahren/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-01T16:59:17Z",
|
||||
"updated_at": "2021-04-01T16:59:18Z",
|
||||
"pushed_at": "2021-04-01T16:59:17Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/nvahren/test-repo-visibility",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH2QIQ3TB2S7AHIY4Z3AMX6RK",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"network_count": 0,
|
||||
"subscribers_count": 1
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"id": 353769090,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3NjkwOTA=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "nvahren/test-repo-visibility",
|
||||
"private": true,
|
||||
"owner": {
|
||||
"login": "nvahren",
|
||||
"id": 8679583,
|
||||
"node_id": "MDQ6VXNlcjg2Nzk1ODM=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/8679583?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/nvahren",
|
||||
"html_url": "https://github.com/nvahren",
|
||||
"followers_url": "https://api.github.com/users/nvahren/followers",
|
||||
"following_url": "https://api.github.com/users/nvahren/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/nvahren/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/nvahren/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/nvahren/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/nvahren/orgs",
|
||||
"repos_url": "https://api.github.com/users/nvahren/repos",
|
||||
"events_url": "https://api.github.com/users/nvahren/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/nvahren/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/nvahren/test-repo-visibility",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/nvahren/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/nvahren/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/nvahren/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/nvahren/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/nvahren/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/nvahren/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/nvahren/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/nvahren/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/nvahren/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/nvahren/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/nvahren/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/nvahren/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/nvahren/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/nvahren/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/nvahren/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/nvahren/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/nvahren/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/nvahren/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/nvahren/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/nvahren/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/nvahren/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/nvahren/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/nvahren/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/nvahren/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/nvahren/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-01T16:59:17Z",
|
||||
"updated_at": "2021-04-01T16:59:18Z",
|
||||
"pushed_at": "2021-04-01T16:59:17Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/nvahren/test-repo-visibility",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
"watchers_count": 0,
|
||||
"language": null,
|
||||
"has_issues": true,
|
||||
"has_projects": true,
|
||||
"has_downloads": true,
|
||||
"has_wiki": true,
|
||||
"has_pages": false,
|
||||
"forks_count": 0,
|
||||
"mirror_url": null,
|
||||
"archived": false,
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"is_template": false,
|
||||
"visibility": "private",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
"default_branch": "master",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH6M4RVT5KY5IR3ZGYTAMX6RM",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
"delete_branch_on_merge": false,
|
||||
"network_count": 0,
|
||||
"subscribers_count": 1
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": 353724658,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3MjQ2NTg=",
|
||||
"id": 353769090,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3NjkwOTA=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "nvahren/test-repo-visibility",
|
||||
"private": true,
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "nvahren",
|
||||
"id": 8679583,
|
||||
@@ -64,9 +64,9 @@
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-01T14:20:18Z",
|
||||
"updated_at": "2021-04-01T14:20:19Z",
|
||||
"pushed_at": "2021-04-01T14:20:19Z",
|
||||
"created_at": "2021-04-01T16:59:17Z",
|
||||
"updated_at": "2021-04-01T16:59:22Z",
|
||||
"pushed_at": "2021-04-01T16:59:17Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-visibility.git",
|
||||
@@ -87,7 +87,7 @@
|
||||
"disabled": false,
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"visibility": "private",
|
||||
"visibility": "public",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": 353724658,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3MjQ2NTg=",
|
||||
"id": 353769090,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3NjkwOTA=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "nvahren/test-repo-visibility",
|
||||
"private": true,
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "nvahren",
|
||||
"id": 8679583,
|
||||
@@ -64,9 +64,9 @@
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-01T14:20:18Z",
|
||||
"updated_at": "2021-04-01T14:20:19Z",
|
||||
"pushed_at": "2021-04-01T14:20:19Z",
|
||||
"created_at": "2021-04-01T16:59:17Z",
|
||||
"updated_at": "2021-04-01T16:59:22Z",
|
||||
"pushed_at": "2021-04-01T16:59:17Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-visibility.git",
|
||||
@@ -96,7 +96,7 @@
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH3NKBO4HPYLKKIJMLTAMXL5A",
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": 353724658,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3MjQ2NTg=",
|
||||
"id": 353769090,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3NjkwOTA=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "nvahren/test-repo-visibility",
|
||||
"private": true,
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "nvahren",
|
||||
"id": 8679583,
|
||||
@@ -64,9 +64,9 @@
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-01T14:20:18Z",
|
||||
"updated_at": "2021-04-01T14:20:20Z",
|
||||
"pushed_at": "2021-04-01T14:20:19Z",
|
||||
"created_at": "2021-04-01T16:59:17Z",
|
||||
"updated_at": "2021-04-01T16:59:22Z",
|
||||
"pushed_at": "2021-04-01T16:59:17Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-visibility.git",
|
||||
@@ -88,7 +88,7 @@
|
||||
"open_issues_count": 0,
|
||||
"license": null,
|
||||
"is_template": false,
|
||||
"visibility": "private",
|
||||
"visibility": "public",
|
||||
"forks": 0,
|
||||
"open_issues": 0,
|
||||
"watchers": 0,
|
||||
@@ -98,7 +98,7 @@
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"temp_clone_token": "ACCHBH3NKBO4HPYLKKIJMLTAMXL5A",
|
||||
"temp_clone_token": "",
|
||||
"allow_squash_merge": true,
|
||||
"allow_merge_commit": true,
|
||||
"allow_rebase_merge": true,
|
||||
|
||||
@@ -30,5 +30,5 @@
|
||||
"followers": 0,
|
||||
"following": 0,
|
||||
"created_at": "2014-09-06T16:40:29Z",
|
||||
"updated_at": "2021-04-01T13:32:30Z"
|
||||
"updated_at": "2021-04-01T16:32:12Z"
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": 353724101,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3MjQxMDE=",
|
||||
"name": "test-repo-public",
|
||||
"full_name": "nvahren/test-repo-public",
|
||||
"id": 353769090,
|
||||
"node_id": "MDEwOlJlcG9zaXRvcnkzNTM3NjkwOTA=",
|
||||
"name": "test-repo-visibility",
|
||||
"full_name": "nvahren/test-repo-visibility",
|
||||
"private": false,
|
||||
"owner": {
|
||||
"login": "nvahren",
|
||||
@@ -24,53 +24,53 @@
|
||||
"type": "User",
|
||||
"site_admin": false
|
||||
},
|
||||
"html_url": "https://github.com/nvahren/test-repo-public",
|
||||
"html_url": "https://github.com/nvahren/test-repo-visibility",
|
||||
"description": null,
|
||||
"fork": false,
|
||||
"url": "https://api.github.com/repos/nvahren/test-repo-public",
|
||||
"forks_url": "https://api.github.com/repos/nvahren/test-repo-public/forks",
|
||||
"keys_url": "https://api.github.com/repos/nvahren/test-repo-public/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/nvahren/test-repo-public/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/nvahren/test-repo-public/teams",
|
||||
"hooks_url": "https://api.github.com/repos/nvahren/test-repo-public/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/nvahren/test-repo-public/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/nvahren/test-repo-public/events",
|
||||
"assignees_url": "https://api.github.com/repos/nvahren/test-repo-public/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/nvahren/test-repo-public/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/nvahren/test-repo-public/tags",
|
||||
"blobs_url": "https://api.github.com/repos/nvahren/test-repo-public/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/nvahren/test-repo-public/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/nvahren/test-repo-public/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/nvahren/test-repo-public/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/nvahren/test-repo-public/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/nvahren/test-repo-public/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/nvahren/test-repo-public/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/nvahren/test-repo-public/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/nvahren/test-repo-public/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/nvahren/test-repo-public/subscription",
|
||||
"commits_url": "https://api.github.com/repos/nvahren/test-repo-public/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/nvahren/test-repo-public/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/nvahren/test-repo-public/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/nvahren/test-repo-public/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/nvahren/test-repo-public/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/nvahren/test-repo-public/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/nvahren/test-repo-public/merges",
|
||||
"archive_url": "https://api.github.com/repos/nvahren/test-repo-public/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/nvahren/test-repo-public/downloads",
|
||||
"issues_url": "https://api.github.com/repos/nvahren/test-repo-public/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/nvahren/test-repo-public/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/nvahren/test-repo-public/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/nvahren/test-repo-public/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-public/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-public/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-public/deployments",
|
||||
"created_at": "2021-04-01T14:18:29Z",
|
||||
"updated_at": "2021-04-01T14:18:29Z",
|
||||
"pushed_at": "2021-04-01T14:18:30Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-public.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-public.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-public.git",
|
||||
"svn_url": "https://github.com/nvahren/test-repo-public",
|
||||
"url": "https://api.github.com/repos/nvahren/test-repo-visibility",
|
||||
"forks_url": "https://api.github.com/repos/nvahren/test-repo-visibility/forks",
|
||||
"keys_url": "https://api.github.com/repos/nvahren/test-repo-visibility/keys{/key_id}",
|
||||
"collaborators_url": "https://api.github.com/repos/nvahren/test-repo-visibility/collaborators{/collaborator}",
|
||||
"teams_url": "https://api.github.com/repos/nvahren/test-repo-visibility/teams",
|
||||
"hooks_url": "https://api.github.com/repos/nvahren/test-repo-visibility/hooks",
|
||||
"issue_events_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues/events{/number}",
|
||||
"events_url": "https://api.github.com/repos/nvahren/test-repo-visibility/events",
|
||||
"assignees_url": "https://api.github.com/repos/nvahren/test-repo-visibility/assignees{/user}",
|
||||
"branches_url": "https://api.github.com/repos/nvahren/test-repo-visibility/branches{/branch}",
|
||||
"tags_url": "https://api.github.com/repos/nvahren/test-repo-visibility/tags",
|
||||
"blobs_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/blobs{/sha}",
|
||||
"git_tags_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/tags{/sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/refs{/sha}",
|
||||
"trees_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/trees{/sha}",
|
||||
"statuses_url": "https://api.github.com/repos/nvahren/test-repo-visibility/statuses/{sha}",
|
||||
"languages_url": "https://api.github.com/repos/nvahren/test-repo-visibility/languages",
|
||||
"stargazers_url": "https://api.github.com/repos/nvahren/test-repo-visibility/stargazers",
|
||||
"contributors_url": "https://api.github.com/repos/nvahren/test-repo-visibility/contributors",
|
||||
"subscribers_url": "https://api.github.com/repos/nvahren/test-repo-visibility/subscribers",
|
||||
"subscription_url": "https://api.github.com/repos/nvahren/test-repo-visibility/subscription",
|
||||
"commits_url": "https://api.github.com/repos/nvahren/test-repo-visibility/commits{/sha}",
|
||||
"git_commits_url": "https://api.github.com/repos/nvahren/test-repo-visibility/git/commits{/sha}",
|
||||
"comments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/comments{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues/comments{/number}",
|
||||
"contents_url": "https://api.github.com/repos/nvahren/test-repo-visibility/contents/{+path}",
|
||||
"compare_url": "https://api.github.com/repos/nvahren/test-repo-visibility/compare/{base}...{head}",
|
||||
"merges_url": "https://api.github.com/repos/nvahren/test-repo-visibility/merges",
|
||||
"archive_url": "https://api.github.com/repos/nvahren/test-repo-visibility/{archive_format}{/ref}",
|
||||
"downloads_url": "https://api.github.com/repos/nvahren/test-repo-visibility/downloads",
|
||||
"issues_url": "https://api.github.com/repos/nvahren/test-repo-visibility/issues{/number}",
|
||||
"pulls_url": "https://api.github.com/repos/nvahren/test-repo-visibility/pulls{/number}",
|
||||
"milestones_url": "https://api.github.com/repos/nvahren/test-repo-visibility/milestones{/number}",
|
||||
"notifications_url": "https://api.github.com/repos/nvahren/test-repo-visibility/notifications{?since,all,participating}",
|
||||
"labels_url": "https://api.github.com/repos/nvahren/test-repo-visibility/labels{/name}",
|
||||
"releases_url": "https://api.github.com/repos/nvahren/test-repo-visibility/releases{/id}",
|
||||
"deployments_url": "https://api.github.com/repos/nvahren/test-repo-visibility/deployments",
|
||||
"created_at": "2021-04-01T16:59:17Z",
|
||||
"updated_at": "2021-04-01T16:59:17Z",
|
||||
"pushed_at": "2021-04-01T16:59:17Z",
|
||||
"git_url": "git://github.com/nvahren/test-repo-visibility.git",
|
||||
"ssh_url": "git@github.com:nvahren/test-repo-visibility.git",
|
||||
"clone_url": "https://github.com/nvahren/test-repo-visibility.git",
|
||||
"svn_url": "https://github.com/nvahren/test-repo-visibility",
|
||||
"homepage": null,
|
||||
"size": 0,
|
||||
"stargazers_count": 0,
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
{
|
||||
"id": "af275499-c784-4294-8ee3-5403180edae5",
|
||||
"name": "repos_nvahren_test-repo-public",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-public",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"visibility\":\"private\",\"name\":\"test-repo-public\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 404,
|
||||
"body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#update-a-repository\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:18:30 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4980",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "20",
|
||||
"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": "8F68:6930:21F2D5:53AB25:6065D636"
|
||||
}
|
||||
},
|
||||
"uuid": "af275499-c784-4294-8ee3-5403180edae5",
|
||||
"persistent": true,
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
{
|
||||
"id": "05a2b170-1523-40c8-9aee-756d287cea66",
|
||||
"name": "repos_nvahren_test-repo-public",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-public",
|
||||
"method": "DELETE",
|
||||
"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#delete-a-repository\"}",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:18:30 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4979",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "21",
|
||||
"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": "8F68:6930:21F2E1:53AB3F:6065D636"
|
||||
}
|
||||
},
|
||||
"uuid": "05a2b170-1523-40c8-9aee-756d287cea66",
|
||||
"persistent": true,
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"id": "55127029-0292-4169-9bc6-4e8a8a612cdc",
|
||||
"name": "user_repos",
|
||||
"id": "c06a30c7-c6ae-40a5-81a6-12077e68bd97",
|
||||
"name": "repos_nvahren_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/user/repos",
|
||||
"method": "POST",
|
||||
"url": "/repos/nvahren/test-repo-visibility",
|
||||
"method": "PATCH",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.nebula-preview+json"
|
||||
@@ -11,43 +11,42 @@
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"visibility\":\"PUBLIC\",\"name\":\"test-repo-visibility\"}",
|
||||
"equalToJson": "{\"visibility\":\"private\",\"name\":\"test-repo-visibility\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"response": {
|
||||
"status": 201,
|
||||
"bodyFileName": "user_repos-5.json",
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_nvahren_test-repo-visibility-3.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:20:19 GMT",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:18 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"5ca601690515936a8130f8a343db60f25928a9e2a0df2458313981fccd4fa59d\"",
|
||||
"ETag": "W/\"4d4f6c371e60c873dd57dd10889f07bf44f141c3c5175535168c5b661694b07c\"",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "public_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4977",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "23",
|
||||
"X-RateLimit-Remaining": "4882",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "118",
|
||||
"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": "B797:6262:65D13:197EE6:6065D6A2",
|
||||
"Location": "https://api.github.com/repos/nvahren/test-repo-visibility"
|
||||
"X-GitHub-Request-Id": "5C96:2AB5:5BD94A:96D997:6065FBE6"
|
||||
}
|
||||
},
|
||||
"uuid": "55127029-0292-4169-9bc6-4e8a8a612cdc",
|
||||
"uuid": "c06a30c7-c6ae-40a5-81a6-12077e68bd97",
|
||||
"persistent": true,
|
||||
"insertionIndex": 5
|
||||
"insertionIndex": 3
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "93d85bb4-2dbf-41d5-ba74-7b878c8524bf",
|
||||
"name": "repos_nvahren_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_nvahren_test-repo-visibility-4.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:21 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"b6cbc55a508c491b194bd4a5bde5e4fe9b2c8e4f5d3b422688198b8bc354cce1\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 16:59:18 GMT",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4881",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "119",
|
||||
"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": "5C96:2AB5:5BDBBD:96DDAD:6065FBE9"
|
||||
}
|
||||
},
|
||||
"uuid": "93d85bb4-2dbf-41d5-ba74-7b878c8524bf",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-nvahren-test-repo-visibility",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-1-repos-nvahren-test-repo-visibility-2",
|
||||
"insertionIndex": 4
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"id": "26a4d621-6f76-493b-a23b-1614df7bd36d",
|
||||
"name": "repos_nvahren_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-visibility",
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
"Accept": {
|
||||
"equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"bodyFileName": "repos_nvahren_test-repo-visibility-5.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:22 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"7c693a58c83b3a6410e2b4f07192359526be0791860d21e08e711138e64e0e1f\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 16:59:18 GMT",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.baptiste-preview; format=json, github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4880",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "120",
|
||||
"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": "5C96:2AB5:5BDBDA:96DDDE:6065FBEA"
|
||||
}
|
||||
},
|
||||
"uuid": "26a4d621-6f76-493b-a23b-1614df7bd36d",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-nvahren-test-repo-visibility",
|
||||
"requiredScenarioState": "Started",
|
||||
"newScenarioState": "scenario-2-repos-nvahren-test-repo-visibility-2",
|
||||
"insertionIndex": 5
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "2d225318-9fc1-46ba-b3bc-b9be70e7b743",
|
||||
"id": "fd3146e0-30e3-4c1b-bf5e-8a15602fc06a",
|
||||
"name": "repos_nvahren_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-visibility",
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"visibility\":\"private\",\"name\":\"test-repo-visibility\"}",
|
||||
"equalToJson": "{\"visibility\":\"public\",\"name\":\"test-repo-visibility\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
@@ -22,31 +22,31 @@
|
||||
"bodyFileName": "repos_nvahren_test-repo-visibility-6.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:20:20 GMT",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:22 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"8ececa9802879d416a770fe817eb688ea6b725e7fc0b754b1d5af5b54430b380\"",
|
||||
"ETag": "W/\"c8e830eccd87608fe99a6162fd59d95d2a7598e27f906c5d209a62f6fac02f3a\"",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4976",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "24",
|
||||
"X-RateLimit-Remaining": "4879",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "121",
|
||||
"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": "B797:6262:65D2E:197F46:6065D6A3"
|
||||
"X-GitHub-Request-Id": "5C96:2AB5:5BDBFF:96DE1C:6065FBEA"
|
||||
}
|
||||
},
|
||||
"uuid": "2d225318-9fc1-46ba-b3bc-b9be70e7b743",
|
||||
"uuid": "fd3146e0-30e3-4c1b-bf5e-8a15602fc06a",
|
||||
"persistent": true,
|
||||
"insertionIndex": 6
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "d8b0aea5-1cae-4951-8dec-eef4ce748c57",
|
||||
"id": "16c97f06-b9b1-4e6f-b34b-395b7d1e32ac",
|
||||
"name": "repos_nvahren_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-visibility",
|
||||
@@ -15,32 +15,34 @@
|
||||
"bodyFileName": "repos_nvahren_test-repo-visibility-7.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:20:20 GMT",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:25 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/\"8faf24807b9ba877ff6eebed150b9ecb1c220ae8eb4f149d0f785168bf6364d1\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 14:20:19 GMT",
|
||||
"ETag": "W/\"eb30423ef86be93773c139c1f26ff4f992bfa2a4749be4dbcc975807dc902c13\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 16:59:22 GMT",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4975",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "25",
|
||||
"X-RateLimit-Remaining": "4878",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "122",
|
||||
"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": "B797:6262:65D3D:197F7B:6065D6A4"
|
||||
"X-GitHub-Request-Id": "5C96:2AB5:5BDE28:96E1B8:6065FBED"
|
||||
}
|
||||
},
|
||||
"uuid": "d8b0aea5-1cae-4951-8dec-eef4ce748c57",
|
||||
"uuid": "16c97f06-b9b1-4e6f-b34b-395b7d1e32ac",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-1-repos-nvahren-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-1-repos-nvahren-test-repo-visibility-2",
|
||||
"insertionIndex": 7
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "b6ac3809-8046-423e-87f0-e815d2c86f4b",
|
||||
"id": "2a98874c-9a03-4ebb-ac63-d10ea0849cc4",
|
||||
"name": "repos_nvahren_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-visibility",
|
||||
@@ -15,32 +15,34 @@
|
||||
"bodyFileName": "repos_nvahren_test-repo-visibility-8.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:20:20 GMT",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:25 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/\"bb898ca809fcbbeac520143ab46296e4c9e68fb1e9082f0c389b5d4b8f2f9b5a\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 14:20:20 GMT",
|
||||
"ETag": "W/\"2b3d95380c8d25bb5c70acf9b7156cf5796fc3b6009246ecaf254ada07be5c7a\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 16:59:22 GMT",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "repo",
|
||||
"X-GitHub-Media-Type": "github.baptiste-preview; format=json, github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4974",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "26",
|
||||
"X-RateLimit-Remaining": "4877",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "123",
|
||||
"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": "B797:6262:65D44:197F83:6065D6A4"
|
||||
"X-GitHub-Request-Id": "5C96:2AB5:5BDE43:96E1EB:6065FBED"
|
||||
}
|
||||
},
|
||||
"uuid": "b6ac3809-8046-423e-87f0-e815d2c86f4b",
|
||||
"uuid": "2a98874c-9a03-4ebb-ac63-d10ea0849cc4",
|
||||
"persistent": true,
|
||||
"scenarioName": "scenario-2-repos-nvahren-test-repo-visibility",
|
||||
"requiredScenarioState": "scenario-2-repos-nvahren-test-repo-visibility-2",
|
||||
"insertionIndex": 8
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "1e274db4-a019-4d06-9a8d-5652851f2a0f",
|
||||
"id": "2d0d52a5-787d-4b57-88e4-d4a3764f0b59",
|
||||
"name": "repos_nvahren_test-repo-visibility",
|
||||
"request": {
|
||||
"url": "/repos/nvahren/test-repo-visibility",
|
||||
@@ -14,14 +14,14 @@
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:20:20 GMT",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:26 GMT",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-Accepted-OAuth-Scopes": "delete_repo",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4973",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "27",
|
||||
"X-RateLimit-Remaining": "4876",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "124",
|
||||
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
|
||||
"X-Frame-Options": "deny",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
@@ -29,10 +29,10 @@
|
||||
"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": "B797:6262:65D4A:197F89:6065D6A4"
|
||||
"X-GitHub-Request-Id": "5C96:2AB5:5BDE5A:96E213:6065FBED"
|
||||
}
|
||||
},
|
||||
"uuid": "1e274db4-a019-4d06-9a8d-5652851f2a0f",
|
||||
"uuid": "2d0d52a5-787d-4b57-88e4-d4a3764f0b59",
|
||||
"persistent": true,
|
||||
"insertionIndex": 9
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "1586aaf8-b38e-41e6-9b60-6be94582c62f",
|
||||
"id": "8c3a0d7a-b0b5-4ecf-ba5e-ef1ee03648f5",
|
||||
"name": "user",
|
||||
"request": {
|
||||
"url": "/user",
|
||||
@@ -15,32 +15,32 @@
|
||||
"bodyFileName": "user-1.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:18:28 GMT",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:16 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "W/\"881979f7b4614537298fdff264b2596361d8feb62d3d261b538e4ce6a7857e2b\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 13:32:30 GMT",
|
||||
"ETag": "W/\"c63444e09078ff2c384c44a15fc0a03204edf67ce15c3ffd5de98feb65d3706c\"",
|
||||
"Last-Modified": "Thu, 01 Apr 2021 16:32:12 GMT",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "",
|
||||
"X-GitHub-Media-Type": "unknown, github.v3",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4983",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "17",
|
||||
"X-RateLimit-Remaining": "4885",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "115",
|
||||
"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": "8F68:6930:21F21A:53A924:6065D634"
|
||||
"X-GitHub-Request-Id": "5C96:2AB5:5BD83A:96D7E7:6065FBE4"
|
||||
}
|
||||
},
|
||||
"uuid": "1586aaf8-b38e-41e6-9b60-6be94582c62f",
|
||||
"uuid": "8c3a0d7a-b0b5-4ecf-ba5e-ef1ee03648f5",
|
||||
"persistent": true,
|
||||
"insertionIndex": 1
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "9f6ce684-c9a4-4308-b28f-45ebe468724f",
|
||||
"id": "4f7f72a4-73f8-46fe-8851-a5946698f194",
|
||||
"name": "user_repos",
|
||||
"request": {
|
||||
"url": "/user/repos",
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"bodyPatterns": [
|
||||
{
|
||||
"equalToJson": "{\"visibility\":\"PUBLIC\",\"name\":\"test-repo-public\"}",
|
||||
"equalToJson": "{\"visibility\":\"PUBLIC\",\"name\":\"test-repo-visibility\"}",
|
||||
"ignoreArrayOrder": true,
|
||||
"ignoreExtraElements": false
|
||||
}
|
||||
@@ -22,32 +22,32 @@
|
||||
"bodyFileName": "user_repos-2.json",
|
||||
"headers": {
|
||||
"Server": "GitHub.com",
|
||||
"Date": "Thu, 01 Apr 2021 14:18:30 GMT",
|
||||
"Date": "Thu, 01 Apr 2021 16:59:17 GMT",
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Cache-Control": "private, max-age=60, s-maxage=60",
|
||||
"Vary": [
|
||||
"Accept, Authorization, Cookie, X-GitHub-OTP",
|
||||
"Accept-Encoding, Accept, X-Requested-With"
|
||||
],
|
||||
"ETag": "\"f0f1f2246438523cd8de06673ae469d080afb30d6a4a88150dc95fa11d238ab3\"",
|
||||
"ETag": "\"e805b135b47a81c09391bfbcfaacfa2351d4be33450261efdfca9798ffbf6ebe\"",
|
||||
"X-OAuth-Scopes": "delete_repo, repo",
|
||||
"X-Accepted-OAuth-Scopes": "public_repo, repo",
|
||||
"X-GitHub-Media-Type": "github.nebula-preview; format=json",
|
||||
"X-RateLimit-Limit": "5000",
|
||||
"X-RateLimit-Remaining": "4981",
|
||||
"X-RateLimit-Reset": "1617287622",
|
||||
"X-RateLimit-Used": "19",
|
||||
"X-RateLimit-Remaining": "4883",
|
||||
"X-RateLimit-Reset": "1617296411",
|
||||
"X-RateLimit-Used": "117",
|
||||
"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": "8F68:6930:21F278:53AA09:6065D635",
|
||||
"Location": "https://api.github.com/repos/nvahren/test-repo-public"
|
||||
"X-GitHub-Request-Id": "5C96:2AB5:5BD89B:96D88B:6065FBE5",
|
||||
"Location": "https://api.github.com/repos/nvahren/test-repo-visibility"
|
||||
}
|
||||
},
|
||||
"uuid": "9f6ce684-c9a4-4308-b28f-45ebe468724f",
|
||||
"uuid": "4f7f72a4-73f8-46fe-8851-a5946698f194",
|
||||
"persistent": true,
|
||||
"insertionIndex": 2
|
||||
}
|
||||
Reference in New Issue
Block a user