[
  {
    "scope": "https://api.github.com:443",
    "method": "post",
    "path": "/orgs/octokit-fixture-org/repos",
    "body": {
      "name": "tmp-scenario-branch-protection-20220719043700727-wbo1k"
    },
    "status": 201,
    "response": {
      "id": 515435592,
      "node_id": "R_kgDOHrjsSA",
      "name": "tmp-scenario-branch-protection-20220719043700727-wbo1k",
      "full_name": "octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k",
      "private": false,
      "owner": {
        "login": "octokit-fixture-org",
        "id": 31898100,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjMxODk4MTAw",
        "avatar_url": "https://avatars.githubusercontent.com/u/31898100?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/octokit-fixture-org",
        "html_url": "https://github.com/octokit-fixture-org",
        "followers_url": "https://api.github.com/users/octokit-fixture-org/followers",
        "following_url": "https://api.github.com/users/octokit-fixture-org/following{/other_user}",
        "gists_url": "https://api.github.com/users/octokit-fixture-org/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/octokit-fixture-org/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/octokit-fixture-org/subscriptions",
        "organizations_url": "https://api.github.com/users/octokit-fixture-org/orgs",
        "repos_url": "https://api.github.com/users/octokit-fixture-org/repos",
        "events_url": "https://api.github.com/users/octokit-fixture-org/events{/privacy}",
        "received_events_url": "https://api.github.com/users/octokit-fixture-org/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "html_url": "https://github.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k",
      "description": null,
      "fork": false,
      "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k",
      "forks_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/forks",
      "keys_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/keys{/key_id}",
      "collaborators_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/collaborators{/collaborator}",
      "teams_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/teams",
      "hooks_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/hooks",
      "issue_events_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/issues/events{/number}",
      "events_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/events",
      "assignees_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/assignees{/user}",
      "branches_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches{/branch}",
      "tags_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/tags",
      "blobs_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/blobs{/sha}",
      "git_tags_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/tags{/sha}",
      "git_refs_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/refs{/sha}",
      "trees_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/trees{/sha}",
      "statuses_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/statuses/{sha}",
      "languages_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/languages",
      "stargazers_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/stargazers",
      "contributors_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/contributors",
      "subscribers_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/subscribers",
      "subscription_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/subscription",
      "commits_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/commits{/sha}",
      "git_commits_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/commits{/sha}",
      "comments_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/comments{/number}",
      "issue_comment_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/issues/comments{/number}",
      "contents_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/contents/{+path}",
      "compare_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/compare/{base}...{head}",
      "merges_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/merges",
      "archive_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/{archive_format}{/ref}",
      "downloads_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/downloads",
      "issues_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/issues{/number}",
      "pulls_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/pulls{/number}",
      "milestones_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/milestones{/number}",
      "notifications_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/notifications{?since,all,participating}",
      "labels_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/labels{/name}",
      "releases_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/releases{/id}",
      "deployments_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/deployments",
      "created_at": "2022-07-19T04:37:00Z",
      "updated_at": "2022-07-19T04:37:00Z",
      "pushed_at": "2022-07-19T04:37:01Z",
      "git_url": "git://github.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k.git",
      "ssh_url": "git@github.com:octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k.git",
      "clone_url": "https://github.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k.git",
      "svn_url": "https://github.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k",
      "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,
      "allow_forking": true,
      "is_template": false,
      "web_commit_signoff_required": false,
      "topics": [],
      "visibility": "public",
      "forks": 0,
      "open_issues": 0,
      "watchers": 0,
      "default_branch": "main",
      "permissions": {
        "admin": true,
        "maintain": true,
        "push": true,
        "triage": true,
        "pull": true
      },
      "allow_squash_merge": true,
      "allow_merge_commit": true,
      "allow_rebase_merge": true,
      "allow_auto_merge": false,
      "delete_branch_on_merge": false,
      "allow_update_branch": false,
      "use_squash_pr_title_as_default": false,
      "organization": {
        "login": "octokit-fixture-org",
        "id": 31898100,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjMxODk4MTAw",
        "avatar_url": "https://avatars.githubusercontent.com/u/31898100?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/octokit-fixture-org",
        "html_url": "https://github.com/octokit-fixture-org",
        "followers_url": "https://api.github.com/users/octokit-fixture-org/followers",
        "following_url": "https://api.github.com/users/octokit-fixture-org/following{/other_user}",
        "gists_url": "https://api.github.com/users/octokit-fixture-org/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/octokit-fixture-org/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/octokit-fixture-org/subscriptions",
        "organizations_url": "https://api.github.com/users/octokit-fixture-org/orgs",
        "repos_url": "https://api.github.com/users/octokit-fixture-org/repos",
        "events_url": "https://api.github.com/users/octokit-fixture-org/events{/privacy}",
        "received_events_url": "https://api.github.com/users/octokit-fixture-org/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "network_count": 0,
      "subscribers_count": 0
    },
    "rawHeaders": [
      "Server",
      "GitHub.com",
      "Date",
      "Tue, 19 Jul 2022 04:37:02 GMT",
      "Content-Type",
      "application/json; charset=utf-8",
      "Content-Length",
      "8836",
      "Cache-Control",
      "private, max-age=60, s-maxage=60",
      "Vary",
      "Accept, Authorization, Cookie, X-GitHub-OTP",
      "ETag",
      "\"a84093e4da3ca808af7611e6e5971b904a1c0a0289624de34f841c17ff3baae8\"",
      "X-OAuth-Scopes",
      "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
      "X-Accepted-OAuth-Scopes",
      "public_repo, repo",
      "Location",
      "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k",
      "X-GitHub-Media-Type",
      "github.v3; format=json",
      "X-RateLimit-Limit",
      "5000",
      "X-RateLimit-Remaining",
      "4988",
      "X-RateLimit-Reset",
      "1658208999",
      "X-RateLimit-Used",
      "12",
      "X-RateLimit-Resource",
      "core",
      "Access-Control-Expose-Headers",
      "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
      "Access-Control-Allow-Origin",
      "*",
      "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",
      "0681:62D4:324F998:5AD3B98:62D634EC",
      "connection",
      "close"
    ],
    "reqheaders": {
      "accept": "application/vnd.github.v3+json",
      "content-type": "application/json",
      "authorization": "token 0000000000000000000000000000000000000001",
      "x-octokit-fixture-ignore": "true",
      "content-length": 65,
      "host": "api.github.com"
    },
    "responseIsBinary": false
  },
  {
    "scope": "https://api.github.com:443",
    "method": "put",
    "path": "/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/contents/README.md",
    "body": {
      "message": "initial commit",
      "content": "IyBicmFuY2gtcHJvdGVjdGlvbg=="
    },
    "status": 201,
    "response": {
      "content": {
        "name": "README.md",
        "path": "README.md",
        "sha": "c2c82f494b3473a2b931b878d378cc4e1e59522a",
        "size": 19,
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/contents/README.md?ref=main",
        "html_url": "https://github.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/blob/main/README.md",
        "git_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/blobs/c2c82f494b3473a2b931b878d378cc4e1e59522a",
        "download_url": "https://raw.githubusercontent.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/main/README.md",
        "type": "file",
        "_links": {
          "self": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/contents/README.md?ref=main",
          "git": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/blobs/c2c82f494b3473a2b931b878d378cc4e1e59522a",
          "html": "https://github.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/blob/main/README.md"
        }
      },
      "commit": {
        "sha": "d17ce67d1af551600665c71976755446dd9b61e1",
        "node_id": "C_kwDOHrjsSNoAKGQxN2NlNjdkMWFmNTUxNjAwNjY1YzcxOTc2NzU1NDQ2ZGQ5YjYxZTE",
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/commits/d17ce67d1af551600665c71976755446dd9b61e1",
        "html_url": "https://github.com/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/commit/d17ce67d1af551600665c71976755446dd9b61e1",
        "author": {
          "name": "octokit-fixture-user-a",
          "email": "31898046+octokit-fixture-user-a@users.noreply.github.com",
          "date": "2022-07-19T04:37:03Z"
        },
        "committer": {
          "name": "octokit-fixture-user-a",
          "email": "31898046+octokit-fixture-user-a@users.noreply.github.com",
          "date": "2022-07-19T04:37:03Z"
        },
        "tree": {
          "sha": "ce0e063a59695a2c3d82c7395e6f43b9df50c7dc",
          "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/git/trees/ce0e063a59695a2c3d82c7395e6f43b9df50c7dc"
        },
        "message": "initial commit",
        "parents": [],
        "verification": {
          "verified": false,
          "reason": "unsigned",
          "signature": null,
          "payload": null
        }
      }
    },
    "rawHeaders": [
      "Server",
      "GitHub.com",
      "Date",
      "Tue, 19 Jul 2022 04:37:04 GMT",
      "Content-Type",
      "application/json; charset=utf-8",
      "Content-Length",
      "2229",
      "Cache-Control",
      "private, max-age=60, s-maxage=60",
      "Vary",
      "Accept, Authorization, Cookie, X-GitHub-OTP",
      "ETag",
      "\"d42a3aa68218f02d12af12b75ebdc0e02da682d97972d5ca4b81c363e7423d67\"",
      "X-OAuth-Scopes",
      "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
      "X-Accepted-OAuth-Scopes",
      "",
      "X-GitHub-Media-Type",
      "github.v3; format=json",
      "X-RateLimit-Limit",
      "5000",
      "X-RateLimit-Remaining",
      "4987",
      "X-RateLimit-Reset",
      "1658208999",
      "X-RateLimit-Used",
      "13",
      "X-RateLimit-Resource",
      "core",
      "Access-Control-Expose-Headers",
      "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
      "Access-Control-Allow-Origin",
      "*",
      "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",
      "0682:2339:2C74BB:FC4731:62D634EF",
      "connection",
      "close"
    ],
    "reqheaders": {
      "accept": "application/vnd.github.v3+json",
      "content-type": "application/json",
      "authorization": "token 0000000000000000000000000000000000000001",
      "x-octokit-fixture-ignore": "true",
      "content-length": 69,
      "host": "api.github.com"
    },
    "responseIsBinary": false
  },
  {
    "scope": "https://api.github.com:443",
    "method": "put",
    "path": "/teams/2527061/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k",
    "body": { "permission": "push" },
    "status": 204,
    "response": "",
    "rawHeaders": [
      "Server",
      "GitHub.com",
      "Date",
      "Tue, 19 Jul 2022 04:37:07 GMT",
      "X-OAuth-Scopes",
      "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
      "X-Accepted-OAuth-Scopes",
      "admin:org, read:org, repo, user, write:org",
      "X-GitHub-Media-Type",
      "github.v3; format=json",
      "Deprecation",
      "Sat, 01 Feb 2020 00:00:00 GMT",
      "Sunset",
      "Mon, 01 Feb 2021 00:00:00 GMT",
      "Link",
      "<https://developer.github.com/changes/2020-01-21-moving-the-team-api-endpoints/>; rel=\"deprecation\"; type=\"text/html\", <https://api.github.com/organizations/31898100/team/2527061/repositories/515435592>; rel=\"alternate\"",
      "X-RateLimit-Limit",
      "5000",
      "X-RateLimit-Remaining",
      "4986",
      "X-RateLimit-Reset",
      "1658208999",
      "X-RateLimit-Used",
      "14",
      "X-RateLimit-Resource",
      "core",
      "Access-Control-Expose-Headers",
      "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
      "Access-Control-Allow-Origin",
      "*",
      "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",
      "0683:5E17:2131AA0:61BA358:62D634F2",
      "connection",
      "close"
    ],
    "reqheaders": {
      "accept": "application/vnd.github.v3+json",
      "content-type": "application/json",
      "authorization": "token 0000000000000000000000000000000000000001",
      "x-octokit-fixture-ignore": "true",
      "content-length": 21,
      "host": "api.github.com"
    },
    "responseIsBinary": false
  },
  {
    "scope": "https://api.github.com:443",
    "method": "get",
    "path": "/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection",
    "body": "",
    "status": 404,
    "response": {
      "message": "Branch not protected",
      "documentation_url": "https://docs.github.com/rest/reference/repos#get-branch-protection"
    },
    "rawHeaders": [
      "Server",
      "GitHub.com",
      "Date",
      "Tue, 19 Jul 2022 04:37:07 GMT",
      "Content-Type",
      "application/json; charset=utf-8",
      "Content-Length",
      "123",
      "X-OAuth-Scopes",
      "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
      "X-Accepted-OAuth-Scopes",
      "",
      "X-GitHub-Media-Type",
      "github.v3; format=json",
      "X-RateLimit-Limit",
      "5000",
      "X-RateLimit-Remaining",
      "4985",
      "X-RateLimit-Reset",
      "1658208999",
      "X-RateLimit-Used",
      "15",
      "X-RateLimit-Resource",
      "core",
      "Access-Control-Expose-Headers",
      "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
      "Access-Control-Allow-Origin",
      "*",
      "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",
      "0684:716A:2015008:5E2FD3C:62D634F3",
      "connection",
      "close"
    ],
    "reqheaders": {
      "accept": "application/vnd.github.v3+json",
      "authorization": "token 0000000000000000000000000000000000000001",
      "host": "api.github.com"
    },
    "responseIsBinary": false
  },
  {
    "scope": "https://api.github.com:443",
    "method": "put",
    "path": "/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection",
    "body": {
      "required_status_checks": null,
      "required_pull_request_reviews": null,
      "restrictions": null,
      "enforce_admins": false
    },
    "status": 200,
    "response": {
      "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection",
      "required_signatures": {
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/required_signatures",
        "enabled": false
      },
      "enforce_admins": {
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/enforce_admins",
        "enabled": false
      },
      "required_linear_history": { "enabled": false },
      "allow_force_pushes": { "enabled": false },
      "allow_deletions": { "enabled": false },
      "block_creations": { "enabled": false },
      "required_conversation_resolution": { "enabled": false }
    },
    "rawHeaders": [
      "Server",
      "GitHub.com",
      "Date",
      "Tue, 19 Jul 2022 04:37:10 GMT",
      "Content-Type",
      "application/json; charset=utf-8",
      "Content-Length",
      "730",
      "Cache-Control",
      "private, max-age=60, s-maxage=60",
      "Vary",
      "Accept, Authorization, Cookie, X-GitHub-OTP",
      "ETag",
      "\"73453af974f4d1826c7dc09a650e51289678c8882e9aa50cdd98c91eb3812161\"",
      "X-OAuth-Scopes",
      "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
      "X-Accepted-OAuth-Scopes",
      "",
      "X-GitHub-Media-Type",
      "github.v3; format=json",
      "X-RateLimit-Limit",
      "5000",
      "X-RateLimit-Remaining",
      "4984",
      "X-RateLimit-Reset",
      "1658208999",
      "X-RateLimit-Used",
      "16",
      "X-RateLimit-Resource",
      "core",
      "Access-Control-Expose-Headers",
      "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
      "Access-Control-Allow-Origin",
      "*",
      "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",
      "0680:9DE4:9CD795:1A7CDF3:62D634F5",
      "connection",
      "close"
    ],
    "reqheaders": {
      "accept": "application/vnd.github.v3+json",
      "content-type": "application/json",
      "authorization": "token 0000000000000000000000000000000000000001",
      "content-length": 111,
      "host": "api.github.com"
    },
    "responseIsBinary": false
  },
  {
    "scope": "https://api.github.com:443",
    "method": "put",
    "path": "/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection",
    "body": {
      "required_status_checks": { "strict": true, "contexts": ["foo/bar"] },
      "required_pull_request_reviews": {
        "dismissal_restrictions": {
          "users": ["octokit-fixture-user-a"],
          "teams": []
        },
        "dismiss_stale_reviews": true,
        "require_code_owner_reviews": false
      },
      "restrictions": {
        "users": ["octokit-fixture-user-a"],
        "teams": ["a-team"]
      },
      "enforce_admins": true
    },
    "status": 200,
    "response": {
      "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection",
      "required_status_checks": {
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/required_status_checks",
        "strict": true,
        "contexts": ["foo/bar"],
        "contexts_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/required_status_checks/contexts",
        "checks": [{ "context": "foo/bar", "app_id": null }]
      },
      "restrictions": {
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/restrictions",
        "users_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/restrictions/users",
        "teams_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/restrictions/teams",
        "apps_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/restrictions/apps",
        "users": [
          {
            "login": "octokit-fixture-user-a",
            "id": 31898046,
            "node_id": "MDQ6VXNlcjMxODk4MDQ2",
            "avatar_url": "https://avatars.githubusercontent.com/u/31898046?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/octokit-fixture-user-a",
            "html_url": "https://github.com/octokit-fixture-user-a",
            "followers_url": "https://api.github.com/users/octokit-fixture-user-a/followers",
            "following_url": "https://api.github.com/users/octokit-fixture-user-a/following{/other_user}",
            "gists_url": "https://api.github.com/users/octokit-fixture-user-a/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/octokit-fixture-user-a/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/octokit-fixture-user-a/subscriptions",
            "organizations_url": "https://api.github.com/users/octokit-fixture-user-a/orgs",
            "repos_url": "https://api.github.com/users/octokit-fixture-user-a/repos",
            "events_url": "https://api.github.com/users/octokit-fixture-user-a/events{/privacy}",
            "received_events_url": "https://api.github.com/users/octokit-fixture-user-a/received_events",
            "type": "User",
            "site_admin": false
          }
        ],
        "teams": [
          {
            "name": "A-Team",
            "id": 2527061,
            "node_id": "MDQ6VGVhbTI1MjcwNjE=",
            "slug": "a-team",
            "description": "If you have a problem, if no one else can help you, then if you can find them, maybe you can hire the A-Team!",
            "privacy": "closed",
            "url": "https://api.github.com/organizations/31898100/team/2527061",
            "html_url": "https://github.com/orgs/octokit-fixture-org/teams/a-team",
            "members_url": "https://api.github.com/organizations/31898100/team/2527061/members{/member}",
            "repositories_url": "https://api.github.com/organizations/31898100/team/2527061/repos",
            "permission": "pull",
            "parent": null
          }
        ],
        "apps": []
      },
      "required_pull_request_reviews": {
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/required_pull_request_reviews",
        "dismiss_stale_reviews": true,
        "require_code_owner_reviews": false,
        "required_approving_review_count": 1,
        "dismissal_restrictions": {
          "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/dismissal_restrictions",
          "users_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/dismissal_restrictions/users",
          "teams_url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/dismissal_restrictions/teams",
          "users": [
            {
              "login": "octokit-fixture-user-a",
              "id": 31898046,
              "node_id": "MDQ6VXNlcjMxODk4MDQ2",
              "avatar_url": "https://avatars.githubusercontent.com/u/31898046?v=4",
              "gravatar_id": "",
              "url": "https://api.github.com/users/octokit-fixture-user-a",
              "html_url": "https://github.com/octokit-fixture-user-a",
              "followers_url": "https://api.github.com/users/octokit-fixture-user-a/followers",
              "following_url": "https://api.github.com/users/octokit-fixture-user-a/following{/other_user}",
              "gists_url": "https://api.github.com/users/octokit-fixture-user-a/gists{/gist_id}",
              "starred_url": "https://api.github.com/users/octokit-fixture-user-a/starred{/owner}{/repo}",
              "subscriptions_url": "https://api.github.com/users/octokit-fixture-user-a/subscriptions",
              "organizations_url": "https://api.github.com/users/octokit-fixture-user-a/orgs",
              "repos_url": "https://api.github.com/users/octokit-fixture-user-a/repos",
              "events_url": "https://api.github.com/users/octokit-fixture-user-a/events{/privacy}",
              "received_events_url": "https://api.github.com/users/octokit-fixture-user-a/received_events",
              "type": "User",
              "site_admin": false
            }
          ],
          "teams": [],
          "apps": []
        }
      },
      "required_signatures": {
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/required_signatures",
        "enabled": false
      },
      "enforce_admins": {
        "url": "https://api.github.com/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection/enforce_admins",
        "enabled": true
      },
      "required_linear_history": { "enabled": false },
      "allow_force_pushes": { "enabled": false },
      "allow_deletions": { "enabled": false },
      "block_creations": { "enabled": false },
      "required_conversation_resolution": { "enabled": false }
    },
    "rawHeaders": [
      "Server",
      "GitHub.com",
      "Date",
      "Tue, 19 Jul 2022 04:37:13 GMT",
      "Content-Type",
      "application/json; charset=utf-8",
      "Content-Length",
      "5448",
      "Cache-Control",
      "private, max-age=60, s-maxage=60",
      "Vary",
      "Accept, Authorization, Cookie, X-GitHub-OTP",
      "ETag",
      "\"4db5039a612ceec2d9b0d398baa09446a20defdbd156875b2628e0a517197fd7\"",
      "X-OAuth-Scopes",
      "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
      "X-Accepted-OAuth-Scopes",
      "",
      "X-GitHub-Media-Type",
      "github.v3; format=json",
      "X-RateLimit-Limit",
      "5000",
      "X-RateLimit-Remaining",
      "4983",
      "X-RateLimit-Reset",
      "1658208999",
      "X-RateLimit-Used",
      "17",
      "X-RateLimit-Resource",
      "core",
      "Access-Control-Expose-Headers",
      "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
      "Access-Control-Allow-Origin",
      "*",
      "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",
      "0681:62D4:324FF8A:5AD4695:62D634F8",
      "connection",
      "close"
    ],
    "reqheaders": {
      "accept": "application/vnd.github.v3+json",
      "content-type": "application/json",
      "authorization": "token 0000000000000000000000000000000000000001",
      "content-length": 329,
      "host": "api.github.com"
    },
    "responseIsBinary": false
  },
  {
    "scope": "https://api.github.com:443",
    "method": "delete",
    "path": "/repos/octokit-fixture-org/tmp-scenario-branch-protection-20220719043700727-wbo1k/branches/main/protection",
    "body": "",
    "status": 204,
    "response": "",
    "rawHeaders": [
      "Server",
      "GitHub.com",
      "Date",
      "Tue, 19 Jul 2022 04:37:16 GMT",
      "X-OAuth-Scopes",
      "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
      "X-Accepted-OAuth-Scopes",
      "",
      "X-GitHub-Media-Type",
      "github.v3; format=json",
      "X-RateLimit-Limit",
      "5000",
      "X-RateLimit-Remaining",
      "4982",
      "X-RateLimit-Reset",
      "1658208999",
      "X-RateLimit-Used",
      "18",
      "X-RateLimit-Resource",
      "core",
      "Access-Control-Expose-Headers",
      "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
      "Access-Control-Allow-Origin",
      "*",
      "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",
      "0680:9DE7:2E32EC6:57F9BCF:62D634FB",
      "connection",
      "close"
    ],
    "reqheaders": {
      "accept": "application/vnd.github.v3+json",
      "authorization": "token 0000000000000000000000000000000000000001",
      "host": "api.github.com"
    },
    "responseIsBinary": false
  }
]
