diff --git a/.gitignore b/.gitignore index 0a687940..b48ef102 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,7 @@ apps/desktop/src-tauri/gen/ # Generated SBOMs (CI artifacts, never committed) *.cdx.json + +# Python bytecode (the conformance harness runs with python3 -I) +__pycache__/ +*.pyc diff --git a/crates/forge/conformance/FINDINGS.md b/crates/forge/conformance/FINDINGS.md index 03c952e9..73d47505 100644 --- a/crates/forge/conformance/FINDINGS.md +++ b/crates/forge/conformance/FINDINGS.md @@ -160,7 +160,8 @@ Each version passes its own fixtures (22/22). Checking the 1.22.6 fixtures again - A full record run takes about 2.5 to 3 minutes per version and needs a fresh server (the merge scenario waits for Gitea's async PR checks and is the slowest, about 45 s). -- Fixtures are 3.5 MB across the two versions; compact JSON would roughly halve that. +- Fixtures are stored compactly (header on one line, one exchange per line): 2.3 MB across the two versions, down from 3.8 MB. + Most of the rest is real payload (diffs, base64, git output), so further savings would mean dropping recorded content. ## Additional recordings (review follow-up) diff --git a/crates/forge/conformance/README.md b/crates/forge/conformance/README.md index ddbd2c35..ada1b9ac 100644 --- a/crates/forge/conformance/README.md +++ b/crates/forge/conformance/README.md @@ -7,7 +7,8 @@ serves, **recorded from real Gitea** rather than written by hand. A scenario run - `check` runs the same scenarios against any server and compares the result with the fixtures. - `diff` compares two fixture directories offline, for example `1.22.6` against `1.26.2`. -`show` prints a readable digest of a fixture directory. Everything is Python 3 standard library plus +`show` prints a readable digest of a fixture directory. `selftest` (offline, run by `forge-check.sh`) checks that the compact fixture writer round-trips and that +every stored fixture is exactly what it would write. Everything is Python 3 standard library plus `git` and (for recording) Docker. Always run Python as `python3 -I`. ## Record against real Gitea diff --git a/crates/forge/conformance/fixtures/1.22.6/A-meta.json b/crates/forge/conformance/fixtures/1.22.6/A-meta.json index 64958bcd..6ed763f6 100644 --- a/crates/forge/conformance/fixtures/1.22.6/A-meta.json +++ b/crates/forge/conformance/fixtures/1.22.6/A-meta.json @@ -1,165 +1,11 @@ -{ - "scenario": "A", - "title": "meta", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/version", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "version": "1.22.6" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/version", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/healthz", - "auth": "none", - "status": 200, - "headers": { - "content-type": "application/json" - }, - "body": { - "status": "pass", - "description": "Gitea: Git with a cup of tea", - "checks": { - "cache:ping": [ - { - "status": "pass", - "time": "" - } - ], - "database:ping": [ - { - "status": "pass", - "time": "" - } - ] - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": true, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos//probe", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos//probe", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos//missing", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"A","title":"meta","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/version","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"version":"1.22.6"}}, +{"kind":"http","method":"GET","path":"/api/v1/version","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/healthz","auth":"none","status":200,"headers":{"content-type":"application/json"},"body":{"status":"pass","description":"Gitea: Git with a cup of tea","checks":{"cache:ping":[{"status":"pass","time":""}],"database:ping":[{"status":"pass","time":""}]}}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":true,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos//probe","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos//probe","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos//missing","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/B-users-orgs-tokens.json b/crates/forge/conformance/fixtures/1.22.6/B-users-orgs-tokens.json index 5d9d8371..13eb5f8f 100644 --- a/crates/forge/conformance/fixtures/1.22.6/B-users-orgs-tokens.json +++ b/crates/forge/conformance/fixtures/1.22.6/B-users-orgs-tokens.json @@ -1,915 +1,38 @@ -{ - "scenario": "B", - "title": "users-orgs-tokens", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 201, - "request": { - "username": "alice", - "email": "alice@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "alice", - "email": "alice@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: alice]", - "url": "/api/swagger" - }, - "must_contain": [ - "already exists" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 201, - "request": { - "username": "bot", - "email": "bot@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/admin/users/alice", - "auth": "admin", - "status": 200, - "request": { - "login_name": "alice", - "source_id": "", - "password": "", - "visibility": "private", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/nobody-here", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user redirect does not exist [name: nobody-here]", - "url": "/api/swagger" - }, - "must_contain": [ - "not exist" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 201, - "request": { - "username": "acme", - "full_name": "Acme", - "visibility": "private" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "acme", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "description": "", - "website": "", - "location": "", - "visibility": "private", - "repo_admin_change_team_access": false, - "username": "acme" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "acme", - "full_name": "Acme", - "visibility": "private" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: acme]", - "url": "/api/swagger" - }, - "must_contain": [ - "already exists" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "acme", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "description": "", - "website": "", - "location": "", - "visibility": "private", - "repo_admin_change_team_access": false, - "username": "acme" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/nobody-org", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": [ - "user redirect does not exist [name: nobody-org]" - ], - "message": "GetOrgByName", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users//orgs/acme/permissions", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "is_owner": true, - "is_admin": true, - "can_write": true, - "can_read": true, - "can_create_repository": true - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/orgs/acme/permissions", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "HasOrgOrUserVisible", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/teams", - "auth": "admin", - "status": 201, - "request": { - "name": "devs", - "permission": "read", - "includes_all_repositories": false, - "units": [ - "repo.code", - "repo.pulls" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "devs", - "description": "", - "organization": { - "id": "", - "name": "acme", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "description": "", - "website": "", - "location": "", - "visibility": "private", - "repo_admin_change_team_access": false, - "username": "acme" - }, - "includes_all_repositories": false, - "permission": "read", - "units": [ - "repo.code", - "repo.pulls" - ], - "units_map": { - "repo.code": "read", - "repo.pulls": "read" - }, - "can_create_org_repo": false - }, - "tags": [ - "team" - ] - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/teams//members/carol", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "", - "tags": [ - "team" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/carol/orgs/acme/permissions", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "is_owner": false, - "is_admin": false, - "can_write": false, - "can_read": true, - "can_create_repository": false - }, - "tags": [ - "team" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "ci", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "tmp", - "scopes": [ - "read:repository", - "write:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "tmp", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "write:repository" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - }, - { - "id": "", - "name": "tmp", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "write:repository" - ] - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [read:user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/users/alice/tokens/", - "auth": "alice-basic", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 400, - "request": { - "name": "ci", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "access token name has been used already", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "bot-basic", - "status": 201, - "request": { - "name": "scoped", - "scopes": [ - "read:user", - "read:organization", - "write:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "scoped", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:organization", - "write:repository", - "read:user" - ] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "alice-ro", - "status": 403, - "request": { - "name": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:organization]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped", - "auth": "alice-ro", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "scoped", - "full_name": "alice/scoped", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/alice/scoped/languages", - "html_url": "/alice/scoped", - "url": "/api/v1/repos/alice/scoped", - "link": "", - "ssh_url": "ssh:///alice/scoped.git", - "clone_url": "/alice/scoped.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "alice-ro", - "status": 403, - "request": { - "name": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/alice/scoped/contents/new.txt", - "auth": "alice-ro", - "status": 403, - "request": { - "content": "aGk=", - "message": "m" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:repository]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/alice/scoped/contents/README.md", - "auth": "alice-ro", - "status": 403, - "request": { - "content": "aGk=", - "message": "m", - "sha": "" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:repository]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/alice/scoped/collaborators/carol", - "auth": "alice-ro", - "status": 403, - "request": { - "permission": "write" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:repository]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/alice/scoped/statuses/", - "auth": "alice-ro", - "status": 403, - "request": { - "state": "success", - "context": "x" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:repository]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "HasOrgOrUserVisible", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/admin/users", - "auth": "bot-scoped", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [read:admin]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "bot-scoped", - "status": 403, - "request": { - "name": "botrepo", - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"B","title":"users-orgs-tokens","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":201,"request":{"username":"alice","email":"alice@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"alice","email":"alice@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: alice]","url":"/api/swagger"},"must_contain":["already exists"]}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":201,"request":{"username":"bot","email":"bot@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/admin/users/alice","auth":"admin","status":200,"request":{"login_name":"alice","source_id":"","password":"","visibility":"private","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/users/nobody-here","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user redirect does not exist [name: nobody-here]","url":"/api/swagger"},"must_contain":["not exist"]}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":201,"request":{"username":"acme","full_name":"Acme","visibility":"private"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"acme","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","description":"","website":"","location":"","visibility":"private","repo_admin_change_team_access":false,"username":"acme"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"acme","full_name":"Acme","visibility":"private"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: acme]","url":"/api/swagger"},"must_contain":["already exists"]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"acme","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","description":"","website":"","location":"","visibility":"private","repo_admin_change_team_access":false,"username":"acme"}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/nobody-org","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":["user redirect does not exist [name: nobody-org]"],"message":"GetOrgByName","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/users//orgs/acme/permissions","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"is_owner":true,"is_admin":true,"can_write":true,"can_read":true,"can_create_repository":true}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/orgs/acme/permissions","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"HasOrgOrUserVisible","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/teams","auth":"admin","status":201,"request":{"name":"devs","permission":"read","includes_all_repositories":false,"units":["repo.code","repo.pulls"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"devs","description":"","organization":{"id":"","name":"acme","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","description":"","website":"","location":"","visibility":"private","repo_admin_change_team_access":false,"username":"acme"},"includes_all_repositories":false,"permission":"read","units":["repo.code","repo.pulls"],"units_map":{"repo.code":"read","repo.pulls":"read"},"can_create_org_repo":false},"tags":["team"]}, +{"kind":"http","method":"PUT","path":"/api/v1/teams//members/carol","auth":"admin","status":204,"headers":{},"body_text":"","tags":["team"]}, +{"kind":"http","method":"GET","path":"/api/v1/users/carol/orgs/acme/permissions","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"is_owner":false,"is_admin":false,"can_write":false,"can_read":true,"can_create_repository":false},"tags":["team"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"ci","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"]}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"tmp","scopes":["read:repository","write:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"tmp","sha1":"","token_last_eight":"","scopes":["write:repository"]}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"]},{"id":"","name":"tmp","sha1":"","token_last_eight":"","scopes":["write:repository"]}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-ro","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [read:user]","url":"/api/swagger"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/users/alice/tokens/","auth":"alice-basic","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"]}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":400,"request":{"name":"ci","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"access token name has been used already","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"bot-basic","status":201,"request":{"name":"scoped","scopes":["read:user","read:organization","write:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"scoped","sha1":"","token_last_eight":"","scopes":["read:organization","write:repository","read:user"]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"alice-ro","status":403,"request":{"name":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:organization]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped","auth":"alice-ro","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"scoped","full_name":"alice/scoped","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/alice/scoped/languages","html_url":"/alice/scoped","url":"/api/v1/repos/alice/scoped","link":"","ssh_url":"ssh:///alice/scoped.git","clone_url":"/alice/scoped.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"alice-ro","status":403,"request":{"name":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:user]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/alice/scoped/contents/new.txt","auth":"alice-ro","status":403,"request":{"content":"aGk=","message":"m"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:repository]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/alice/scoped/contents/README.md","auth":"alice-ro","status":403,"request":{"content":"aGk=","message":"m","sha":""},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:repository]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/alice/scoped/collaborators/carol","auth":"alice-ro","status":403,"request":{"permission":"write"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:repository]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/alice/scoped/statuses/","auth":"alice-ro","status":403,"request":{"state":"success","context":"x"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:repository]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"HasOrgOrUserVisible","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/admin/users","auth":"bot-scoped","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [read:admin]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"bot-scoped","status":403,"request":{"name":"botrepo","private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:user]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/C-repos.json b/crates/forge/conformance/fixtures/1.22.6/C-repos.json index d20d4836..b3fee7c7 100644 --- a/crates/forge/conformance/fixtures/1.22.6/C-repos.json +++ b/crates/forge/conformance/fixtures/1.22.6/C-repos.json @@ -1,2265 +1,41 @@ -{ - "scenario": "C", - "title": "repos", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "alpha", - "auto_init": true, - "default_branch": "main", - "private": true, - "readme": "Default" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 409, - "request": { - "name": "alpha", - "auto_init": true, - "default_branch": "main", - "private": true, - "readme": "Default" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The repository with the same name already exists.", - "url": "/api/swagger" - }, - "must_contain": [ - "already exists" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "empty", - "auto_init": false, - "private": true, - "default_branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/empty", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/missing", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "request": { - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "request": { - "has_actions": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "request": { - "description": "Alpha repo" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "scoped", - "full_name": "alice/scoped", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/alice/scoped/languages", - "html_url": "/alice/scoped", - "url": "/api/v1/repos/alice/scoped", - "link": "", - "ssh_url": "ssh:///alice/scoped.git", - "clone_url": "/alice/scoped.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "name": "probe", - "full_name": "/probe", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos//probe/languages", - "html_url": "//probe", - "url": "/api/v1/repos//probe", - "link": "", - "ssh_url": "ssh:////probe.git", - "clone_url": "//probe.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=alp&limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/bot", - "auth": "admin", - "status": 204, - "request": { - "permission": "write" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/carol", - "auth": "admin", - "status": 204, - "request": { - "permission": "read" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/alice", - "auth": "admin", - "status": 204, - "request": { - "permission": "write" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/nobody-here", - "auth": "admin", - "status": 422, - "request": { - "permission": "write" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: nobody-here]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha/collaborators", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": [ - { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha/collaborators/bot/permission", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "permission": "write", - "role_name": "write", - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/alpha/collaborators/carol", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/carol", - "auth": "admin", - "status": 204, - "request": { - "permission": "read" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "git", - "name": "push-write-collab", - "cmd": "git push origin HEAD:refs/heads/bot-branch", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'bot-branch': \nremote: /acme/alpha/compare/main...bot-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-branch" - }, - { - "kind": "git", - "name": "push-write-scoped-token", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/bot-scoped-branch", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'bot-scoped-branch': \nremote: /acme/alpha/compare/main...bot-scoped-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-scoped-branch" - }, - { - "kind": "git", - "name": "push-readonly-scope", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/ro-scope", - "ok": false, - "output": "remote: Forbidden\nfatal: unable to access '/acme/alpha.git/': The requested URL returned error: 403", - "refusal": [ - "remote: forbidden", - "fatal: unable to access '/acme/alpha.git/': the requested url returned error: 403" - ] - }, - { - "kind": "git", - "name": "push-read-collab", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/carol-branch", - "ok": false, - "output": "remote: \nremote: Gitea: User permission denied for writing. \nTo /acme/alpha.git\n ! [remote rejected] HEAD -> carol-branch (pre-receive hook declined)\nerror: failed to push some refs to '/acme/alpha.git'", - "refusal": [ - "remote: gitea: user permission denied for writing.", - "! [remote rejected] head -> carol-branch (pre-receive hook declined)", - "error: failed to push some refs to '/acme/alpha.git'" - ] - }, - { - "kind": "git", - "name": "push-no-grant", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/dave-branch", - "ok": false, - "output": "remote: Repository not found\nfatal: repository '/acme/alpha.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/alpha.git/' not found" - ] - }, - { - "kind": "git", - "name": "clone-no-grant", - "cmd": "git clone http://@/acme/alpha.git /dave-clone", - "ok": false, - "output": "Cloning into '/dave-clone'...\nremote: Repository not found\nfatal: repository '/acme/alpha.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/alpha.git/' not found" - ] - }, - { - "kind": "git", - "name": "clone-read-collab", - "cmd": "git clone http://@/acme/alpha.git /carol-clone", - "ok": true, - "output": "Cloning into '/carol-clone'..." - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "doomed", - "auto_init": true, - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "doomed", - "full_name": "acme/doomed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/doomed/languages", - "html_url": "/acme/doomed", - "url": "/api/v1/repos/acme/doomed", - "link": "", - "ssh_url": "ssh:///acme/doomed.git", - "clone_url": "/acme/doomed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/doomed", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/doomed", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/doomed", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "doomed", - "auto_init": true, - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "doomed", - "full_name": "acme/doomed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/doomed/languages", - "html_url": "/acme/doomed", - "url": "/api/v1/repos/acme/doomed", - "link": "", - "ssh_url": "ssh:///acme/doomed.git", - "clone_url": "/acme/doomed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - } - ] -} +{"scenario":"C","title":"repos","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"alpha","auto_init":true,"default_branch":"main","private":true,"readme":"Default"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":409,"request":{"name":"alpha","auto_init":true,"default_branch":"main","private":true,"readme":"Default"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The repository with the same name already exists.","url":"/api/swagger"},"must_contain":["already exists"]}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"empty","auto_init":false,"private":true,"default_branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/empty","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/missing","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"request":{"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"request":{"has_actions":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"request":{"description":"Alpha repo"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"scoped","full_name":"alice/scoped","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/alice/scoped/languages","html_url":"/alice/scoped","url":"/api/v1/repos/alice/scoped","link":"","ssh_url":"ssh:///alice/scoped.git","clone_url":"/alice/scoped.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"name":"probe","full_name":"/probe","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos//probe/languages","html_url":"//probe","url":"/api/v1/repos//probe","link":"","ssh_url":"ssh:////probe.git","clone_url":"//probe.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=alp&limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/bot","auth":"admin","status":204,"request":{"permission":"write"},"headers":{},"body_text":""}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/carol","auth":"admin","status":204,"request":{"permission":"read"},"headers":{},"body_text":""}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/alice","auth":"admin","status":204,"request":{"permission":"write"},"headers":{},"body_text":""}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/nobody-here","auth":"admin","status":422,"request":{"permission":"write"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: nobody-here]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha/collaborators","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":[{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha/collaborators/bot/permission","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"permission":"write","role_name":"write","user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/alpha/collaborators/carol","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/carol","auth":"admin","status":204,"request":{"permission":"read"},"headers":{},"body_text":""}, +{"kind":"git","name":"push-write-collab","cmd":"git push origin HEAD:refs/heads/bot-branch","ok":true,"output":"remote: \nremote: Create a new pull request for 'bot-branch': \nremote: /acme/alpha/compare/main...bot-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-branch"}, +{"kind":"git","name":"push-write-scoped-token","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/bot-scoped-branch","ok":true,"output":"remote: \nremote: Create a new pull request for 'bot-scoped-branch': \nremote: /acme/alpha/compare/main...bot-scoped-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-scoped-branch"}, +{"kind":"git","name":"push-readonly-scope","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/ro-scope","ok":false,"output":"remote: Forbidden\nfatal: unable to access '/acme/alpha.git/': The requested URL returned error: 403","refusal":["remote: forbidden","fatal: unable to access '/acme/alpha.git/': the requested url returned error: 403"]}, +{"kind":"git","name":"push-read-collab","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/carol-branch","ok":false,"output":"remote: \nremote: Gitea: User permission denied for writing. \nTo /acme/alpha.git\n ! [remote rejected] HEAD -> carol-branch (pre-receive hook declined)\nerror: failed to push some refs to '/acme/alpha.git'","refusal":["remote: gitea: user permission denied for writing.","! [remote rejected] head -> carol-branch (pre-receive hook declined)","error: failed to push some refs to '/acme/alpha.git'"]}, +{"kind":"git","name":"push-no-grant","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/dave-branch","ok":false,"output":"remote: Repository not found\nfatal: repository '/acme/alpha.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/alpha.git/' not found"]}, +{"kind":"git","name":"clone-no-grant","cmd":"git clone http://@/acme/alpha.git /dave-clone","ok":false,"output":"Cloning into '/dave-clone'...\nremote: Repository not found\nfatal: repository '/acme/alpha.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/alpha.git/' not found"]}, +{"kind":"git","name":"clone-read-collab","cmd":"git clone http://@/acme/alpha.git /carol-clone","ok":true,"output":"Cloning into '/carol-clone'..."}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"doomed","auto_init":true,"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"doomed","full_name":"acme/doomed","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/doomed/languages","html_url":"/acme/doomed","url":"/api/v1/repos/acme/doomed","link":"","ssh_url":"ssh:///acme/doomed.git","clone_url":"/acme/doomed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/doomed","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/doomed","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/doomed","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"doomed","auto_init":true,"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"doomed","full_name":"acme/doomed","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/doomed/languages","html_url":"/acme/doomed","url":"/api/v1/repos/acme/doomed","link":"","ssh_url":"ssh:///acme/doomed.git","clone_url":"/acme/doomed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/D-empty-repo.json b/crates/forge/conformance/fixtures/1.22.6/D-empty-repo.json index cd9ab425..c9e2a831 100644 --- a/crates/forge/conformance/fixtures/1.22.6/D-empty-repo.json +++ b/crates/forge/conformance/fixtures/1.22.6/D-empty-repo.json @@ -1,288 +1,16 @@ -{ - "scenario": "D", - "title": "empty-repo", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/commits", - "auth": "admin", - "status": 409, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Git Repository is empty.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/commits?sha=main&limit=1", - "auth": "admin", - "status": 409, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Git Repository is empty.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": null - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/branches/main", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": [ - "branch does not exist [name: main]" - ], - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/refs/heads", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/refs", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/contents", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/contents/README.md", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/trees/main", - "auth": "admin", - "status": 400, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "sha not found [main]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/commits/HEAD", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "HEAD", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/archive/main.zip", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "unrecognized repository reference: main", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/pulls?state=all", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"D","title":"empty-repo","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/commits","auth":"admin","status":409,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Git Repository is empty.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/commits?sha=main&limit=1","auth":"admin","status":409,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Git Repository is empty.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":null}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/branches/main","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":["branch does not exist [name: main]"],"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/refs/heads","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/refs","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/contents","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/contents/README.md","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/trees/main","auth":"admin","status":400,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"sha not found [main]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/commits/HEAD","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"HEAD","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/archive/main.zip","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"unrecognized repository reference: main","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/pulls?state=all","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/E-history-reads.json b/crates/forge/conformance/fixtures/1.22.6/E-history-reads.json index dbd7fd6e..a251a992 100644 --- a/crates/forge/conformance/fixtures/1.22.6/E-history-reads.json +++ b/crates/forge/conformance/fixtures/1.22.6/E-history-reads.json @@ -1,2306 +1,50 @@ -{ - "scenario": "E", - "title": "history-reads", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "note", - "key": "hist_first_read", - "value": { - "empty": false, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "name": "feat/x", - "commit": { - "id": "", - "message": "feat two\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "main", - "commit": { - "id": "", - "message": "third\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches?limit=1&page=2", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2", - "link": "</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"first\",</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"prev\"" - }, - "body": [ - { - "name": "main", - "commit": { - "id": "", - "message": "third\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "main", - "commit": { - "id": "", - "message": "third\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches/feat/x", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "feat/x", - "commit": { - "id": "", - "message": "feat two\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches/nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": [ - "branch does not exist [name: nope]" - ], - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/feat/x", - "url": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - }, - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/hist/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/hist/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/feat/x", - "url": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads/nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/feat/x", - "url": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - }, - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/hist/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=1&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"next\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"last\"" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=2&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\"" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=3&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\"" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=feat/x&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat two\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat one\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat two\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat one\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?limit=1&page=2&sha=main>; rel=\"next\",</api/v1/repos/acme/hist/commits?limit=1&page=3&sha=main>; rel=\"last\"" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "README.md", - "status": "modified" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=nope&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 500, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "object does not exist [id: nope, rel_path: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "README.md", - "status": "modified" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat two\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "feat2.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/.diff", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "diff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n", - "must_contain": [ - "diff --git" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/.patch", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH] third\n\n---\n README.md | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n", - "must_contain": [ - "From " - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/trees/?recursive=true", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": { - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/", - "tree": [ - { - "path": "README.md", - "mode": "100644", - "type": "blob", - "size": 14, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "docs", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - }, - { - "path": "docs/guide.md", - "mode": "100644", - "type": "blob", - "size": 6, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "src", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - }, - { - "path": "src/lib.rs", - "mode": "100644", - "type": "blob", - "size": 13, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - } - ], - "truncated": false, - "page": 1, - "total_count": 5 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/trees/", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": { - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/", - "tree": [ - { - "path": "README.md", - "mode": "100644", - "type": "blob", - "size": 14, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "docs", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - }, - { - "path": "src", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - } - ], - "truncated": false, - "page": 1, - "total_count": 3 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/trees/main?recursive=true&per_page=2&page=1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": { - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/", - "tree": [ - { - "path": "README.md", - "mode": "100644", - "type": "blob", - "size": 14, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "docs", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - } - ], - "truncated": true, - "page": 1, - "total_count": 5 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 14, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "html_url": "/acme/hist/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/README.md" - } - }, - { - "name": "docs", - "path": "docs", - "sha": "", - "last_commit_sha": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/docs?ref=main", - "html_url": "/acme/hist/src/branch/main/docs", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/docs?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/docs" - } - }, - { - "name": "src", - "path": "src", - "sha": "", - "last_commit_sha": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/src?ref=main", - "html_url": "/acme/hist/src/branch/main/src", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/src?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/src" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents?ref=feat/x", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 7, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/feat/x/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/README.md" - } - }, - { - "name": "docs", - "path": "docs", - "sha": "", - "last_commit_sha": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/docs", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/docs" - } - }, - { - "name": "feat1.txt", - "path": "feat1.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 3, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/feat1.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/feat/x/feat1.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/feat1.txt" - } - }, - { - "name": "feat2.txt", - "path": "feat2.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 3, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/feat2.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/feat/x/feat2.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/feat2.txt" - } - }, - { - "name": "src", - "path": "src", - "sha": "", - "last_commit_sha": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/src", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/src" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/docs", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "guide.md", - "path": "docs/guide.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 6, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main", - "html_url": "/acme/hist/src/branch/main/docs/guide.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/docs/guide.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/docs/guide.md" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 14, - "encoding": "base64", - "content": "IyBoaXN0CmVkaXRlZAo=", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "html_url": "/acme/hist/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/README.md" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/README.md?ref=", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 7, - "encoding": "base64", - "content": "IyBoaXN0Cg==", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=", - "html_url": "/acme/hist/src/commit//README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/commit//README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/commit//README.md" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/src/lib.rs", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "lib.rs", - "path": "src/lib.rs", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 13, - "encoding": "base64", - "content": "Zm4gbWFpbigpIHt9Cg==", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main", - "html_url": "/acme/hist/src/branch/main/src/lib.rs", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/src/lib.rs", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/src/lib.rs" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/nope.txt", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": [ - "object does not exist [id: , rel_path: nope.txt]" - ], - "message": "GetContentsOrList", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/README.md?ref=nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": [ - "object does not exist [id: nope, rel_path: ]" - ], - "message": "GetContentsOrList", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/new.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "bmV3Cg==", - "message": "add new.txt", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "new.txt", - "path": "new.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 4, - "encoding": "base64", - "content": "bmV3Cg==", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/new.txt?ref=main", - "html_url": "/acme/hist/src/branch/main/new.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/new.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/new.txt?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/new.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "add new.txt\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/new.txt", - "auth": "admin", - "status": 422, - "request": { - "content": "bmV3Cg==", - "message": "add again", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "repository file already exists [path: new.txt]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/README.md", - "auth": "admin", - "status": 200, - "request": { - "content": "IyBoaXN0CnVwZGF0ZWQK", - "message": "update readme", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 15, - "encoding": "base64", - "content": "IyBoaXN0CnVwZGF0ZWQK", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "html_url": "/acme/hist/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/README.md" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update readme\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/README.md", - "auth": "admin", - "status": 422, - "request": { - "content": "IyBoaXN0CnN0YWxlCg==", - "message": "stale update", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "sha does not match [given: , expected: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/README.md", - "auth": "admin", - "status": 422, - "request": { - "content": "IyBoaXN0Cm5vIHNoYQo=", - "message": "no sha", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[SHA]: Required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/branch-file.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "Ygo=", - "message": "to new branch", - "branch": "main", - "new_branch": "api-branch" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "branch-file.txt", - "path": "branch-file.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "Ygo=", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch", - "html_url": "/acme/hist/src/branch/api-branch/branch-file.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/api-branch/branch-file.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/api-branch/branch-file.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "to new branch\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/new.txt", - "auth": "admin", - "status": 200, - "request": { - "content": "bmV3Mgo=", - "message": "update to new branch", - "sha": "", - "branch": "main", - "new_branch": "api-branch-2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "new.txt", - "path": "new.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 5, - "encoding": "base64", - "content": "bmV3Mgo=", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2", - "html_url": "/acme/hist/src/branch/api-branch-2/new.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/api-branch-2/new.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/api-branch-2/new.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update to new branch\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/x.txt", - "auth": "admin", - "status": 422, - "request": { - "content": "eAo=", - "message": "dup branch", - "branch": "main", - "new_branch": "api-branch" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "branch already exists [name: api-branch]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/main.zip", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/octet-stream", - "link": "</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\"" - }, - "body_prefix_hex": "504b0304", - "archive": [ - { - "name": "hist/", - "size": 0, - "sha256": null - }, - { - "name": "hist/README.md", - "size": 15, - "sha256": "f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f" - }, - { - "name": "hist/docs/", - "size": 0, - "sha256": null - }, - { - "name": "hist/docs/guide.md", - "size": 6, - "sha256": "90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f" - }, - { - "name": "hist/new.txt", - "size": 4, - "sha256": "7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c" - }, - { - "name": "hist/src/", - "size": 0, - "sha256": null - }, - { - "name": "hist/src/lib.rs", - "size": 13, - "sha256": "536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/main.tar.gz", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/octet-stream", - "link": "</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\"" - }, - "body_prefix_hex": "1f8b0800", - "archive": [ - { - "name": "hist", - "size": 0, - "sha256": null - }, - { - "name": "hist/README.md", - "size": 15, - "sha256": "f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f" - }, - { - "name": "hist/docs", - "size": 0, - "sha256": null - }, - { - "name": "hist/docs/guide.md", - "size": 6, - "sha256": "90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f" - }, - { - "name": "hist/new.txt", - "size": 4, - "sha256": "7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c" - }, - { - "name": "hist/src", - "size": 0, - "sha256": null - }, - { - "name": "hist/src/lib.rs", - "size": 13, - "sha256": "536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/.zip", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/octet-stream", - "link": "</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\"" - }, - "body_prefix_hex": "504b0304", - "archive": [ - { - "name": "hist/", - "size": 0, - "sha256": null - }, - { - "name": "hist/README.md", - "size": 7, - "sha256": "f61fd51ed8a1210100bca867c775464457dd5a21dd2368bfed695de3a2ca80e1" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/nope.zip", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "unrecognized repository reference: nope", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"E","title":"history-reads","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"note","key":"hist_first_read","value":{"empty":false,"default_branch":"main"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"name":"feat/x","commit":{"id":"","message":"feat two\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"main","commit":{"id":"","message":"third\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches?limit=1&page=2","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2","link":"</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"first\",</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"prev\""},"body":[{"name":"main","commit":{"id":"","message":"third\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"main","commit":{"id":"","message":"third\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches/feat/x","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"feat/x","commit":{"id":"","message":"feat two\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches/nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":["branch does not exist [name: nope]"],"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/feat/x","url":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}},{"ref":"refs/heads/main","url":"/api/v1/repos/acme/hist/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/main","url":"/api/v1/repos/acme/hist/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/feat/x","url":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads/nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/feat/x","url":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}},{"ref":"refs/heads/main","url":"/api/v1/repos/acme/hist/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=50&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=1&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"next\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"last\""},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=2&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\""},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=3&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\""},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=feat/x&limit=50&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat two\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat one\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=&limit=50&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat two\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat one\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?limit=1&page=2&sha=main>; rel=\"next\",</api/v1/repos/acme/hist/commits?limit=1&page=3&sha=main>; rel=\"last\""},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":[{"filename":"README.md","status":"modified"}],"stats":{"total":1,"additions":1,"deletions":0}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=nope&limit=50&stat=false&files=false&verification=false","auth":"admin","status":500,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"object does not exist [id: nope, rel_path: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":[{"filename":"README.md","status":"modified"}],"stats":{"total":1,"additions":1,"deletions":0}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat two\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":[{"filename":"feat2.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/.diff","auth":"admin","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"diff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n","must_contain":["diff --git"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/.patch","auth":"admin","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH] third\n\n---\n README.md | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n","must_contain":["From "]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/trees/?recursive=true","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":{"sha":"","url":"/api/v1/repos/acme/hist/git/trees/","tree":[{"path":"README.md","mode":"100644","type":"blob","size":14,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"docs","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"},{"path":"docs/guide.md","mode":"100644","type":"blob","size":6,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"src","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"},{"path":"src/lib.rs","mode":"100644","type":"blob","size":13,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"}],"truncated":false,"page":1,"total_count":5}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/trees/","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":{"sha":"","url":"/api/v1/repos/acme/hist/git/trees/","tree":[{"path":"README.md","mode":"100644","type":"blob","size":14,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"docs","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"},{"path":"src","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"}],"truncated":false,"page":1,"total_count":3}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/trees/main?recursive=true&per_page=2&page=1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":{"sha":"","url":"/api/v1/repos/acme/hist/git/trees/","tree":[{"path":"README.md","mode":"100644","type":"blob","size":14,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"docs","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"}],"truncated":true,"page":1,"total_count":5}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":14,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=main","html_url":"/acme/hist/src/branch/main/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/README.md"}},{"name":"docs","path":"docs","sha":"","last_commit_sha":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/docs?ref=main","html_url":"/acme/hist/src/branch/main/docs","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/docs?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/docs"}},{"name":"src","path":"src","sha":"","last_commit_sha":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/src?ref=main","html_url":"/acme/hist/src/branch/main/src","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/src?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/src"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents?ref=feat/x","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":7,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/feat/x/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/README.md"}},{"name":"docs","path":"docs","sha":"","last_commit_sha":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/docs","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/docs"}},{"name":"feat1.txt","path":"feat1.txt","sha":"","last_commit_sha":"","type":"file","size":3,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/feat1.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/feat/x/feat1.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/feat1.txt"}},{"name":"feat2.txt","path":"feat2.txt","sha":"","last_commit_sha":"","type":"file","size":3,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/feat2.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/feat/x/feat2.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/feat2.txt"}},{"name":"src","path":"src","sha":"","last_commit_sha":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/src","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/src"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/docs","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"guide.md","path":"docs/guide.md","sha":"","last_commit_sha":"","type":"file","size":6,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main","html_url":"/acme/hist/src/branch/main/docs/guide.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/docs/guide.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/docs/guide.md"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/README.md?ref=main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":14,"encoding":"base64","content":"IyBoaXN0CmVkaXRlZAo=","target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=main","html_url":"/acme/hist/src/branch/main/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/README.md"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/README.md?ref=","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":7,"encoding":"base64","content":"IyBoaXN0Cg==","target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=","html_url":"/acme/hist/src/commit//README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/commit//README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/commit//README.md"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/src/lib.rs","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"lib.rs","path":"src/lib.rs","sha":"","last_commit_sha":"","type":"file","size":13,"encoding":"base64","content":"Zm4gbWFpbigpIHt9Cg==","target":null,"url":"/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main","html_url":"/acme/hist/src/branch/main/src/lib.rs","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/src/lib.rs","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/src/lib.rs"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/nope.txt","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":["object does not exist [id: , rel_path: nope.txt]"],"message":"GetContentsOrList","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/README.md?ref=nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":["object does not exist [id: nope, rel_path: ]"],"message":"GetContentsOrList","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/new.txt","auth":"admin","status":201,"request":{"content":"bmV3Cg==","message":"add new.txt","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"new.txt","path":"new.txt","sha":"","last_commit_sha":"","type":"file","size":4,"encoding":"base64","content":"bmV3Cg==","target":null,"url":"/api/v1/repos/acme/hist/contents/new.txt?ref=main","html_url":"/acme/hist/src/branch/main/new.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/new.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/new.txt?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/new.txt"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"add new.txt\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/new.txt","auth":"admin","status":422,"request":{"content":"bmV3Cg==","message":"add again","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"repository file already exists [path: new.txt]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/README.md","auth":"admin","status":200,"request":{"content":"IyBoaXN0CnVwZGF0ZWQK","message":"update readme","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":15,"encoding":"base64","content":"IyBoaXN0CnVwZGF0ZWQK","target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=main","html_url":"/acme/hist/src/branch/main/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/README.md"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"update readme\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/README.md","auth":"admin","status":422,"request":{"content":"IyBoaXN0CnN0YWxlCg==","message":"stale update","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"sha does not match [given: , expected: ]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/README.md","auth":"admin","status":422,"request":{"content":"IyBoaXN0Cm5vIHNoYQo=","message":"no sha","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[SHA]: Required","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/branch-file.txt","auth":"admin","status":201,"request":{"content":"Ygo=","message":"to new branch","branch":"main","new_branch":"api-branch"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"branch-file.txt","path":"branch-file.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":"base64","content":"Ygo=","target":null,"url":"/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch","html_url":"/acme/hist/src/branch/api-branch/branch-file.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/api-branch/branch-file.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/api-branch/branch-file.txt"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"to new branch\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/new.txt","auth":"admin","status":200,"request":{"content":"bmV3Mgo=","message":"update to new branch","sha":"","branch":"main","new_branch":"api-branch-2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"new.txt","path":"new.txt","sha":"","last_commit_sha":"","type":"file","size":5,"encoding":"base64","content":"bmV3Mgo=","target":null,"url":"/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2","html_url":"/acme/hist/src/branch/api-branch-2/new.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/api-branch-2/new.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/api-branch-2/new.txt"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"update to new branch\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/x.txt","auth":"admin","status":422,"request":{"content":"eAo=","message":"dup branch","branch":"main","new_branch":"api-branch"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"branch already exists [name: api-branch]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/main.zip","auth":"admin","status":200,"headers":{"content-type":"application/octet-stream","link":"</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\""},"body_prefix_hex":"504b0304","archive":[{"name":"hist/","size":0,"sha256":null},{"name":"hist/README.md","size":15,"sha256":"f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f"},{"name":"hist/docs/","size":0,"sha256":null},{"name":"hist/docs/guide.md","size":6,"sha256":"90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f"},{"name":"hist/new.txt","size":4,"sha256":"7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c"},{"name":"hist/src/","size":0,"sha256":null},{"name":"hist/src/lib.rs","size":13,"sha256":"536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/main.tar.gz","auth":"admin","status":200,"headers":{"content-type":"application/octet-stream","link":"</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\""},"body_prefix_hex":"1f8b0800","archive":[{"name":"hist","size":0,"sha256":null},{"name":"hist/README.md","size":15,"sha256":"f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f"},{"name":"hist/docs","size":0,"sha256":null},{"name":"hist/docs/guide.md","size":6,"sha256":"90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f"},{"name":"hist/new.txt","size":4,"sha256":"7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c"},{"name":"hist/src","size":0,"sha256":null},{"name":"hist/src/lib.rs","size":13,"sha256":"536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/.zip","auth":"admin","status":200,"headers":{"content-type":"application/octet-stream","link":"</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\""},"body_prefix_hex":"504b0304","archive":[{"name":"hist/","size":0,"sha256":null},{"name":"hist/README.md","size":7,"sha256":"f61fd51ed8a1210100bca867c775464457dd5a21dd2368bfed695de3a2ca80e1"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/nope.zip","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"unrecognized repository reference: nope","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/F-pulls.json b/crates/forge/conformance/fixtures/1.22.6/F-pulls.json index 4b27e791..c2399901 100644 --- a/crates/forge/conformance/fixtures/1.22.6/F-pulls.json +++ b/crates/forge/conformance/fixtures/1.22.6/F-pulls.json @@ -1,4945 +1,45 @@ -{ - "scenario": "F", - "title": "pulls", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "Add f1", - "body": "First", - "head": "f1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 409, - "request": { - "title": "Add f1", - "body": "First", - "head": "f1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "pull request already exists for these targets [id: 1, issue_id: 1, head_repo_id: 9, base_repo_id: 9, head_branch: f1, base_branch: main]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "Add f2", - "body": "Second", - "head": "f2", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 404, - "request": { - "title": "x", - "head": "nope", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 422, - "request": { - "title": "x", - "head": "main", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Invalid PullRequest: There are no changes between the head and the base", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 404, - "request": { - "title": "x", - "head": "f1", - "base": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "BaseNotExist", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 422, - "request": { - "head": "f1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Title]: Required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=all&head=acme%3Af2&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "note", - "key": "head_filter_returned_heads", - "value": [ - "f2", - "f1" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=closed&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "note", - "key": "head_sha_updated_immediately", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "head_sha_updated_within_10s", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "note", - "key": "head_sha_changed_after_push", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/.diff", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "diff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/.patch", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 1/2] commit on f1\n\n---\n f1.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1.txt\n\ndiff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\n-- \n2.45.2\n\n\nFrom Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 2/2] commit on f1\n\n---\n f1b.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1b.txt\n\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n-- \n2.45.2\n\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//commits", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/prs/commit/", - "commit": { - "url": "/api/v1/repos/acme/prs/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "commit on f1\n", - "tree": { - "url": "/api/v1/repos/acme/prs/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "f1b.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - }, - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/prs/commit/", - "commit": { - "url": "/api/v1/repos/acme/prs/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "commit on f1\n", - "tree": { - "url": "/api/v1/repos/acme/prs/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "f1.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//files", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "filename": "f1.txt", - "status": "added", - "additions": 1, - "deletions": 0, - "changes": 1, - "html_url": "/acme/prs/src/commit//f1.txt", - "contents_url": "/api/v1/repos/acme/prs/contents/f1.txt?ref=", - "raw_url": "/acme/prs/raw/commit//f1.txt" - }, - { - "filename": "f1b.txt", - "status": "added", - "additions": 1, - "deletions": 0, - "changes": 1, - "html_url": "/acme/prs/src/commit//f1b.txt", - "contents_url": "/api/v1/repos/acme/prs/contents/f1b.txt?ref=", - "raw_url": "/acme/prs/raw/commit//f1b.txt" - } - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=closed&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "open" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "Renamed f2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Renamed f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "admin", - "status": 200, - "request": { - "body": "looks fine", - "event": "COMMENT" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": true, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "alice", - "status": 200, - "request": { - "body": "please change", - "event": "REQUEST_CHANGES" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "REQUEST_CHANGES", - "body": "please change", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "alice", - "status": 200, - "request": { - "body": "now ok", - "event": "APPROVED" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "APPROVED", - "body": "now ok", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "carol", - "status": 200, - "request": { - "body": "read only approves", - "event": "APPROVED" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - "team": null, - "state": "APPROVED", - "body": "read only approves", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "bot-scoped", - "status": 422, - "request": { - "body": "self approve", - "event": "APPROVED" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "approve your own pull is not allowed", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "alice", - "status": 200, - "request": { - "body": "bogus", - "event": "BOGUS" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "PENDING", - "body": "bogus", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "REQUEST_CHANGES", - "body": "please change", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": true, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "APPROVED", - "body": "now ok", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - "team": null, - "state": "APPROVED", - "body": "read only approves", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews?page=1&limit=25", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "REQUEST_CHANGES", - "body": "please change", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": true, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "APPROVED", - "body": "now ok", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - "team": null, - "state": "APPROVED", - "body": "read only approves", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews//comments", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot-scoped", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [read:issue]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot-scoped", - "status": 403, - "request": { - "body": "hello" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:issue]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot-scoped", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [read:issue]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot", - "status": 201, - "request": { - "body": "hello" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1", - "issue_url": "", - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "original_author": "", - "original_author_id": "", - "body": "hello", - "assets": [], - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1", - "issue_url": "", - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "original_author": "", - "original_author_id": "", - "body": "hello", - "assets": [], - "created_at": "", - "updated_at": "" - } - ] - } - ] -} +{"scenario":"F","title":"pulls","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":201,"request":{"title":"Add f1","body":"First","head":"f1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":409,"request":{"title":"Add f1","body":"First","head":"f1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"pull request already exists for these targets [id: 1, issue_id: 1, head_repo_id: 9, base_repo_id: 9, head_branch: f1, base_branch: main]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":201,"request":{"title":"Add f2","body":"Second","head":"f2","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":404,"request":{"title":"x","head":"nope","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":422,"request":{"title":"x","head":"main","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Invalid PullRequest: There are no changes between the head and the base","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":404,"request":{"title":"x","head":"f1","base":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"BaseNotExist","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":422,"request":{"head":"f1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Title]: Required","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=all&head=acme%3Af2&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"note","key":"head_filter_returned_heads","value":["f2","f1"],"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=closed&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"note","key":"head_sha_updated_immediately","value":true,"strict":false}, +{"kind":"note","key":"head_sha_updated_within_10s","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"note","key":"head_sha_changed_after_push","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/.diff","auth":"bot-scoped","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"diff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/.patch","auth":"bot-scoped","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 1/2] commit on f1\n\n---\n f1.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1.txt\n\ndiff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\n-- \n2.45.2\n\n\nFrom Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 2/2] commit on f1\n\n---\n f1b.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1b.txt\n\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n-- \n2.45.2\n\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//commits","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":"","html_url":"/acme/prs/commit/","commit":{"url":"/api/v1/repos/acme/prs/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"commit on f1\n","tree":{"url":"/api/v1/repos/acme/prs/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":""}],"files":[{"filename":"f1b.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}},{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":"","html_url":"/acme/prs/commit/","commit":{"url":"/api/v1/repos/acme/prs/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"commit on f1\n","tree":{"url":"/api/v1/repos/acme/prs/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":""}],"files":[{"filename":"f1.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//files","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"filename":"f1.txt","status":"added","additions":1,"deletions":0,"changes":1,"html_url":"/acme/prs/src/commit//f1.txt","contents_url":"/api/v1/repos/acme/prs/contents/f1.txt?ref=","raw_url":"/acme/prs/raw/commit//f1.txt"},{"filename":"f1b.txt","status":"added","additions":1,"deletions":0,"changes":1,"html_url":"/acme/prs/src/commit//f1b.txt","contents_url":"/api/v1/repos/acme/prs/contents/f1b.txt?ref=","raw_url":"/acme/prs/raw/commit//f1b.txt"}]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=closed&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":201,"request":{"state":"open"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":201,"request":{"title":"Renamed f2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Renamed f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"admin","status":200,"request":{"body":"looks fine","event":"COMMENT"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":true,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"alice","status":200,"request":{"body":"please change","event":"REQUEST_CHANGES"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"REQUEST_CHANGES","body":"please change","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"alice","status":200,"request":{"body":"now ok","event":"APPROVED"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"APPROVED","body":"now ok","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"carol","status":200,"request":{"body":"read only approves","event":"APPROVED"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},"team":null,"state":"APPROVED","body":"read only approves","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"bot-scoped","status":422,"request":{"body":"self approve","event":"APPROVED"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"approve your own pull is not allowed","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"alice","status":200,"request":{"body":"bogus","event":"BOGUS"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"PENDING","body":"bogus","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"REQUEST_CHANGES","body":"please change","commit_id":"","stale":false,"official":false,"dismissed":true,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"APPROVED","body":"now ok","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},"team":null,"state":"APPROVED","body":"read only approves","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews?page=1&limit=25","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"REQUEST_CHANGES","body":"please change","commit_id":"","stale":false,"official":false,"dismissed":true,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"APPROVED","body":"now ok","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},"team":null,"state":"APPROVED","body":"read only approves","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews//comments","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot-scoped","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [read:issue]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot-scoped","status":403,"request":{"body":"hello"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:issue]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot-scoped","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [read:issue]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot","status":201,"request":{"body":"hello"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1","issue_url":"","user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"original_author":"","original_author_id":"","body":"hello","assets":[],"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1","issue_url":"","user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"original_author":"","original_author_id":"","body":"hello","assets":[],"created_at":"","updated_at":""}]} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/G-merge.json b/crates/forge/conformance/fixtures/1.22.6/G-merge.json index a12a22ec..fa19b993 100644 --- a/crates/forge/conformance/fixtures/1.22.6/G-merge.json +++ b/crates/forge/conformance/fixtures/1.22.6/G-merge.json @@ -1,4504 +1,78 @@ -{ - "scenario": "G", - "title": "merge", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m1", - "body": "body m1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/1", - "diff_url": "/acme/merges/pulls/1.diff", - "patch_url": "/acme/merges/pulls/1.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m1", - "ref": "m1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "merge_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "merge_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "merge_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m1", - "body": "body m1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/1", - "diff_url": "/acme/merges/pulls/1.diff", - "patch_url": "/acme/merges/pulls/1.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m1", - "ref": "m1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "note", - "key": "merged_flag_true_after_merge", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "merge_commit_sha_present", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "merge_commit_parent_count", - "value": 2, - "strict": true - }, - { - "kind": "note", - "key": "head_sha_unchanged_after_merge", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "", - "url": "/api/swagger" - } - }, - { - "kind": "note", - "key": "immediate_merge_status", - "value": 200, - "strict": false - }, - { - "kind": "note", - "key": "immediate_merge_message", - "value": "", - "strict": false - }, - { - "kind": "note", - "key": "immediate_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "immediate_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "immediate_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m1b", - "body": "body m1b", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/2", - "diff_url": "/acme/merges/pulls/2.diff", - "patch_url": "/acme/merges/pulls/2.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 26, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m1b", - "ref": "m1b", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 26, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "headid_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "headid_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "headid_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 409, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "head out of date", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 409, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "head out of date", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m3", - "body": "body m3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/4", - "diff_url": "/acme/merges/pulls/4.diff", - "patch_url": "/acme/merges/pulls/4.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m3", - "ref": "m3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "wrongid_then_right_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "wrongid_then_right_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "wrongid_then_right_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 422, - "request": { - "Do": "bogus" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Do]: In", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 422, - "request": {}, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Do]: Required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m4", - "body": "body m4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/merges/pulls/6", - "diff_url": "/acme/merges/pulls/6.diff", - "patch_url": "/acme/merges/pulls/6.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 32, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m4", - "ref": "m4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 32, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m4", - "body": "body m4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/merges/pulls/6", - "diff_url": "/acme/merges/pulls/6.diff", - "patch_url": "/acme/merges/pulls/6.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 32, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m4", - "ref": "m4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 32, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "again", - "head": "m1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/7", - "number": 7, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "again", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/merges/pulls/7", - "diff_url": "/acme/merges/pulls/7.diff", - "patch_url": "/acme/merges/pulls/7.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 32, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m1", - "ref": "m1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 32, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/9", - "number": 9, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cf2", - "body": "body cf2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/merges/pulls/9", - "diff_url": "/acme/merges/pulls/9.diff", - "patch_url": "/acme/merges/pulls/9.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 36, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "cf2", - "ref": "cf2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 36, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "strict_keys": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/10", - "number": 10, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m5", - "body": "body m5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/10", - "diff_url": "/acme/merges/pulls/10.diff", - "patch_url": "/acme/merges/pulls/10.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 36, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m5", - "ref": "m5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 36, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/10", - "number": 10, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m5", - "body": "body m5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/10", - "diff_url": "/acme/merges/pulls/10.diff", - "patch_url": "/acme/merges/pulls/10.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 36, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "m5", - "ref": "m5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 36, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "squash" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "squash_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "squash_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "squash_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/11", - "number": 11, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR sq", - "body": "body sq", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/merges/pulls/11", - "diff_url": "/acme/merges/pulls/11.diff", - "patch_url": "/acme/merges/pulls/11.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 37, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "sq", - "ref": "sq", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 37, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "note", - "key": "squash_parent_count", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "rebase" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "rebase_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "rebase_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "rebase_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/12", - "number": 12, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR rb", - "body": "body rb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/merges/pulls/12", - "diff_url": "/acme/merges/pulls/12.diff", - "patch_url": "/acme/merges/pulls/12.patch", - "mergeable": false, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 40, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "rb", - "ref": "rb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 40, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "note", - "key": "rebase_parent_count", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "rebase-merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "rebase_merge_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "rebase_merge_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "rebase_merge_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "note", - "key": "rebase_merge_parent_count", - "value": 2, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "fast-forward-only" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "ff_only_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "ff_only_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "ff_only_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/14", - "number": 14, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ffo", - "body": "body ffo", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/14", - "diff_url": "/acme/merges/pulls/14.diff", - "patch_url": "/acme/merges/pulls/14.patch", - "mergeable": false, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 45, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "ffo", - "ref": "ffo", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 45, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "note", - "key": "ff_only_parent_count", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 500, - "request": { - "Do": "fast-forward-only" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/15", - "number": 15, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ffo2", - "body": "body ffo2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/15", - "diff_url": "/acme/merges/pulls/15.diff", - "patch_url": "/acme/merges/pulls/15.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 48, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "ffo2", - "ref": "ffo2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 48, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - }, - "must_contain": [ - "required status checks" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - }, - "must_contain": [ - "required status checks" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - }, - "must_contain": [ - "required status checks" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "status_gated_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "status_gated_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "status_gated_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/merges/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - } - ] -} +{"scenario":"G","title":"merge","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m1","body":"body m1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/1","diff_url":"/acme/merges/pulls/1.diff","patch_url":"/acme/merges/pulls/1.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m1","ref":"m1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"note","key":"merge_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"merge_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"merge_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m1","body":"body m1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/1","diff_url":"/acme/merges/pulls/1.diff","patch_url":"/acme/merges/pulls/1.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m1","ref":"m1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"note","key":"merged_flag_true_after_merge","value":true,"strict":true}, +{"kind":"note","key":"merge_commit_sha_present","value":true,"strict":true}, +{"kind":"note","key":"merge_commit_parent_count","value":2,"strict":true}, +{"kind":"note","key":"head_sha_unchanged_after_merge","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"","url":"/api/swagger"}}, +{"kind":"note","key":"immediate_merge_status","value":200,"strict":false}, +{"kind":"note","key":"immediate_merge_message","value":"","strict":false}, +{"kind":"note","key":"immediate_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"immediate_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"immediate_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m1b","body":"body m1b","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/2","diff_url":"/acme/merges/pulls/2.diff","patch_url":"/acme/merges/pulls/2.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":26,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m1b","ref":"m1b","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":26,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge","head_commit_id":""},"headers":{},"body_text":""}, +{"kind":"note","key":"headid_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"headid_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"headid_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":409,"request":{"Do":"merge","head_commit_id":""},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"head out of date","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":409,"request":{"Do":"merge","head_commit_id":""},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"head out of date","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m3","body":"body m3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/4","diff_url":"/acme/merges/pulls/4.diff","patch_url":"/acme/merges/pulls/4.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m3","ref":"m3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge","head_commit_id":""},"headers":{},"body_text":""}, +{"kind":"note","key":"wrongid_then_right_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"wrongid_then_right_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"wrongid_then_right_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":422,"request":{"Do":"bogus"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Do]: In","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":422,"request":{},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Do]: Required","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m4","body":"body m4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/merges/pulls/6","diff_url":"/acme/merges/pulls/6.diff","patch_url":"/acme/merges/pulls/6.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":32,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m4","ref":"m4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":32,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m4","body":"body m4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/merges/pulls/6","diff_url":"/acme/merges/pulls/6.diff","patch_url":"/acme/merges/pulls/6.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":32,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m4","ref":"m4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":32,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls","auth":"bot-scoped","status":201,"request":{"title":"again","head":"m1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/7","number":7,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"again","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/merges/pulls/7","diff_url":"/acme/merges/pulls/7.diff","patch_url":"/acme/merges/pulls/7.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":32,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m1","ref":"m1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":32,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/9","number":9,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cf2","body":"body cf2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/merges/pulls/9","diff_url":"/acme/merges/pulls/9.diff","patch_url":"/acme/merges/pulls/9.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":36,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"cf2","ref":"cf2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":36,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"strict_keys":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/10","number":10,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m5","body":"body m5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/10","diff_url":"/acme/merges/pulls/10.diff","patch_url":"/acme/merges/pulls/10.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":36,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m5","ref":"m5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":36,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":404,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/10","number":10,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m5","body":"body m5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/10","diff_url":"/acme/merges/pulls/10.diff","patch_url":"/acme/merges/pulls/10.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":36,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"m5","ref":"m5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":36,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"squash"},"headers":{},"body_text":""}, +{"kind":"note","key":"squash_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"squash_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"squash_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/11","number":11,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR sq","body":"body sq","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/merges/pulls/11","diff_url":"/acme/merges/pulls/11.diff","patch_url":"/acme/merges/pulls/11.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":37,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"sq","ref":"sq","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":37,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"note","key":"squash_parent_count","value":1,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"rebase"},"headers":{},"body_text":""}, +{"kind":"note","key":"rebase_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"rebase_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"rebase_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/12","number":12,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR rb","body":"body rb","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/merges/pulls/12","diff_url":"/acme/merges/pulls/12.diff","patch_url":"/acme/merges/pulls/12.patch","mergeable":false,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":40,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"rb","ref":"rb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":40,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"note","key":"rebase_parent_count","value":1,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"rebase-merge"},"headers":{},"body_text":""}, +{"kind":"note","key":"rebase_merge_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"rebase_merge_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"rebase_merge_seconds_to_merged","value":0,"strict":false}, +{"kind":"note","key":"rebase_merge_parent_count","value":2,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"fast-forward-only"},"headers":{},"body_text":""}, +{"kind":"note","key":"ff_only_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"ff_only_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"ff_only_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/14","number":14,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ffo","body":"body ffo","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/14","diff_url":"/acme/merges/pulls/14.diff","patch_url":"/acme/merges/pulls/14.patch","mergeable":false,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":45,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"ffo","ref":"ffo","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":45,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"note","key":"ff_only_parent_count","value":1,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":500,"request":{"Do":"fast-forward-only"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/15","number":15,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ffo2","body":"body ffo2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/15","diff_url":"/acme/merges/pulls/15.diff","patch_url":"/acme/merges/pulls/15.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":48,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"ffo2","ref":"ffo2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":48,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"},"must_contain":["required status checks"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"},"must_contain":["required status checks"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"},"must_contain":["required status checks"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"note","key":"status_gated_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"status_gated_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"status_gated_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/merges/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/H-statuses.json b/crates/forge/conformance/fixtures/1.22.6/H-statuses.json index c2d7c479..31347710 100644 --- a/crates/forge/conformance/fixtures/1.22.6/H-statuses.json +++ b/crates/forge/conformance/fixtures/1.22.6/H-statuses.json @@ -1,3498 +1,53 @@ -{ - "scenario": "H", - "title": "statuses", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "state": "", - "sha": "", - "total_count": 0, - "statuses": null, - "repository": null, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_state_no_statuses", - "value": "", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//statuses?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "pending", - "context": "ci/test", - "description": "ci/test is pending", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "pending", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_state_pending", - "value": "pending", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_statuses_after_pending_then_success", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//statuses?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "note", - "key": "list_history_len_after_two_posts", - "value": 2, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "failure", - "context": "ci/lint", - "description": "ci/lint is failure", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_success_plus_failure", - "value": "failure", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "ci/lint", - "description": "ci/lint is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_all_success", - "value": "success", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "pending", - "context": "ci/other", - "description": "ci/other is pending", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": { - "state": "pending", - "sha": "", - "total_count": 3, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_success_plus_pending", - "value": "pending", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "error", - "context": "ci/err", - "description": "ci/err is error", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "ci/err is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/err", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 4, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "ci/err is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/err", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_with_error", - "value": "failure", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 4, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "ci/err is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/err", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "st-success", - "description": "st-success is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "st-success is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-success", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "pending", - "context": "st-pending", - "description": "st-pending is pending", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "st-pending is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-pending", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "failure", - "context": "st-failure", - "description": "st-failure is failure", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "st-failure is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-failure", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "error", - "context": "st-error", - "description": "st-error is error", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "st-error is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-error", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "warning", - "context": "st-warning", - "description": "st-warning is warning", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "warning", - "target_url": "http://example.invalid/run/1", - "description": "st-warning is warning", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-warning", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "skipped", - "context": "st-skipped", - "description": "st-skipped is skipped", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "skipped", - "target_url": "http://example.invalid/run/1", - "description": "st-skipped is skipped", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-skipped", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "bogus", - "context": "st-bogus", - "description": "st-bogus is bogus", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "st-bogus is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-bogus", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "", - "context": "st-empty", - "description": "st-empty is ", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "", - "target_url": "http://example.invalid/run/1", - "description": "st-empty is", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-empty", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "8" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 8, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "st-success is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-success", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "st-pending is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-pending", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "st-failure is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-failure", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "st-error is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-error", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "warning", - "target_url": "http://example.invalid/run/1", - "description": "st-warning is warning", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-warning", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "skipped", - "target_url": "http://example.invalid/run/1", - "description": "st-skipped is skipped", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-skipped", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "st-bogus is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-bogus", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "", - "target_url": "http://example.invalid/run/1", - "description": "st-empty is", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-empty", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "context": "no-state" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "no-state", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 500, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "GetCommit[]: object does not exist [id: , rel_path: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/nope", - "auth": "admin", - "status": 500, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "GetCommit[nope]: object does not exist [id: nope, rel_path: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "carol", - "status": 403, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user should have a permission to write to a repo", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "dave", - "status": 404, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "bogus", - "context": "ci/bogus-only", - "description": "ci/bogus-only is bogus", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "bogus", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "note", - "key": "combined_state_only_bogus", - "value": "bogus", - "strict": true - }, - { - "kind": "note", - "key": "combined_total_only_bogus", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "state": "", - "sha": "", - "total_count": 0, - "statuses": null, - "repository": null, - "commit_url": "", - "url": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits/main/status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "bogus", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/main?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - } - ] -} +{"scenario":"H","title":"statuses","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"state":"","sha":"","total_count":0,"statuses":null,"repository":null,"commit_url":"","url":""}}, +{"kind":"note","key":"combined_state_no_statuses","value":"","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//statuses?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"bot-scoped","status":201,"request":{"state":"pending","context":"ci/test","description":"ci/test is pending","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"pending","sha":"","total_count":1,"statuses":[{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"note","key":"combined_state_pending","value":"pending","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"bot-scoped","status":201,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"success","sha":"","total_count":1,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"note","key":"combined_statuses_after_pending_then_success","value":1,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//statuses?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}]}, +{"kind":"note","key":"list_history_len_after_two_posts","value":2,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"failure","context":"ci/lint","description":"ci/lint is failure","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"ci/lint is failure","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":{"state":"failure","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"ci/lint is failure","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"note","key":"combined_success_plus_failure","value":"failure","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"ci/lint","description":"ci/lint is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":{"state":"success","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"note","key":"combined_all_success","value":"success","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"pending","context":"ci/other","description":"ci/other is pending","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":{"state":"pending","sha":"","total_count":3,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"note","key":"combined_success_plus_pending","value":"pending","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"error","context":"ci/err","description":"ci/err is error","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"ci/err is error","url":"/api/v1/repos/acme/status/statuses/","context":"ci/err","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":{"state":"failure","sha":"","total_count":4,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"ci/err is error","url":"/api/v1/repos/acme/status/statuses/","context":"ci/err","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"note","key":"combined_with_error","value":"failure","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":{"state":"failure","sha":"","total_count":4,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"ci/err is error","url":"/api/v1/repos/acme/status/statuses/","context":"ci/err","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"st-success","description":"st-success is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"st-success is success","url":"/api/v1/repos/acme/status/statuses/","context":"st-success","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"pending","context":"st-pending","description":"st-pending is pending","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"st-pending is pending","url":"/api/v1/repos/acme/status/statuses/","context":"st-pending","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"failure","context":"st-failure","description":"st-failure is failure","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"st-failure is failure","url":"/api/v1/repos/acme/status/statuses/","context":"st-failure","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"error","context":"st-error","description":"st-error is error","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"st-error is error","url":"/api/v1/repos/acme/status/statuses/","context":"st-error","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"warning","context":"st-warning","description":"st-warning is warning","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"warning","target_url":"http://example.invalid/run/1","description":"st-warning is warning","url":"/api/v1/repos/acme/status/statuses/","context":"st-warning","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"skipped","context":"st-skipped","description":"st-skipped is skipped","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"skipped","target_url":"http://example.invalid/run/1","description":"st-skipped is skipped","url":"/api/v1/repos/acme/status/statuses/","context":"st-skipped","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"bogus","context":"st-bogus","description":"st-bogus is bogus","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"st-bogus is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"st-bogus","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"","context":"st-empty","description":"st-empty is ","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"","target_url":"http://example.invalid/run/1","description":"st-empty is","url":"/api/v1/repos/acme/status/statuses/","context":"st-empty","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"8"},"body":{"state":"failure","sha":"","total_count":8,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"st-success is success","url":"/api/v1/repos/acme/status/statuses/","context":"st-success","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"st-pending is pending","url":"/api/v1/repos/acme/status/statuses/","context":"st-pending","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"st-failure is failure","url":"/api/v1/repos/acme/status/statuses/","context":"st-failure","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"st-error is error","url":"/api/v1/repos/acme/status/statuses/","context":"st-error","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"warning","target_url":"http://example.invalid/run/1","description":"st-warning is warning","url":"/api/v1/repos/acme/status/statuses/","context":"st-warning","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"skipped","target_url":"http://example.invalid/run/1","description":"st-skipped is skipped","url":"/api/v1/repos/acme/status/statuses/","context":"st-skipped","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"st-bogus is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"st-bogus","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"","target_url":"http://example.invalid/run/1","description":"st-empty is","url":"/api/v1/repos/acme/status/statuses/","context":"st-empty","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/status/statuses/","context":"","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"context":"no-state"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"","target_url":"","description":"","url":"/api/v1/repos/acme/status/statuses/","context":"no-state","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/status/statuses/","context":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":500,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"GetCommit[]: object does not exist [id: , rel_path: ]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/nope","auth":"admin","status":500,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"GetCommit[nope]: object does not exist [id: nope, rel_path: ]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"carol","status":403,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user should have a permission to write to a repo","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"dave","status":404,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"bogus","context":"ci/bogus-only","description":"ci/bogus-only is bogus","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"bogus","sha":"","total_count":1,"statuses":[{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"note","key":"combined_state_only_bogus","value":"bogus","strict":true}, +{"kind":"note","key":"combined_total_only_bogus","value":1,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"state":"","sha":"","total_count":0,"statuses":null,"repository":null,"commit_url":"","url":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits/main/status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"bogus","sha":"","total_count":1,"statuses":[{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/main?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/I-branch-protection.json b/crates/forge/conformance/fixtures/1.22.6/I-branch-protection.json index 8c39d949..05970acb 100644 --- a/crates/forge/conformance/fixtures/1.22.6/I-branch-protection.json +++ b/crates/forge/conformance/fixtures/1.22.6/I-branch-protection.json @@ -1,403 +1,20 @@ -{ - "scenario": "I", - "title": "branch-protection", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 403, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Branch protection already exist", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "branch_name": "main", - "rule_name": "main", - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections/nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "bot", - "status": 403, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user should be an owner or a collaborator with admin write of a repository", - "url": "/api/swagger" - } - }, - { - "kind": "git", - "name": "push-protected-write-collab", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": false, - "output": "remote: \nremote: Gitea: Not allowed to push to protected branch main \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'", - "must_contain": [ - "protected" - ], - "refusal": [ - "remote: gitea: not allowed to push to protected branch main", - "! [remote rejected] head -> main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/prot.git'" - ] - }, - { - "kind": "git", - "name": "push-protected-admin", - "cmd": "git push http://@/acme/prot.git HEAD:refs/heads/main", - "ok": false, - "output": "remote: \nremote: Gitea: Not allowed to push to protected branch main \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'", - "refusal": [ - "remote: gitea: not allowed to push to protected branch main", - "! [remote rejected] head -> main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/prot.git'" - ] - }, - { - "kind": "git", - "name": "push-other-branch", - "cmd": "git push origin HEAD:refs/heads/other", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'other': \nremote: /acme/prot/compare/main...other \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n * [new branch] HEAD -> other" - }, - { - "kind": "git", - "name": "delete-protected-by-push", - "cmd": "git push origin :refs/heads/main", - "ok": false, - "output": "remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/prot.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'", - "refusal": [ - "remote: gitea: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/prot.git'" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "git", - "name": "push-after-enable-push", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n .. HEAD -> main" - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_status_check": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prot/branch_protections/nope", - "auth": "admin", - "status": 404, - "request": { - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"I","title":"branch-protection","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":403,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Branch protection already exist","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"branch_name":"main","rule_name":"main","enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections/nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prot/branch_protections","auth":"bot","status":403,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user should be an owner or a collaborator with admin write of a repository","url":"/api/swagger"}}, +{"kind":"git","name":"push-protected-write-collab","cmd":"git push origin HEAD:refs/heads/main","ok":false,"output":"remote: \nremote: Gitea: Not allowed to push to protected branch main \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'","must_contain":["protected"],"refusal":["remote: gitea: not allowed to push to protected branch main","! [remote rejected] head -> main (pre-receive hook declined)","error: failed to push some refs to '/acme/prot.git'"]}, +{"kind":"git","name":"push-protected-admin","cmd":"git push http://@/acme/prot.git HEAD:refs/heads/main","ok":false,"output":"remote: \nremote: Gitea: Not allowed to push to protected branch main \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'","refusal":["remote: gitea: not allowed to push to protected branch main","! [remote rejected] head -> main (pre-receive hook declined)","error: failed to push some refs to '/acme/prot.git'"]}, +{"kind":"git","name":"push-other-branch","cmd":"git push origin HEAD:refs/heads/other","ok":true,"output":"remote: \nremote: Create a new pull request for 'other': \nremote: /acme/prot/compare/main...other \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n * [new branch] HEAD -> other"}, +{"kind":"git","name":"delete-protected-by-push","cmd":"git push origin :refs/heads/main","ok":false,"output":"remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/prot.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'","refusal":["remote: gitea: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/prot.git'"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":200,"request":{"enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"git","name":"push-after-enable-push","cmd":"git push origin HEAD:refs/heads/main","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n .. HEAD -> main"}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":200,"request":{"enable_status_check":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prot/branch_protections/nope","auth":"admin","status":404,"request":{"enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/J-smart-http.json b/crates/forge/conformance/fixtures/1.22.6/J-smart-http.json index 246349ff..1d7a6a66 100644 --- a/crates/forge/conformance/fixtures/1.22.6/J-smart-http.json +++ b/crates/forge/conformance/fixtures/1.22.6/J-smart-http.json @@ -1,655 +1,66 @@ -{ - "scenario": "J", - "title": "smart-http", - "error": null, - "exchanges": [ - { - "kind": "git", - "name": "clone-admin-token", - "cmd": "git clone -q http://@/acme/smart.git /j-admin-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-admin-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-admin-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-admin-token': \nremote: /acme/smart/compare/main...j-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-admin-token" - }, - { - "kind": "git", - "name": "fetch-admin-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-oauth2-token", - "cmd": "git clone -q http://@/acme/smart.git /j-oauth2-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-oauth2-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-oauth2-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-oauth2-token': \nremote: /acme/smart/compare/main...j-oauth2-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-oauth2-token" - }, - { - "kind": "git", - "name": "fetch-oauth2-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-bot-token", - "cmd": "git clone -q http://@/acme/smart.git /j-bot-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-bot-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-bot-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-bot-token': \nremote: /acme/smart/compare/main...j-bot-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-token" - }, - { - "kind": "git", - "name": "fetch-bot-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-other-name-admin-token", - "cmd": "git clone -q http://@/acme/smart.git /j-other-name-admin-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-other-name-admin-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-other-name-admin-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-other-name-admin-token': \nremote: /acme/smart/compare/main...j-other-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-other-name-admin-token" - }, - { - "kind": "git", - "name": "fetch-other-name-admin-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-bot-name-admin-token", - "cmd": "git clone -q http://@/acme/smart.git /j-bot-name-admin-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-bot-name-admin-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-bot-name-admin-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-bot-name-admin-token': \nremote: /acme/smart/compare/main...j-bot-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-name-admin-token" - }, - { - "kind": "git", - "name": "fetch-bot-name-admin-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-token-as-username", - "cmd": "git clone -q http://@/acme/smart.git /j-token-as-username", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-token-as-username", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-token-as-username", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-token-as-username': \nremote: /acme/smart/compare/main...j-token-as-username \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-token-as-username" - }, - { - "kind": "git", - "name": "fetch-token-as-username", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-bad-token", - "cmd": "git clone -q http://@/acme/smart.git /j-bad-token", - "ok": false, - "output": "remote: Verify\nfatal: Authentication failed for '/acme/smart.git/'", - "refusal": [ - "remote: verify", - "fatal: authentication failed for '/acme/smart.git/'" - ] - }, - { - "kind": "git", - "name": "push-bad-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-bad-token", - "ok": false, - "output": "remote: Verify\nfatal: Authentication failed for '/acme/smart.git/'", - "refusal": [ - "remote: verify", - "fatal: authentication failed for '/acme/smart.git/'" - ] - }, - { - "kind": "git", - "name": "fetch-bad-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": false, - "output": "remote: Verify\nfatal: Authentication failed for '/acme/smart.git/'", - "refusal": [ - "remote: verify", - "fatal: authentication failed for '/acme/smart.git/'" - ] - }, - { - "kind": "git", - "name": "clone-no-credentials", - "cmd": "git clone -q /acme/smart.git /j-no-credentials", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "git", - "name": "push-no-credentials", - "cmd": "git push /acme/smart.git :refs/heads/j-no-credentials", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "git", - "name": "fetch-no-credentials", - "cmd": "git fetch -q /acme/smart.git main", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "git", - "name": "ls-remote-hdr-basic-token-empty-password", - "cmd": "git -c http.extraHeader= ls-remote /acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "ls-remote-hdr-token", - "cmd": "git -c http.extraHeader= ls-remote /acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "ls-remote-hdr-bearer", - "cmd": "git -c http.extraHeader= ls-remote /acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Verify\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-upload-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "oauth2-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-upload-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Verify\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000c7 refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-receive-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "oauth2-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000c7 refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-receive-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000000eversion 2\n0015agent=git/2.45.2\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000", - "must_contain": [ - "version 2" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "git", - "name": "fetch-sha-tip-v0", - "cmd": "git -c protocol.version=0 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-old-v0", - "cmd": "git -c protocol.version=0 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-dead-v0", - "cmd": "git -c protocol.version=0 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-tip-v2", - "cmd": "git -c protocol.version=2 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-old-v2", - "cmd": "git -c protocol.version=2 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-dead-v2", - "cmd": "git -c protocol.version=2 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "ls-remote-v0", - "cmd": "git -c protocol.version=0 ls-remote http://@/acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "ls-remote-v2", - "cmd": "git -c protocol.version=2 ls-remote http://@/acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "clone-filter-blob-none", - "cmd": "git clone --filter=blob:none http://@/acme/smart.git /jpartial", - "ok": true, - "output": "Cloning into '/jpartial'..." - }, - { - "kind": "note", - "key": "partial_clone_missing_objects", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "partial_clone_promisor", - "value": "true", - "strict": true - }, - { - "kind": "git", - "name": "clone-depth-1", - "cmd": "git clone -q --depth=1 http://@/acme/smart.git /jshallow", - "ok": true, - "output": "" - }, - { - "kind": "note", - "key": "shallow_clone", - "value": "true", - "strict": true - }, - { - "kind": "git", - "name": "unshallow", - "cmd": "git fetch -q --unshallow", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "flw-absent-expected-and-absent", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/compare/main...b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> b" - }, - { - "kind": "git", - "name": "flw-absent-expected-but-exists", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": false, - "output": "To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'", - "refusal": [ - "! [rejected] -> b (stale info)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "git", - "name": "flw-correct-lease-nonff", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/compare/main...b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n + .. -> b (forced update)" - }, - { - "kind": "git", - "name": "flw-stale-lease", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": false, - "output": "To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'", - "refusal": [ - "! [rejected] -> b (stale info)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "git", - "name": "push-nonff-without-force", - "cmd": "git push http://@/acme/smart.git :refs/heads/b", - "ok": false, - "output": "To /acme/smart.git\n ! [rejected] -> b (non-fast-forward)\nerror: failed to push some refs to '/acme/smart.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] -> b (non-fast-forward)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "git", - "name": "push-tags", - "cmd": "git push http://@/acme/smart.git refs/tags/v1 refs/tags/v2", - "ok": true, - "output": "remote: .. Processing 2 references \nremote: Processed 2 references in total \nTo /acme/smart.git\n * [new tag] v1 -> v1\n * [new tag] v2 -> v2" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "name": "v2", - "message": "release", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/smart/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/smart/archive/v2.zip", - "tarball_url": "/acme/smart/archive/v2.tar.gz" - }, - { - "name": "v1", - "message": "commit on main", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/smart/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/smart/archive/v1.zip", - "tarball_url": "/acme/smart/archive/v1.tar.gz" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/git/refs/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/tags/v1", - "url": "/api/v1/repos/acme/smart/git/refs/tags/v1", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/smart/git/commits/" - } - }, - { - "ref": "refs/tags/v2", - "url": "/api/v1/repos/acme/smart/git/refs/tags/v2", - "object": { - "type": "tag", - "sha": "", - "url": "/api/v1/repos/acme/smart/git/tags/" - } - } - ] - }, - { - "kind": "git", - "name": "delete-tag-by-push", - "cmd": "git push http://@/acme/smart.git :refs/tags/v1", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] v1" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "v2", - "message": "release", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/smart/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/smart/archive/v2.zip", - "tarball_url": "/acme/smart/archive/v2.tar.gz" - } - ] - }, - { - "kind": "git", - "name": "delete-branch-by-push", - "cmd": "git push http://@/acme/smart.git :refs/heads/b", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] b" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/branches/b", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": [ - "branch does not exist [name: b]" - ], - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "git", - "name": "delete-default-branch-by-push", - "cmd": "git push http://@/acme/smart.git :refs/heads/main", - "ok": false, - "output": "remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/smart.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/smart.git'", - "refusal": [ - "remote: gitea: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/HEAD", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "text/plain" - }, - "body_text": "ref: refs/heads/main\n" - } - ] -} +{"scenario":"J","title":"smart-http","error":null,"exchanges":[ +{"kind":"git","name":"clone-admin-token","cmd":"git clone -q http://@/acme/smart.git /j-admin-token","ok":true,"output":""}, +{"kind":"git","name":"push-admin-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-admin-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-admin-token': \nremote: /acme/smart/compare/main...j-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-admin-token"}, +{"kind":"git","name":"fetch-admin-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-oauth2-token","cmd":"git clone -q http://@/acme/smart.git /j-oauth2-token","ok":true,"output":""}, +{"kind":"git","name":"push-oauth2-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-oauth2-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-oauth2-token': \nremote: /acme/smart/compare/main...j-oauth2-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-oauth2-token"}, +{"kind":"git","name":"fetch-oauth2-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-bot-token","cmd":"git clone -q http://@/acme/smart.git /j-bot-token","ok":true,"output":""}, +{"kind":"git","name":"push-bot-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-bot-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-bot-token': \nremote: /acme/smart/compare/main...j-bot-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-token"}, +{"kind":"git","name":"fetch-bot-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-other-name-admin-token","cmd":"git clone -q http://@/acme/smart.git /j-other-name-admin-token","ok":true,"output":""}, +{"kind":"git","name":"push-other-name-admin-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-other-name-admin-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-other-name-admin-token': \nremote: /acme/smart/compare/main...j-other-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-other-name-admin-token"}, +{"kind":"git","name":"fetch-other-name-admin-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-bot-name-admin-token","cmd":"git clone -q http://@/acme/smart.git /j-bot-name-admin-token","ok":true,"output":""}, +{"kind":"git","name":"push-bot-name-admin-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-bot-name-admin-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-bot-name-admin-token': \nremote: /acme/smart/compare/main...j-bot-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-name-admin-token"}, +{"kind":"git","name":"fetch-bot-name-admin-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-token-as-username","cmd":"git clone -q http://@/acme/smart.git /j-token-as-username","ok":true,"output":""}, +{"kind":"git","name":"push-token-as-username","cmd":"git push http://@/acme/smart.git :refs/heads/j-token-as-username","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-token-as-username': \nremote: /acme/smart/compare/main...j-token-as-username \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-token-as-username"}, +{"kind":"git","name":"fetch-token-as-username","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-bad-token","cmd":"git clone -q http://@/acme/smart.git /j-bad-token","ok":false,"output":"remote: Verify\nfatal: Authentication failed for '/acme/smart.git/'","refusal":["remote: verify","fatal: authentication failed for '/acme/smart.git/'"]}, +{"kind":"git","name":"push-bad-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-bad-token","ok":false,"output":"remote: Verify\nfatal: Authentication failed for '/acme/smart.git/'","refusal":["remote: verify","fatal: authentication failed for '/acme/smart.git/'"]}, +{"kind":"git","name":"fetch-bad-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":false,"output":"remote: Verify\nfatal: Authentication failed for '/acme/smart.git/'","refusal":["remote: verify","fatal: authentication failed for '/acme/smart.git/'"]}, +{"kind":"git","name":"clone-no-credentials","cmd":"git clone -q /acme/smart.git /j-no-credentials","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"git","name":"push-no-credentials","cmd":"git push /acme/smart.git :refs/heads/j-no-credentials","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"git","name":"fetch-no-credentials","cmd":"git fetch -q /acme/smart.git main","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"git","name":"ls-remote-hdr-basic-token-empty-password","cmd":"git -c http.extraHeader= ls-remote /acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"ls-remote-hdr-token","cmd":"git -c http.extraHeader= ls-remote /acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"ls-remote-hdr-bearer","cmd":"git -c http.extraHeader= ls-remote /acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Verify\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-upload-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"oauth2-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-upload-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Verify\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000c7 refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-receive-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"oauth2-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000c7 refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-receive-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000000eversion 2\n0015agent=git/2.45.2\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000","must_contain":["version 2"],"volatile":["$text"]}, +{"kind":"git","name":"fetch-sha-tip-v0","cmd":"git -c protocol.version=0 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-old-v0","cmd":"git -c protocol.version=0 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-dead-v0","cmd":"git -c protocol.version=0 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-tip-v2","cmd":"git -c protocol.version=2 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-old-v2","cmd":"git -c protocol.version=2 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-dead-v2","cmd":"git -c protocol.version=2 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"ls-remote-v0","cmd":"git -c protocol.version=0 ls-remote http://@/acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"ls-remote-v2","cmd":"git -c protocol.version=2 ls-remote http://@/acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"clone-filter-blob-none","cmd":"git clone --filter=blob:none http://@/acme/smart.git /jpartial","ok":true,"output":"Cloning into '/jpartial'..."}, +{"kind":"note","key":"partial_clone_missing_objects","value":true,"strict":true}, +{"kind":"note","key":"partial_clone_promisor","value":"true","strict":true}, +{"kind":"git","name":"clone-depth-1","cmd":"git clone -q --depth=1 http://@/acme/smart.git /jshallow","ok":true,"output":""}, +{"kind":"note","key":"shallow_clone","value":"true","strict":true}, +{"kind":"git","name":"unshallow","cmd":"git fetch -q --unshallow","ok":true,"output":""}, +{"kind":"git","name":"flw-absent-expected-and-absent","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":true,"output":"remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/compare/main...b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> b"}, +{"kind":"git","name":"flw-absent-expected-but-exists","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":false,"output":"To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'","refusal":["! [rejected] -> b (stale info)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"git","name":"flw-correct-lease-nonff","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":true,"output":"remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/compare/main...b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n + .. -> b (forced update)"}, +{"kind":"git","name":"flw-stale-lease","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":false,"output":"To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'","refusal":["! [rejected] -> b (stale info)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"git","name":"push-nonff-without-force","cmd":"git push http://@/acme/smart.git :refs/heads/b","ok":false,"output":"To /acme/smart.git\n ! [rejected] -> b (non-fast-forward)\nerror: failed to push some refs to '/acme/smart.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] -> b (non-fast-forward)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"git","name":"push-tags","cmd":"git push http://@/acme/smart.git refs/tags/v1 refs/tags/v2","ok":true,"output":"remote: .. Processing 2 references \nremote: Processed 2 references in total \nTo /acme/smart.git\n * [new tag] v1 -> v1\n * [new tag] v2 -> v2"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"name":"v2","message":"release","id":"","commit":{"url":"/api/v1/repos/acme/smart/git/commits/","sha":"","created":""},"zipball_url":"/acme/smart/archive/v2.zip","tarball_url":"/acme/smart/archive/v2.tar.gz"},{"name":"v1","message":"commit on main","id":"","commit":{"url":"/api/v1/repos/acme/smart/git/commits/","sha":"","created":""},"zipball_url":"/acme/smart/archive/v1.zip","tarball_url":"/acme/smart/archive/v1.tar.gz"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/git/refs/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/tags/v1","url":"/api/v1/repos/acme/smart/git/refs/tags/v1","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/smart/git/commits/"}},{"ref":"refs/tags/v2","url":"/api/v1/repos/acme/smart/git/refs/tags/v2","object":{"type":"tag","sha":"","url":"/api/v1/repos/acme/smart/git/tags/"}}]}, +{"kind":"git","name":"delete-tag-by-push","cmd":"git push http://@/acme/smart.git :refs/tags/v1","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] v1"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"v2","message":"release","id":"","commit":{"url":"/api/v1/repos/acme/smart/git/commits/","sha":"","created":""},"zipball_url":"/acme/smart/archive/v2.zip","tarball_url":"/acme/smart/archive/v2.tar.gz"}]}, +{"kind":"git","name":"delete-branch-by-push","cmd":"git push http://@/acme/smart.git :refs/heads/b","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] b"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/branches/b","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":["branch does not exist [name: b]"],"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"git","name":"delete-default-branch-by-push","cmd":"git push http://@/acme/smart.git :refs/heads/main","ok":false,"output":"remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/smart.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/smart.git'","refusal":["remote: gitea: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/HEAD","auth":"admin-tokbasic","status":200,"headers":{"content-type":"text/plain"},"body_text":"ref: refs/heads/main\n"} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/K-visibility-probing.json b/crates/forge/conformance/fixtures/1.22.6/K-visibility-probing.json index 456068f4..0db7634f 100644 --- a/crates/forge/conformance/fixtures/1.22.6/K-visibility-probing.json +++ b/crates/forge/conformance/fixtures/1.22.6/K-visibility-probing.json @@ -1,3822 +1,60 @@ -{ - "scenario": "K", - "title": "visibility-probing", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Verify\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Verify\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Verify\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Verify\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "dave-tokbasic", - "status": 403, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Push to create is not enabled for organizations.", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 7, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/vis/contents/README.md?ref=main", - "html_url": "/acme/vis/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/vis/git/blobs/", - "download_url": "/acme/vis/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/vis/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/vis/git/blobs/", - "html": "/acme/vis/src/branch/main/README.md" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "main", - "commit": { - "id": "", - "message": "Initial commit\n", - "url": "/acme/vis/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": false, - "user_can_merge": false, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "carol-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "carol-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000be refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "carol-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "carol-tokbasic", - "status": 403, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Push to create is not enabled for organizations.", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis", - "auth": "none", - "status": 303, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/user/login" - }, - "body_text": "See Other.\n\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-vis-none", - "cmd": "git ls-remote /acme/vis.git", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost", - "auth": "none", - "status": 303, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/user/login" - }, - "body_text": "See Other.\n\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-ghost-none", - "cmd": "git ls-remote /acme/ghost.git", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis", - "auth": "dave-tokbasic", - "status": 303, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/user/login" - }, - "body_text": "See Other.\n\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-vis-dave", - "cmd": "git ls-remote http://@/acme/vis.git", - "ok": false, - "output": "remote: Repository not found\nfatal: repository '/acme/vis.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/vis.git/' not found" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost", - "auth": "dave-tokbasic", - "status": 303, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/user/login" - }, - "body_text": "See Other.\n\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-ghost-dave", - "cmd": "git ls-remote http://@/acme/ghost.git", - "ok": false, - "output": "remote: Repository not found\nfatal: repository '/acme/ghost.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/ghost.git/' not found" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": { - "ok": true, - "data": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "9" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 48, - "language": "Text", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prot", - "full_name": "acme/prot", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/prot/languages", - "html_url": "/acme/prot", - "url": "/api/v1/repos/acme/prot", - "link": "", - "ssh_url": "ssh:///acme/prot.git", - "clone_url": "/acme/prot.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 26, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "smart", - "full_name": "acme/smart", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "Text", - "languages_url": "/api/v1/repos/acme/smart/languages", - "html_url": "/acme/smart", - "url": "/api/v1/repos/acme/smart", - "link": "", - "ssh_url": "ssh:///acme/smart.git", - "clone_url": "/acme/smart.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "Text", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "13" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "doomed", - "full_name": "acme/doomed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/doomed/languages", - "html_url": "/acme/doomed", - "url": "/api/v1/repos/acme/doomed", - "link": "", - "ssh_url": "ssh:///acme/doomed.git", - "clone_url": "/acme/doomed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 48, - "language": "Text", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prot", - "full_name": "acme/prot", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/prot/languages", - "html_url": "/acme/prot", - "url": "/api/v1/repos/acme/prot", - "link": "", - "ssh_url": "ssh:///acme/prot.git", - "clone_url": "/acme/prot.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 26, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "smart", - "full_name": "acme/smart", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "Text", - "languages_url": "/api/v1/repos/acme/smart/languages", - "html_url": "/acme/smart", - "url": "/api/v1/repos/acme/smart", - "link": "", - "ssh_url": "ssh:///acme/smart.git", - "clone_url": "/acme/smart.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "Text", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "scoped", - "full_name": "alice/scoped", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/alice/scoped/languages", - "html_url": "/alice/scoped", - "url": "/api/v1/repos/alice/scoped", - "link": "", - "ssh_url": "ssh:///alice/scoped.git", - "clone_url": "/alice/scoped.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "name": "probe", - "full_name": "/probe", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos//probe/languages", - "html_url": "//probe", - "url": "/api/v1/repos//probe", - "link": "", - "ssh_url": "ssh:////probe.git", - "clone_url": "//probe.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=vis&limit=50", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": { - "ok": true, - "data": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user/repos?limit=50", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "HasOrgOrUserVisible", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme/repos", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "11" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme/repos?limit=50", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "11" - }, - "body": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 26, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 48, - "language": "Text", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "Text", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prot", - "full_name": "acme/prot", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/prot/languages", - "html_url": "/acme/prot", - "url": "/api/v1/repos/acme/prot", - "link": "", - "ssh_url": "ssh:///acme/prot.git", - "clone_url": "/acme/prot.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "smart", - "full_name": "acme/smart", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "Text", - "languages_url": "/api/v1/repos/acme/smart/languages", - "html_url": "/acme/smart", - "url": "/api/v1/repos/acme/smart", - "link": "", - "ssh_url": "ssh:///acme/smart.git", - "clone_url": "/acme/smart.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme/repos?limit=50", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - } - ] -} +{"scenario":"K","title":"visibility-probing","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Verify\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Verify\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Verify\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Verify\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"dave-tokbasic","status":403,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Push to create is not enabled for organizations.","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":7,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/vis/contents/README.md?ref=main","html_url":"/acme/vis/src/branch/main/README.md","git_url":"/api/v1/repos/acme/vis/git/blobs/","download_url":"/acme/vis/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/vis/contents/README.md?ref=main","git":"/api/v1/repos/acme/vis/git/blobs/","html":"/acme/vis/src/branch/main/README.md"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"main","commit":{"id":"","message":"Initial commit\n","url":"/acme/vis/commit/","author":{"name":"","email":"admin@example.invalid","username":""},"committer":{"name":"","email":"admin@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":false,"user_can_merge":false,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"carol-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n0000","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"carol-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000be refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n0000","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"carol-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"carol-tokbasic","status":403,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Push to create is not enabled for organizations.","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis","auth":"none","status":303,"headers":{"content-type":"text/html;charset=utf-8","location":"/user/login"},"body_text":"See Other.\n\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-vis-none","cmd":"git ls-remote /acme/vis.git","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"http","method":"GET","path":"/acme/ghost","auth":"none","status":303,"headers":{"content-type":"text/html;charset=utf-8","location":"/user/login"},"body_text":"See Other.\n\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-ghost-none","cmd":"git ls-remote /acme/ghost.git","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"http","method":"GET","path":"/acme/vis","auth":"dave-tokbasic","status":303,"headers":{"content-type":"text/html;charset=utf-8","location":"/user/login"},"body_text":"See Other.\n\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-vis-dave","cmd":"git ls-remote http://@/acme/vis.git","ok":false,"output":"remote: Repository not found\nfatal: repository '/acme/vis.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/vis.git/' not found"]}, +{"kind":"http","method":"GET","path":"/acme/ghost","auth":"dave-tokbasic","status":303,"headers":{"content-type":"text/html;charset=utf-8","location":"/user/login"},"body_text":"See Other.\n\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-ghost-dave","cmd":"git ls-remote http://@/acme/ghost.git","ok":false,"output":"remote: Repository not found\nfatal: repository '/acme/ghost.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/ghost.git/' not found"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":{"ok":true,"data":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"9"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":48,"language":"Text","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prot","full_name":"acme/prot","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/prot/languages","html_url":"/acme/prot","url":"/api/v1/repos/acme/prot","link":"","ssh_url":"ssh:///acme/prot.git","clone_url":"/acme/prot.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":26,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"smart","full_name":"acme/smart","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"Text","languages_url":"/api/v1/repos/acme/smart/languages","html_url":"/acme/smart","url":"/api/v1/repos/acme/smart","link":"","ssh_url":"ssh:///acme/smart.git","clone_url":"/acme/smart.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"Text","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"13"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"doomed","full_name":"acme/doomed","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/doomed/languages","html_url":"/acme/doomed","url":"/api/v1/repos/acme/doomed","link":"","ssh_url":"ssh:///acme/doomed.git","clone_url":"/acme/doomed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":48,"language":"Text","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prot","full_name":"acme/prot","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/prot/languages","html_url":"/acme/prot","url":"/api/v1/repos/acme/prot","link":"","ssh_url":"ssh:///acme/prot.git","clone_url":"/acme/prot.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":26,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"smart","full_name":"acme/smart","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"Text","languages_url":"/api/v1/repos/acme/smart/languages","html_url":"/acme/smart","url":"/api/v1/repos/acme/smart","link":"","ssh_url":"ssh:///acme/smart.git","clone_url":"/acme/smart.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"Text","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"scoped","full_name":"alice/scoped","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/alice/scoped/languages","html_url":"/alice/scoped","url":"/api/v1/repos/alice/scoped","link":"","ssh_url":"ssh:///alice/scoped.git","clone_url":"/alice/scoped.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"name":"probe","full_name":"/probe","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos//probe/languages","html_url":"//probe","url":"/api/v1/repos//probe","link":"","ssh_url":"ssh:////probe.git","clone_url":"//probe.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=vis&limit=50","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":{"ok":true,"data":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/user/repos?limit=50","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"HasOrgOrUserVisible","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme/repos","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"11"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme/repos?limit=50","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"11"},"body":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":26,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":48,"language":"Text","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"Text","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prot","full_name":"acme/prot","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/prot/languages","html_url":"/acme/prot","url":"/api/v1/repos/acme/prot","link":"","ssh_url":"ssh:///acme/prot.git","clone_url":"/acme/prot.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"smart","full_name":"acme/smart","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"Text","languages_url":"/api/v1/repos/acme/smart/languages","html_url":"/acme/smart","url":"/api/v1/repos/acme/smart","link":"","ssh_url":"ssh:///acme/smart.git","clone_url":"/acme/smart.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme/repos?limit=50","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/L-force-private.json b/crates/forge/conformance/fixtures/1.22.6/L-force-private.json index be5407c2..32a2a9f1 100644 --- a/crates/forge/conformance/fixtures/1.22.6/L-force-private.json +++ b/crates/forge/conformance/fixtures/1.22.6/L-force-private.json @@ -1,1149 +1,17 @@ -{ - "scenario": "L", - "title": "force-private", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "pub1", - "private": false, - "auto_init": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "request": { - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": false, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": true, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": false, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": true, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "request": { - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "request": { - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": false, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": true, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "nodef", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "nodef", - "full_name": "acme/nodef", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/nodef/languages", - "html_url": "/acme/nodef", - "url": "/api/v1/repos/acme/nodef", - "link": "", - "ssh_url": "ssh:///acme/nodef.git", - "clone_url": "/acme/nodef.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "alice", - "status": 201, - "request": { - "name": "pub2", - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "pub2", - "full_name": "alice/pub2", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/alice/pub2/languages", - "html_url": "/alice/pub2", - "url": "/api/v1/repos/alice/pub2", - "link": "", - "ssh_url": "ssh:///alice/pub2.git", - "clone_url": "/alice/pub2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/pub2", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/pub2", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "alice", - "status": 201, - "request": { - "name": "nodef2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "nodef2", - "full_name": "alice/nodef2", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/alice/nodef2/languages", - "html_url": "/alice/nodef2", - "url": "/api/v1/repos/alice/nodef2", - "link": "", - "ssh_url": "ssh:///alice/nodef2.git", - "clone_url": "/alice/nodef2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 201, - "request": { - "username": "pubco", - "visibility": "public" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "pubco", - "full_name": "", - "email": "", - "avatar_url": "/avatars/e91cac257d9e29ee204956121e39ba8d", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "pubco" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/pubco", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "pubco", - "full_name": "", - "email": "", - "avatar_url": "/avatars/e91cac257d9e29ee204956121e39ba8d", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "pubco" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/pubco/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "pubrepo", - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "pubco", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "", - "avatar_url": "/avatars/e91cac257d9e29ee204956121e39ba8d", - "html_url": "/pubco", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "pubco" - }, - "name": "pubrepo", - "full_name": "pubco/pubrepo", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/pubco/pubrepo/languages", - "html_url": "/pubco/pubrepo", - "url": "/api/v1/repos/pubco/pubrepo", - "link": "", - "ssh_url": "ssh:///pubco/pubrepo.git", - "clone_url": "/pubco/pubrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/pubco/pubrepo", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"L","title":"force-private","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"pub1","private":false,"auto_init":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"request":{"private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":false,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":true,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":false,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":true,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"request":{"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"request":{"private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":false,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":true,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"nodef","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"nodef","full_name":"acme/nodef","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/nodef/languages","html_url":"/acme/nodef","url":"/api/v1/repos/acme/nodef","link":"","ssh_url":"ssh:///acme/nodef.git","clone_url":"/acme/nodef.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"alice","status":201,"request":{"name":"pub2","private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"pub2","full_name":"alice/pub2","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/alice/pub2/languages","html_url":"/alice/pub2","url":"/api/v1/repos/alice/pub2","link":"","ssh_url":"ssh:///alice/pub2.git","clone_url":"/alice/pub2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/pub2","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/pub2","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"alice","status":201,"request":{"name":"nodef2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"nodef2","full_name":"alice/nodef2","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/alice/nodef2/languages","html_url":"/alice/nodef2","url":"/api/v1/repos/alice/nodef2","link":"","ssh_url":"ssh:///alice/nodef2.git","clone_url":"/alice/nodef2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":201,"request":{"username":"pubco","visibility":"public"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"pubco","full_name":"","email":"","avatar_url":"/avatars/e91cac257d9e29ee204956121e39ba8d","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"pubco"}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/pubco","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"pubco","full_name":"","email":"","avatar_url":"/avatars/e91cac257d9e29ee204956121e39ba8d","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"pubco"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/pubco/repos","auth":"admin","status":201,"request":{"name":"pubrepo","private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"pubco","login_name":"","source_id":"","full_name":"","email":"","avatar_url":"/avatars/e91cac257d9e29ee204956121e39ba8d","html_url":"/pubco","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"pubco"},"name":"pubrepo","full_name":"pubco/pubrepo","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/pubco/pubrepo/languages","html_url":"/pubco/pubrepo","url":"/api/v1/repos/pubco/pubrepo","link":"","ssh_url":"ssh:///pubco/pubrepo.git","clone_url":"/pubco/pubrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/pubco/pubrepo","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/M-names.json b/crates/forge/conformance/fixtures/1.22.6/M-names.json index 23271938..d59c19d2 100644 --- a/crates/forge/conformance/fixtures/1.22.6/M-names.json +++ b/crates/forge/conformance/fixtures/1.22.6/M-names.json @@ -1,2415 +1,54 @@ -{ - "scenario": "M", - "title": "names", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "Mixed", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 409, - "request": { - "name": "mixed", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The repository with the same name already exists.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 409, - "request": { - "name": "MIXED", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The repository with the same name already exists.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/mixed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/Mixed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/ACME/mixed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": ".", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: .]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "..", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: ..]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": ".hidden", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": ".hidden", - "full_name": "acme/.hidden", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/.hidden/languages", - "html_url": "/acme/.hidden", - "url": "/api/v1/repos/acme/.hidden", - "link": "", - "ssh_url": "ssh:///acme/.hidden.git", - "clone_url": "/acme/.hidden.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "-dash", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "-dash", - "full_name": "acme/-dash", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/-dash/languages", - "html_url": "/acme/-dash", - "url": "/api/v1/repos/acme/-dash", - "link": "", - "ssh_url": "ssh:///acme/-dash.git", - "clone_url": "/acme/-dash.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "trail.git", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.git]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "wiki.wiki", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.wiki]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "feed.rss", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.rss]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "feed.atom", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.atom]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "a b", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: AlphaDashDot", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "a..b", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "a..b", - "full_name": "acme/a..b", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/a..b/languages", - "html_url": "/acme/a..b", - "url": "/api/v1/repos/acme/a..b", - "link": "", - "ssh_url": "ssh:///acme/a..b.git", - "clone_url": "/acme/a..b.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "api", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "api", - "full_name": "acme/api", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/api/languages", - "html_url": "/acme/api", - "url": "/api/v1/repos/acme/api", - "link": "", - "ssh_url": "ssh:///acme/api.git", - "clone_url": "/acme/api.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "admin", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "admin", - "full_name": "acme/admin", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/admin/languages", - "html_url": "/acme/admin", - "url": "/api/v1/repos/acme/admin", - "link": "", - "ssh_url": "ssh:///acme/admin.git", - "clone_url": "/acme/admin.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "user", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "user", - "full_name": "acme/user", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/user/languages", - "html_url": "/acme/user", - "url": "/api/v1/repos/acme/user", - "link": "", - "ssh_url": "ssh:///acme/user.git", - "clone_url": "/acme/user.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "assets", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "assets", - "full_name": "acme/assets", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/assets/languages", - "html_url": "/acme/assets", - "url": "/api/v1/repos/acme/assets", - "link": "", - "ssh_url": "ssh:///acme/assets.git", - "clone_url": "/acme/assets.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: MaxSize", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "ok_name-1.x", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "ok_name-1.x", - "full_name": "acme/ok_name-1.x", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/ok_name-1.x/languages", - "html_url": "/acme/ok_name-1.x", - "url": "/api/v1/repos/acme/ok_name-1.x", - "link": "", - "ssh_url": "ssh:///acme/ok_name-1.x.git", - "clone_url": "/acme/ok_name-1.x.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "\u00fcn\u00ef", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: AlphaDashDot", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "Acme" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: Acme]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "api" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: api]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "admin" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: admin]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "user" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "assets" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: assets]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "explore" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: explore]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": ".dot" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "-dash" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "has space" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 201, - "request": { - "username": "org.git" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "org.git", - "full_name": "", - "email": "", - "avatar_url": "/avatars/db2a58818a04fc2a8bf33359a138ef56", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "org.git" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: MaxSize", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "Alice", - "email": "Alice@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: Alice]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "api", - "email": "api@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: api]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "user", - "email": "user@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "-lead", - "email": "-lead@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Username]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": ".lead", - "email": ".lead@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Username]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 201, - "request": { - "username": "trail.git", - "email": "trail.git@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "trail.git", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "trail.git@example.invalid", - "avatar_url": "/avatars/3ce0652da723aaa0dc714e724efb8034", - "html_url": "/trail.git", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "trail.git" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "bad name", - "email": "badname@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Username]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "rename-me", - "auto_init": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "rename-me", - "full_name": "acme/rename-me", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/rename-me/languages", - "html_url": "/acme/rename-me", - "url": "/api/v1/repos/acme/rename-me", - "link": "", - "ssh_url": "ssh:///acme/rename-me.git", - "clone_url": "/acme/rename-me.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/rename-me", - "auth": "admin", - "status": 200, - "request": { - "name": "renamed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "renamed", - "full_name": "acme/renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/renamed/languages", - "html_url": "/acme/renamed", - "url": "/api/v1/repos/acme/renamed", - "link": "", - "ssh_url": "ssh:///acme/renamed.git", - "clone_url": "/acme/renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/rename-me", - "auth": "admin", - "status": 307, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/api/v1/repos/acme/renamed" - }, - "body_text": "Temporary Redirect.\n\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/renamed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "renamed", - "full_name": "acme/renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/renamed/languages", - "html_url": "/acme/renamed", - "url": "/api/v1/repos/acme/renamed", - "link": "", - "ssh_url": "ssh:///acme/renamed.git", - "clone_url": "/acme/renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/rename-me", - "auth": "dave", - "status": 307, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/api/v1/repos/acme/renamed" - }, - "body_text": "Temporary Redirect.\n\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/rename-me.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 307, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/acme/renamed/info/refs?service=git-upload-pack" - }, - "body_text": "Temporary Redirect.\n\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "git", - "name": "ls-remote-old-name", - "cmd": "git ls-remote http://@/acme/rename-me.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/main\nwarning: redirecting to /acme/renamed/" - }, - { - "kind": "git", - "name": "ls-remote-new-name", - "cmd": "git ls-remote http://@/acme/renamed.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/main" - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/renamed", - "auth": "admin", - "status": 422, - "request": { - "name": "mixed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "repository already exists [uname: acme, name: mixed]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/renamed", - "auth": "admin", - "status": 200, - "request": { - "name": "Renamed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Renamed", - "full_name": "acme/Renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/Renamed/languages", - "html_url": "/acme/Renamed", - "url": "/api/v1/repos/acme/Renamed", - "link": "", - "ssh_url": "ssh:///acme/Renamed.git", - "clone_url": "/acme/Renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/Renamed", - "auth": "admin", - "status": 200, - "request": { - "name": "renamed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "renamed", - "full_name": "acme/renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/renamed/languages", - "html_url": "/acme/renamed", - "url": "/api/v1/repos/acme/renamed", - "link": "", - "ssh_url": "ssh:///acme/renamed.git", - "clone_url": "/acme/renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - } - ] -} +{"scenario":"M","title":"names","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"Mixed","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":409,"request":{"name":"mixed","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The repository with the same name already exists.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":409,"request":{"name":"MIXED","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The repository with the same name already exists.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/mixed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/Mixed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/ACME/mixed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":".","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: .]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"..","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: ..]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":".hidden","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":".hidden","full_name":"acme/.hidden","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/.hidden/languages","html_url":"/acme/.hidden","url":"/api/v1/repos/acme/.hidden","link":"","ssh_url":"ssh:///acme/.hidden.git","clone_url":"/acme/.hidden.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"-dash","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"-dash","full_name":"acme/-dash","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/-dash/languages","html_url":"/acme/-dash","url":"/api/v1/repos/acme/-dash","link":"","ssh_url":"ssh:///acme/-dash.git","clone_url":"/acme/-dash.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"trail.git","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.git]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"wiki.wiki","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.wiki]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"feed.rss","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.rss]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"feed.atom","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.atom]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"a b","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: AlphaDashDot","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"a..b","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"a..b","full_name":"acme/a..b","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/a..b/languages","html_url":"/acme/a..b","url":"/api/v1/repos/acme/a..b","link":"","ssh_url":"ssh:///acme/a..b.git","clone_url":"/acme/a..b.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"api","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"api","full_name":"acme/api","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/api/languages","html_url":"/acme/api","url":"/api/v1/repos/acme/api","link":"","ssh_url":"ssh:///acme/api.git","clone_url":"/acme/api.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"admin","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"admin","full_name":"acme/admin","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/admin/languages","html_url":"/acme/admin","url":"/api/v1/repos/acme/admin","link":"","ssh_url":"ssh:///acme/admin.git","clone_url":"/acme/admin.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"user","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"user","full_name":"acme/user","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/user/languages","html_url":"/acme/user","url":"/api/v1/repos/acme/user","link":"","ssh_url":"ssh:///acme/user.git","clone_url":"/acme/user.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"assets","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"assets","full_name":"acme/assets","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/assets/languages","html_url":"/acme/assets","url":"/api/v1/repos/acme/assets","link":"","ssh_url":"ssh:///acme/assets.git","clone_url":"/acme/assets.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: MaxSize","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"ok_name-1.x","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"ok_name-1.x","full_name":"acme/ok_name-1.x","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/ok_name-1.x/languages","html_url":"/acme/ok_name-1.x","url":"/api/v1/repos/acme/ok_name-1.x","link":"","ssh_url":"ssh:///acme/ok_name-1.x.git","clone_url":"/acme/ok_name-1.x.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"\u00fcn\u00ef","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: AlphaDashDot","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"Acme"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: Acme]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"api"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: api]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"admin"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: admin]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"user"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: user]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"assets"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: assets]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"explore"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: explore]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":".dot"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"-dash"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"has space"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":201,"request":{"username":"org.git"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"org.git","full_name":"","email":"","avatar_url":"/avatars/db2a58818a04fc2a8bf33359a138ef56","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"org.git"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: MaxSize","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"Alice","email":"Alice@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: Alice]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"api","email":"api@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: api]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"user","email":"user@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: user]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"-lead","email":"-lead@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Username]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":".lead","email":".lead@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Username]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":201,"request":{"username":"trail.git","email":"trail.git@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"trail.git","login_name":"","source_id":"","full_name":"","email":"trail.git@example.invalid","avatar_url":"/avatars/3ce0652da723aaa0dc714e724efb8034","html_url":"/trail.git","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"trail.git"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"bad name","email":"badname@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Username]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"rename-me","auto_init":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"rename-me","full_name":"acme/rename-me","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/rename-me/languages","html_url":"/acme/rename-me","url":"/api/v1/repos/acme/rename-me","link":"","ssh_url":"ssh:///acme/rename-me.git","clone_url":"/acme/rename-me.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/rename-me","auth":"admin","status":200,"request":{"name":"renamed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"renamed","full_name":"acme/renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/renamed/languages","html_url":"/acme/renamed","url":"/api/v1/repos/acme/renamed","link":"","ssh_url":"ssh:///acme/renamed.git","clone_url":"/acme/renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/rename-me","auth":"admin","status":307,"headers":{"content-type":"text/html;charset=utf-8","location":"/api/v1/repos/acme/renamed"},"body_text":"Temporary Redirect.\n\n"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/renamed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"renamed","full_name":"acme/renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/renamed/languages","html_url":"/acme/renamed","url":"/api/v1/repos/acme/renamed","link":"","ssh_url":"ssh:///acme/renamed.git","clone_url":"/acme/renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/rename-me","auth":"dave","status":307,"headers":{"content-type":"text/html;charset=utf-8","location":"/api/v1/repos/acme/renamed"},"body_text":"Temporary Redirect.\n\n"}, +{"kind":"http","method":"GET","path":"/acme/rename-me.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":307,"headers":{"content-type":"text/html;charset=utf-8","location":"/acme/renamed/info/refs?service=git-upload-pack"},"body_text":"Temporary Redirect.\n\n","volatile":["$text"]}, +{"kind":"git","name":"ls-remote-old-name","cmd":"git ls-remote http://@/acme/rename-me.git","ok":true,"output":"\tHEAD\n\trefs/heads/main\nwarning: redirecting to /acme/renamed/"}, +{"kind":"git","name":"ls-remote-new-name","cmd":"git ls-remote http://@/acme/renamed.git","ok":true,"output":"\tHEAD\n\trefs/heads/main"}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/renamed","auth":"admin","status":422,"request":{"name":"mixed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"repository already exists [uname: acme, name: mixed]","url":"/api/swagger"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/renamed","auth":"admin","status":200,"request":{"name":"Renamed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Renamed","full_name":"acme/Renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/Renamed/languages","html_url":"/acme/Renamed","url":"/api/v1/repos/acme/Renamed","link":"","ssh_url":"ssh:///acme/Renamed.git","clone_url":"/acme/Renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/Renamed","auth":"admin","status":200,"request":{"name":"renamed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"renamed","full_name":"acme/renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/renamed/languages","html_url":"/acme/renamed","url":"/api/v1/repos/acme/renamed","link":"","ssh_url":"ssh:///acme/renamed.git","clone_url":"/acme/renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/N-default-branch.json b/crates/forge/conformance/fixtures/1.22.6/N-default-branch.json index 9191cc35..ff18a693 100644 --- a/crates/forge/conformance/fixtures/1.22.6/N-default-branch.json +++ b/crates/forge/conformance/fixtures/1.22.6/N-default-branch.json @@ -1,1352 +1,32 @@ -{ - "scenario": "N", - "title": "default-branch", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "request": { - "default_branch": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "request": { - "default_branch": "dev" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "dev", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "dev", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "git", - "name": "ls-remote-symref-after-change", - "cmd": "git ls-remote --symref http://@/acme/dflt.git HEAD", - "ok": true, - "output": "ref: refs/heads/dev\tHEAD\n\tHEAD" - }, - { - "kind": "note", - "key": "ls-remote-symref-after-change_stdout", - "value": "ref: refs/heads/dev\tHEAD\n\tHEAD", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/dflt/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "name": "dev", - "commit": { - "id": "", - "message": "commit on dev\n", - "url": "/acme/dflt/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "main", - "commit": { - "id": "", - "message": "Initial commit\n", - "url": "/acme/dflt/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/dflt/contents", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 8, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/dflt/contents/README.md?ref=dev", - "html_url": "/acme/dflt/src/branch/dev/README.md", - "git_url": "/api/v1/repos/acme/dflt/git/blobs/", - "download_url": "/acme/dflt/raw/branch/dev/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/dflt/contents/README.md?ref=dev", - "git": "/api/v1/repos/acme/dflt/git/blobs/", - "html": "/acme/dflt/src/branch/dev/README.md" - } - }, - { - "name": "dev.txt", - "path": "dev.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev", - "html_url": "/acme/dflt/src/branch/dev/dev.txt", - "git_url": "/api/v1/repos/acme/dflt/git/blobs/", - "download_url": "/acme/dflt/raw/branch/dev/dev.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev", - "git": "/api/v1/repos/acme/dflt/git/blobs/", - "html": "/acme/dflt/src/branch/dev/dev.txt" - } - } - ] - }, - { - "kind": "git", - "name": "clone-after-change", - "cmd": "git clone -q http://@/acme/dflt.git /ndflt", - "ok": true, - "output": "" - }, - { - "kind": "note", - "key": "clone_checked_out_branch", - "value": "dev", - "strict": true - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "request": { - "default_branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/dflt/branches/dev", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh1", - "full_name": "acme/fresh1", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/fresh1/languages", - "html_url": "/acme/fresh1", - "url": "/api/v1/repos/acme/fresh1", - "link": "", - "ssh_url": "ssh:///acme/fresh1.git", - "clone_url": "/acme/fresh1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "note", - "key": "fresh1_before_push_first_read", - "value": { - "empty": true, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh1", - "full_name": "acme/fresh1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh1/languages", - "html_url": "/acme/fresh1", - "url": "/api/v1/repos/acme/fresh1", - "link": "", - "ssh_url": "ssh:///acme/fresh1.git", - "clone_url": "/acme/fresh1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "trunk", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "note", - "key": "fresh1_after_trunk_first_read", - "value": { - "empty": true, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "git", - "name": "ls-remote-symref-trunk-first", - "cmd": "git ls-remote --symref http://@/acme/fresh1.git HEAD", - "ok": true, - "output": "ref: refs/heads/trunk\tHEAD\n\tHEAD" - }, - { - "kind": "note", - "key": "ls-remote-symref-trunk-first_stdout", - "value": "ref: refs/heads/trunk\tHEAD\n\tHEAD", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh1/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "trunk", - "commit": { - "id": "", - "message": "commit on trunk\n", - "url": "/acme/fresh1/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh2", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh2", - "full_name": "acme/fresh2", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh2/languages", - "html_url": "/acme/fresh2", - "url": "/api/v1/repos/acme/fresh2", - "link": "", - "ssh_url": "ssh:///acme/fresh2.git", - "clone_url": "/acme/fresh2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "note", - "key": "fresh2_after_main_first_read", - "value": { - "empty": true, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh3", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh3", - "full_name": "acme/fresh3", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/fresh3/languages", - "html_url": "/acme/fresh3", - "url": "/api/v1/repos/acme/fresh3", - "link": "", - "ssh_url": "ssh:///acme/fresh3.git", - "clone_url": "/acme/fresh3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "develop", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "note", - "key": "fresh3_before_push_first_read", - "value": { - "empty": true, - "default_branch": "develop" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh3", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh3", - "full_name": "acme/fresh3", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh3/languages", - "html_url": "/acme/fresh3", - "url": "/api/v1/repos/acme/fresh3", - "link": "", - "ssh_url": "ssh:///acme/fresh3.git", - "clone_url": "/acme/fresh3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "note", - "key": "fresh3_after_main_first_read", - "value": { - "empty": true, - "default_branch": "develop" - }, - "strict": false - }, - { - "kind": "git", - "name": "ls-remote-symref-main-pushed-first", - "cmd": "git ls-remote --symref http://@/acme/fresh3.git HEAD", - "ok": true, - "output": "" - }, - { - "kind": "note", - "key": "ls-remote-symref-main-pushed-first_stdout", - "value": "", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh3", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh3", - "full_name": "acme/fresh3", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh3/languages", - "html_url": "/acme/fresh3", - "url": "/api/v1/repos/acme/fresh3", - "link": "", - "ssh_url": "ssh:///acme/fresh3.git", - "clone_url": "/acme/fresh3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "note", - "key": "fresh3_after_develop_first_read", - "value": { - "empty": false, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "git", - "name": "ls-remote-symref-develop-pushed-second", - "cmd": "git ls-remote --symref http://@/acme/fresh3.git HEAD", - "ok": true, - "output": "ref: refs/heads/develop\tHEAD\n\tHEAD" - }, - { - "kind": "note", - "key": "ls-remote-symref-develop-pushed-second_stdout", - "value": "ref: refs/heads/develop\tHEAD\n\tHEAD", - "strict": true - } - ] -} +{"scenario":"N","title":"default-branch","error":null,"exchanges":[ +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"request":{"default_branch":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"request":{"default_branch":"dev"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"dev","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"dev","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"git","name":"ls-remote-symref-after-change","cmd":"git ls-remote --symref http://@/acme/dflt.git HEAD","ok":true,"output":"ref: refs/heads/dev\tHEAD\n\tHEAD"}, +{"kind":"note","key":"ls-remote-symref-after-change_stdout","value":"ref: refs/heads/dev\tHEAD\n\tHEAD","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/dflt/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"name":"dev","commit":{"id":"","message":"commit on dev\n","url":"/acme/dflt/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"main","commit":{"id":"","message":"Initial commit\n","url":"/acme/dflt/commit/","author":{"name":"","email":"admin@example.invalid","username":""},"committer":{"name":"","email":"admin@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/dflt/contents","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":8,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/dflt/contents/README.md?ref=dev","html_url":"/acme/dflt/src/branch/dev/README.md","git_url":"/api/v1/repos/acme/dflt/git/blobs/","download_url":"/acme/dflt/raw/branch/dev/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/dflt/contents/README.md?ref=dev","git":"/api/v1/repos/acme/dflt/git/blobs/","html":"/acme/dflt/src/branch/dev/README.md"}},{"name":"dev.txt","path":"dev.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev","html_url":"/acme/dflt/src/branch/dev/dev.txt","git_url":"/api/v1/repos/acme/dflt/git/blobs/","download_url":"/acme/dflt/raw/branch/dev/dev.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev","git":"/api/v1/repos/acme/dflt/git/blobs/","html":"/acme/dflt/src/branch/dev/dev.txt"}}]}, +{"kind":"git","name":"clone-after-change","cmd":"git clone -q http://@/acme/dflt.git /ndflt","ok":true,"output":""}, +{"kind":"note","key":"clone_checked_out_branch","value":"dev","strict":true}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"request":{"default_branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/dflt/branches/dev","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh1","full_name":"acme/fresh1","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/fresh1/languages","html_url":"/acme/fresh1","url":"/api/v1/repos/acme/fresh1","link":"","ssh_url":"ssh:///acme/fresh1.git","clone_url":"/acme/fresh1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"note","key":"fresh1_before_push_first_read","value":{"empty":true,"default_branch":"main"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh1","full_name":"acme/fresh1","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"Text","languages_url":"/api/v1/repos/acme/fresh1/languages","html_url":"/acme/fresh1","url":"/api/v1/repos/acme/fresh1","link":"","ssh_url":"ssh:///acme/fresh1.git","clone_url":"/acme/fresh1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"trunk","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"note","key":"fresh1_after_trunk_first_read","value":{"empty":true,"default_branch":"main"},"strict":false}, +{"kind":"git","name":"ls-remote-symref-trunk-first","cmd":"git ls-remote --symref http://@/acme/fresh1.git HEAD","ok":true,"output":"ref: refs/heads/trunk\tHEAD\n\tHEAD"}, +{"kind":"note","key":"ls-remote-symref-trunk-first_stdout","value":"ref: refs/heads/trunk\tHEAD\n\tHEAD","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh1/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"trunk","commit":{"id":"","message":"commit on trunk\n","url":"/acme/fresh1/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh2","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh2","full_name":"acme/fresh2","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/fresh2/languages","html_url":"/acme/fresh2","url":"/api/v1/repos/acme/fresh2","link":"","ssh_url":"ssh:///acme/fresh2.git","clone_url":"/acme/fresh2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"note","key":"fresh2_after_main_first_read","value":{"empty":true,"default_branch":"main"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh3","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh3","full_name":"acme/fresh3","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/fresh3/languages","html_url":"/acme/fresh3","url":"/api/v1/repos/acme/fresh3","link":"","ssh_url":"ssh:///acme/fresh3.git","clone_url":"/acme/fresh3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"develop","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"note","key":"fresh3_before_push_first_read","value":{"empty":true,"default_branch":"develop"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh3","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh3","full_name":"acme/fresh3","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"Text","languages_url":"/api/v1/repos/acme/fresh3/languages","html_url":"/acme/fresh3","url":"/api/v1/repos/acme/fresh3","link":"","ssh_url":"ssh:///acme/fresh3.git","clone_url":"/acme/fresh3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"note","key":"fresh3_after_main_first_read","value":{"empty":true,"default_branch":"develop"},"strict":false}, +{"kind":"git","name":"ls-remote-symref-main-pushed-first","cmd":"git ls-remote --symref http://@/acme/fresh3.git HEAD","ok":true,"output":""}, +{"kind":"note","key":"ls-remote-symref-main-pushed-first_stdout","value":"","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh3","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh3","full_name":"acme/fresh3","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/fresh3/languages","html_url":"/acme/fresh3","url":"/api/v1/repos/acme/fresh3","link":"","ssh_url":"ssh:///acme/fresh3.git","clone_url":"/acme/fresh3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"note","key":"fresh3_after_develop_first_read","value":{"empty":false,"default_branch":"main"},"strict":false}, +{"kind":"git","name":"ls-remote-symref-develop-pushed-second","cmd":"git ls-remote --symref http://@/acme/fresh3.git HEAD","ok":true,"output":"ref: refs/heads/develop\tHEAD\n\tHEAD"}, +{"kind":"note","key":"ls-remote-symref-develop-pushed-second_stdout","value":"ref: refs/heads/develop\tHEAD\n\tHEAD","strict":true} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/O-pr-head-lifecycle.json b/crates/forge/conformance/fixtures/1.22.6/O-pr-head-lifecycle.json index 947866d0..d600f4b4 100644 --- a/crates/forge/conformance/fixtures/1.22.6/O-pr-head-lifecycle.json +++ b/crates/forge/conformance/fixtures/1.22.6/O-pr-head-lifecycle.json @@ -1,3485 +1,34 @@ -{ - "scenario": "O", - "title": "pr-head-lifecycle", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - }, - { - "kind": "note", - "key": "force_push_head_sha_follows", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "git", - "name": "ls-remote-pull-refs", - "cmd": "git ls-remote http://@/acme/life.git refs/pull/*", - "ok": true, - "output": "\trefs/pull/1/head" - }, - { - "kind": "note", - "key": "ls-remote-pull-refs_stdout", - "value": "\trefs/pull/1/head", - "strict": true - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/life/branches/l2", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l2", - "body": "body l2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/2", - "diff_url": "/acme/life/pulls/2.diff", - "patch_url": "/acme/life/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l2", - "ref": "refs/pull/2/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/life/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l2", - "body": "body l2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/2", - "diff_url": "/acme/life/pulls/2.diff", - "patch_url": "/acme/life/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l2", - "ref": "refs/pull/2/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "git", - "name": "ls-remote-pull-refs-after-delete", - "cmd": "git ls-remote http://@/acme/life.git refs/pull/*", - "ok": true, - "output": "\trefs/pull/1/head\n\trefs/pull/2/head" - }, - { - "kind": "note", - "key": "ls-remote-pull-refs-after-delete_stdout", - "value": "\trefs/pull/1/head\n\trefs/pull/2/head", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/life.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003b refs/heads/l1\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "life_advertised_refs_upload_pack", - "value": [ - "HEAD", - "refs/heads/l1", - "refs/heads/main", - "refs/pull/1/head", - "refs/pull/2/head" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/life.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000bc refs/heads/l1\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "life_advertised_refs_receive_pack", - "value": [ - "refs/heads/l1", - "refs/heads/main", - "refs/pull/1/head", - "refs/pull/2/head" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls//commits", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "url": "/api/v1/repos/acme/life/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/life/commit/", - "commit": { - "url": "/api/v1/repos/acme/life/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "add l2\n", - "tree": { - "url": "/api/v1/repos/acme/life/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/life/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "l2.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/.diff", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "diff --git a/l2.txt b/l2.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/l2.txt\n@@ -0,0 +1 @@\n+2\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/life/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l3", - "body": "body l3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/life/pulls/3", - "diff_url": "/acme/life/pulls/3.diff", - "patch_url": "/acme/life/pulls/3.patch", - "mergeable": false, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l3", - "ref": "l3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "note", - "key": "merged_pr_head_sha_frozen", - "value": false, - "strict": true - }, - { - "kind": "note", - "key": "merged_pr_head_sha_follows_new_branch", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l4", - "ref": "l4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/life/branches/l4", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l4", - "ref": "refs/pull/4/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "open" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l4", - "ref": "refs/pull/4/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l4", - "ref": "refs/pull/4/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "state", - "closed_at" - ] - }, - { - "kind": "note", - "key": "direct_push_marks_pr_merged", - "value": false, - "strict": true - }, - { - "kind": "note", - "key": "direct_push_seconds_to_detect", - "value": 15, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l5", - "body": "body l5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/life/pulls/5", - "diff_url": "/acme/life/pulls/5.diff", - "patch_url": "/acme/life/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "l5", - "ref": "l5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"O","title":"pr-head-lifecycle","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}}, +{"kind":"note","key":"force_push_head_sha_follows","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"git","name":"ls-remote-pull-refs","cmd":"git ls-remote http://@/acme/life.git refs/pull/*","ok":true,"output":"\trefs/pull/1/head"}, +{"kind":"note","key":"ls-remote-pull-refs_stdout","value":"\trefs/pull/1/head","strict":true}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/life/branches/l2","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l2","body":"body l2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/2","diff_url":"/acme/life/pulls/2.diff","patch_url":"/acme/life/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l2","ref":"refs/pull/2/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/life/pulls//merge","auth":"bot-scoped","status":404,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l2","body":"body l2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/2","diff_url":"/acme/life/pulls/2.diff","patch_url":"/acme/life/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l2","ref":"refs/pull/2/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"git","name":"ls-remote-pull-refs-after-delete","cmd":"git ls-remote http://@/acme/life.git refs/pull/*","ok":true,"output":"\trefs/pull/1/head\n\trefs/pull/2/head"}, +{"kind":"note","key":"ls-remote-pull-refs-after-delete_stdout","value":"\trefs/pull/1/head\n\trefs/pull/2/head","strict":true}, +{"kind":"http","method":"GET","path":"/acme/life.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003b refs/heads/l1\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000","volatile":["$text"]}, +{"kind":"note","key":"life_advertised_refs_upload_pack","value":["HEAD","refs/heads/l1","refs/heads/main","refs/pull/1/head","refs/pull/2/head"],"strict":true}, +{"kind":"http","method":"GET","path":"/acme/life.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000bc refs/heads/l1\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000","volatile":["$text"]}, +{"kind":"note","key":"life_advertised_refs_receive_pack","value":["refs/heads/l1","refs/heads/main","refs/pull/1/head","refs/pull/2/head"],"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls//commits","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"url":"/api/v1/repos/acme/life/git/commits/","sha":"","created":"","html_url":"/acme/life/commit/","commit":{"url":"/api/v1/repos/acme/life/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"add l2\n","tree":{"url":"/api/v1/repos/acme/life/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/life/git/commits/","sha":"","created":""}],"files":[{"filename":"l2.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/.diff","auth":"bot-scoped","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"diff --git a/l2.txt b/l2.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/l2.txt\n@@ -0,0 +1 @@\n+2\n"}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/life/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l3","body":"body l3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/life/pulls/3","diff_url":"/acme/life/pulls/3.diff","patch_url":"/acme/life/pulls/3.patch","mergeable":false,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l3","ref":"l3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"note","key":"merged_pr_head_sha_frozen","value":false,"strict":true}, +{"kind":"note","key":"merged_pr_head_sha_follows_new_branch","value":true,"strict":true}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l4","ref":"l4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/life/branches/l4","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l4","ref":"refs/pull/4/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":201,"request":{"state":"open"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l4","ref":"refs/pull/4/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l4","ref":"refs/pull/4/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["state","closed_at"]}, +{"kind":"note","key":"direct_push_marks_pr_merged","value":false,"strict":true}, +{"kind":"note","key":"direct_push_seconds_to_detect","value":15,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l5","body":"body l5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/life/pulls/5","diff_url":"/acme/life/pulls/5.diff","patch_url":"/acme/life/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"l5","ref":"l5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls//merge","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/P-pagination.json b/crates/forge/conformance/fixtures/1.22.6/P-pagination.json index e7f56bc3..29224529 100644 --- a/crates/forge/conformance/fixtures/1.22.6/P-pagination.json +++ b/crates/forge/conformance/fixtures/1.22.6/P-pagination.json @@ -1,15519 +1,47 @@ -{ - "scenario": "P", - "title": "pagination", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=3", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=0", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=-1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=0", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_0_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=100", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_100_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=51", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_51_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_50_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=-1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_-1_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=abc", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&sort=oldest&limit=5", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&sort=newest&limit=5", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&sort=recentupdate&limit=5", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\"" - }, - "body": [ - { - "name": "pg5", - "commit": { - "id": "", - "message": "add pg5\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "pg4", - "commit": { - "id": "", - "message": "add pg4\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"prev\"" - }, - "body": [ - { - "name": "pg3", - "commit": { - "id": "", - "message": "add pg3\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "pg2", - "commit": { - "id": "", - "message": "add pg2\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=3", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\"" - }, - "body": [ - { - "name": "pg1", - "commit": { - "id": "", - "message": "add pg1\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "main", - "commit": { - "id": "", - "message": "Initial commit\n", - "url": "/acme/pages/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=4", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\"" - }, - "body": [] - }, - { - "kind": "note", - "key": "branches_default_count", - "value": 30, - "strict": true - }, - { - "kind": "note", - "key": "branches_default_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=100_count", - "value": 50, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=100_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=51_count", - "value": 50, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=51_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=0_count", - "value": 30, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=0_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=0&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=0&page=3>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?page=2_count", - "value": 30, - "strict": true - }, - { - "kind": "note", - "key": "branches?page=2_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"prev\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=50&page=2_count", - "value": 11, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=50&page=2_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"prev\"" - }, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//statuses?limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s5", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s4", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//statuses?limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s3", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s2", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//statuses?limit=2&page=3", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s1", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/statuses/?limit=3&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"next\",</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s5", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s4", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s3", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/statuses/?limit=3&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"first\",</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s2", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s1", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//status?limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s4", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s5", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//status?limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s2", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s3", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - "commit_url": "", - "url": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=pgrepo&limit=2&page=1&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"next\",</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"last\"" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pgrepo1", - "full_name": "acme/pgrepo1", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/pgrepo1/languages", - "html_url": "/acme/pgrepo1", - "url": "/api/v1/repos/acme/pgrepo1", - "link": "", - "ssh_url": "ssh:///acme/pgrepo1.git", - "clone_url": "/acme/pgrepo1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pgrepo2", - "full_name": "acme/pgrepo2", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/pgrepo2/languages", - "html_url": "/acme/pgrepo2", - "url": "/api/v1/repos/acme/pgrepo2", - "link": "", - "ssh_url": "ssh:///acme/pgrepo2.git", - "clone_url": "/acme/pgrepo2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=pgrepo&limit=2&page=2&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\"" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pgrepo3", - "full_name": "acme/pgrepo3", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/pgrepo3/languages", - "html_url": "/acme/pgrepo3", - "url": "/api/v1/repos/acme/pgrepo3", - "link": "", - "ssh_url": "ssh:///acme/pgrepo3.git", - "clone_url": "/acme/pgrepo3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=pgrepo&limit=2&page=3&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\"" - }, - "body": { - "ok": true, - "data": [] - } - } - ] -} +{"scenario":"P","title":"pagination","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\""},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"prev\""},"body":[{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=3","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"prev\""},"body":[{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=0","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\""},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=-1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\""},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=0","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"note","key":"pulls_limit_0_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=100","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"note","key":"pulls_limit_100_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=51","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"note","key":"pulls_limit_51_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"note","key":"pulls_limit_50_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=-1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"note","key":"pulls_limit_-1_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=abc","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&sort=oldest&limit=5","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&sort=newest&limit=5","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&sort=recentupdate&limit=5","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\""},"body":[{"name":"pg5","commit":{"id":"","message":"add pg5\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"pg4","commit":{"id":"","message":"add pg4\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"prev\""},"body":[{"name":"pg3","commit":{"id":"","message":"add pg3\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"pg2","commit":{"id":"","message":"add pg2\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=3","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\""},"body":[{"name":"pg1","commit":{"id":"","message":"add pg1\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"main","commit":{"id":"","message":"Initial commit\n","url":"/acme/pages/commit/","author":{"name":"","email":"admin@example.invalid","username":""},"committer":{"name":"","email":"admin@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=4","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\""},"body":[]}, +{"kind":"note","key":"branches_default_count","value":30,"strict":true}, +{"kind":"note","key":"branches_default_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?limit=100_count","value":50,"strict":true}, +{"kind":"note","key":"branches?limit=100_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?limit=51_count","value":50,"strict":true}, +{"kind":"note","key":"branches?limit=51_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?limit=0_count","value":30,"strict":true}, +{"kind":"note","key":"branches?limit=0_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=0&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=0&page=3>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?page=2_count","value":30,"strict":true}, +{"kind":"note","key":"branches?page=2_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"prev\""},"strict":true}, +{"kind":"note","key":"branches?limit=50&page=2_count","value":11,"strict":true}, +{"kind":"note","key":"branches?limit=50&page=2_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"prev\""},"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//statuses?limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s5","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s4","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//statuses?limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"prev\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s3","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s2","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//statuses?limit=2&page=3","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"prev\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s1","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/statuses/?limit=3&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"next\",</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"last\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s5","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s4","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s3","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/statuses/?limit=3&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"first\",</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"prev\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s2","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s1","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//status?limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":{"state":"success","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s4","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s5","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//status?limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":{"state":"success","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s2","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s3","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},"commit_url":"","url":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=pgrepo&limit=2&page=1&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"next\",</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"last\""},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pgrepo1","full_name":"acme/pgrepo1","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/pgrepo1/languages","html_url":"/acme/pgrepo1","url":"/api/v1/repos/acme/pgrepo1","link":"","ssh_url":"ssh:///acme/pgrepo1.git","clone_url":"/acme/pgrepo1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pgrepo2","full_name":"acme/pgrepo2","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/pgrepo2/languages","html_url":"/acme/pgrepo2","url":"/api/v1/repos/acme/pgrepo2","link":"","ssh_url":"ssh:///acme/pgrepo2.git","clone_url":"/acme/pgrepo2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=pgrepo&limit=2&page=2&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\""},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pgrepo3","full_name":"acme/pgrepo3","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/pgrepo3/languages","html_url":"/acme/pgrepo3","url":"/api/v1/repos/acme/pgrepo3","link":"","ssh_url":"ssh:///acme/pgrepo3.git","clone_url":"/acme/pgrepo3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=pgrepo&limit=2&page=3&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\""},"body":{"ok":true,"data":[]}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/Q-protection-bypass.json b/crates/forge/conformance/fixtures/1.22.6/Q-protection-bypass.json index 70a583ee..47ff40be 100644 --- a/crates/forge/conformance/fixtures/1.22.6/Q-protection-bypass.json +++ b/crates/forge/conformance/fixtures/1.22.6/Q-protection-bypass.json @@ -1,431 +1,21 @@ -{ - "scenario": "Q", - "title": "protection-bypass", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/contents/viaapi.txt", - "auth": "bot", - "status": 403, - "request": { - "content": "eAo=", - "message": "api to main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user cannot commit to repo [user: bot]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/contents/viaapi-admin.txt", - "auth": "admin", - "status": 403, - "request": { - "content": "eAo=", - "message": "api to main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user cannot commit to repo [user: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/bypass/contents/README.md", - "auth": "bot", - "status": 403, - "request": { - "content": "Y2hhbmdlZAo=", - "message": "put to main", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user cannot commit to repo [user: bot]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/contents/viapr.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "api new branch", - "branch": "main", - "new_branch": "q-api" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "viapr.txt", - "path": "viapr.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api", - "html_url": "/acme/bypass/src/branch/q-api/viapr.txt", - "git_url": "/api/v1/repos/acme/bypass/git/blobs/", - "download_url": "/acme/bypass/raw/branch/q-api/viapr.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api", - "git": "/api/v1/repos/acme/bypass/git/blobs/", - "html": "/acme/bypass/src/branch/q-api/viapr.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/bypass/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/bypass/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/bypass/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "api new branch\n", - "tree": { - "url": "/api/v1/repos/acme/bypass/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "git", - "name": "push-unprotected-branch", - "cmd": "git push origin HEAD:refs/heads/fp1", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/compare/main...fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n * [new branch] HEAD -> fp1" - }, - { - "kind": "git", - "name": "force-push-unprotected-branch", - "cmd": "git push -f origin HEAD:refs/heads/fp1", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/compare/main...fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n + .. HEAD -> fp1 (forced update)" - }, - { - "kind": "git", - "name": "nonff-protected-push-disabled", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": false, - "output": "To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] head -> main (non-fast-forward)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/bypass/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "git", - "name": "nonff-protected-push-enabled", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": false, - "output": "To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] head -> main (non-fast-forward)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "git", - "name": "force-protected-push-enabled", - "cmd": "git push -f origin HEAD:refs/heads/main", - "ok": false, - "output": "remote: \nremote: Gitea: branch main is protected from force push \nTo /acme/bypass.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'", - "refusal": [ - "remote: gitea: branch main is protected from force push", - "! [remote rejected] head -> main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "git", - "name": "delete-protected-push-enabled", - "cmd": "git push origin :refs/heads/main", - "ok": false, - "output": "remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'", - "refusal": [ - "remote: gitea: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/bypass/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_push": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "git", - "name": "delete-protected-push-disabled", - "cmd": "git push origin :refs/heads/main", - "ok": false, - "output": "remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'", - "refusal": [ - "remote: gitea: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/bypass/branches/main", - "auth": "admin", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "can not delete default branch", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/bypass/branches/main", - "auth": "bot", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "can not delete default branch", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/bypass/branches/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "main", - "commit": { - "id": "", - "message": "Merge pull request 'PR q1' (#1) from q1 into main\n", - "url": "/acme/bypass/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "username": "bot" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "username": "bot" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": true, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": null, - "user_can_push": false, - "user_can_merge": true, - "effective_branch_protection_name": "main" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/bypass/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - } - ] -} +{"scenario":"Q","title":"protection-bypass","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/contents/viaapi.txt","auth":"bot","status":403,"request":{"content":"eAo=","message":"api to main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user cannot commit to repo [user: bot]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/contents/viaapi-admin.txt","auth":"admin","status":403,"request":{"content":"eAo=","message":"api to main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user cannot commit to repo [user: ]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/bypass/contents/README.md","auth":"bot","status":403,"request":{"content":"Y2hhbmdlZAo=","message":"put to main","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user cannot commit to repo [user: bot]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/contents/viapr.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"api new branch","branch":"main","new_branch":"q-api"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"viapr.txt","path":"viapr.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api","html_url":"/acme/bypass/src/branch/q-api/viapr.txt","git_url":"/api/v1/repos/acme/bypass/git/blobs/","download_url":"/acme/bypass/raw/branch/q-api/viapr.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api","git":"/api/v1/repos/acme/bypass/git/blobs/","html":"/acme/bypass/src/branch/q-api/viapr.txt"}},"commit":{"url":"/api/v1/repos/acme/bypass/git/commits/","sha":"","created":"","html_url":"/acme/bypass/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/bypass/git/commits/","sha":"","created":""}],"message":"api new branch\n","tree":{"url":"/api/v1/repos/acme/bypass/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"git","name":"push-unprotected-branch","cmd":"git push origin HEAD:refs/heads/fp1","ok":true,"output":"remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/compare/main...fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n * [new branch] HEAD -> fp1"}, +{"kind":"git","name":"force-push-unprotected-branch","cmd":"git push -f origin HEAD:refs/heads/fp1","ok":true,"output":"remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/compare/main...fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n + .. HEAD -> fp1 (forced update)"}, +{"kind":"git","name":"nonff-protected-push-disabled","cmd":"git push origin HEAD:refs/heads/main","ok":false,"output":"To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] head -> main (non-fast-forward)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/bypass/branch_protections/main","auth":"admin","status":200,"request":{"enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"git","name":"nonff-protected-push-enabled","cmd":"git push origin HEAD:refs/heads/main","ok":false,"output":"To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] head -> main (non-fast-forward)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"git","name":"force-protected-push-enabled","cmd":"git push -f origin HEAD:refs/heads/main","ok":false,"output":"remote: \nremote: Gitea: branch main is protected from force push \nTo /acme/bypass.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'","refusal":["remote: gitea: branch main is protected from force push","! [remote rejected] head -> main (pre-receive hook declined)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"git","name":"delete-protected-push-enabled","cmd":"git push origin :refs/heads/main","ok":false,"output":"remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'","refusal":["remote: gitea: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/bypass/branch_protections/main","auth":"admin","status":200,"request":{"enable_push":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"git","name":"delete-protected-push-disabled","cmd":"git push origin :refs/heads/main","ok":false,"output":"remote: \nremote: Gitea: branch main is the default branch and cannot be deleted \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'","refusal":["remote: gitea: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/bypass/branches/main","auth":"admin","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"can not delete default branch","url":"/api/swagger"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/bypass/branches/main","auth":"bot","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"can not delete default branch","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/bypass/branches/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"main","commit":{"id":"","message":"Merge pull request 'PR q1' (#1) from q1 into main\n","url":"/acme/bypass/commit/","author":{"name":"bot","email":"bot@example.invalid","username":"bot"},"committer":{"name":"bot","email":"bot@example.invalid","username":"bot"},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":true,"required_approvals":0,"enable_status_check":false,"status_check_contexts":null,"user_can_push":false,"user_can_merge":true,"effective_branch_protection_name":"main"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/bypass/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/R-token-scope-edges.json b/crates/forge/conformance/fixtures/1.22.6/R-token-scope-edges.json index cbdf7fde..ae922c08 100644 --- a/crates/forge/conformance/fixtures/1.22.6/R-token-scope-edges.json +++ b/crates/forge/conformance/fixtures/1.22.6/R-token-scope-edges.json @@ -1,530 +1,23 @@ -{ - "scenario": "R", - "title": "token-scope-edges", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "po", - "scopes": [ - "public-only", - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "po", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "public-only", - "read:repository" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped2", - "auth": "alice-po", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token scope is limited to public repos", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "alice-po", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [read:user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50", - "auth": "alice-po", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": { - "ok": true, - "data": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro", - "status": 403, - "request": { - "name": "via-ro", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice", - "status": 401, - "request": { - "name": "via-all-token", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "auth required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-tokpw", - "status": 201, - "request": { - "name": "via-token-as-password", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "via-token-as-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-tokpw", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": [ - { - "id": "", - "name": "po", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "public-only", - "read:repository" - ] - }, - { - "id": "", - "name": "via-token-as-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - }, - { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - }, - { - "id": "", - "name": "all", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "all" - ] - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "alice-pw-on-bot", - "status": 403, - "request": { - "name": "stolen", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "doer should be the site admin or be same as the contextUser", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/bot/tokens", - "auth": "alice-pw-on-bot", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "doer should be the site admin or be same as the contextUser", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 400, - "request": { - "name": "badscope", - "scopes": [ - "nonsense" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid access token scope provided: invalid access token scope: nonsense", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 400, - "request": { - "name": "noscope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "access token must have a scope", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 422, - "request": { - "name": "", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: Required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "wo", - "scopes": [ - "write:organization" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "wo", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "write:organization" - ] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "bot", - "status": 201, - "request": { - "username": "botorg" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "botorg", - "full_name": "", - "email": "", - "avatar_url": "/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "botorg" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/botorg/repos", - "auth": "alice-wo", - "status": 403, - "request": { - "name": "intruder" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Given user is not allowed to create repository in organization.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/botorg/repos", - "auth": "alice", - "status": 403, - "request": { - "name": "intruder" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Given user is not allowed to create repository in organization.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/botorg/repos", - "auth": "bot", - "status": 201, - "request": { - "name": "legit" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "botorg", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "", - "avatar_url": "/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3", - "html_url": "/botorg", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "botorg" - }, - "name": "legit", - "full_name": "botorg/legit", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/botorg/legit/languages", - "html_url": "/botorg/legit", - "url": "/api/v1/repos/botorg/legit", - "link": "", - "ssh_url": "ssh:///botorg/legit.git", - "clone_url": "/botorg/legit.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/botorg", - "auth": "alice-wo", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "botorg", - "full_name": "", - "email": "", - "avatar_url": "/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "botorg" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped2", - "auth": "alice-wo", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [read:repository]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped2/branches", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "The target couldn't be found.", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"R","title":"token-scope-edges","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"po","scopes":["public-only","read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"po","sha1":"","token_last_eight":"","scopes":["public-only","read:repository"]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped2","auth":"alice-po","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token scope is limited to public repos","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"alice-po","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [read:user]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50","auth":"alice-po","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":{"ok":true,"data":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-ro","status":403,"request":{"name":"via-ro","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:user]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice","status":401,"request":{"name":"via-all-token","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"auth required","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-tokpw","status":201,"request":{"name":"via-token-as-password","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"via-token-as-password","sha1":"","token_last_eight":"","scopes":["read:repository"]}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-tokpw","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":[{"id":"","name":"po","sha1":"","token_last_eight":"","scopes":["public-only","read:repository"]},{"id":"","name":"via-token-as-password","sha1":"","token_last_eight":"","scopes":["read:repository"]},{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"]},{"id":"","name":"all","sha1":"","token_last_eight":"","scopes":["all"]}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"alice-pw-on-bot","status":403,"request":{"name":"stolen","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"doer should be the site admin or be same as the contextUser","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/users/bot/tokens","auth":"alice-pw-on-bot","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"doer should be the site admin or be same as the contextUser","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":400,"request":{"name":"badscope","scopes":["nonsense"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid access token scope provided: invalid access token scope: nonsense","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":400,"request":{"name":"noscope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"access token must have a scope","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":422,"request":{"name":"","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: Required","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"wo","scopes":["write:organization"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"wo","sha1":"","token_last_eight":"","scopes":["write:organization"]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"bot","status":201,"request":{"username":"botorg"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"botorg","full_name":"","email":"","avatar_url":"/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"botorg"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/botorg/repos","auth":"alice-wo","status":403,"request":{"name":"intruder"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Given user is not allowed to create repository in organization.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/botorg/repos","auth":"alice","status":403,"request":{"name":"intruder"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Given user is not allowed to create repository in organization.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/botorg/repos","auth":"bot","status":201,"request":{"name":"legit"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"botorg","login_name":"","source_id":"","full_name":"","email":"","avatar_url":"/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3","html_url":"/botorg","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"botorg"},"name":"legit","full_name":"botorg/legit","description":"","empty":true,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/botorg/legit/languages","html_url":"/botorg/legit","url":"/api/v1/repos/botorg/legit","link":"","ssh_url":"ssh:///botorg/legit.git","clone_url":"/botorg/legit.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/botorg","auth":"alice-wo","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"botorg","full_name":"","email":"","avatar_url":"/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"botorg"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped2","auth":"alice-wo","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [read:repository]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped2/branches","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"The target couldn't be found.","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/S-ref-pushes.json b/crates/forge/conformance/fixtures/1.22.6/S-ref-pushes.json index 4da2d8e1..30f40df7 100644 --- a/crates/forge/conformance/fixtures/1.22.6/S-ref-pushes.json +++ b/crates/forge/conformance/fixtures/1.22.6/S-ref-pushes.json @@ -1,601 +1,25 @@ -{ - "scenario": "S", - "title": "ref-pushes", - "error": null, - "exchanges": [ - { - "kind": "git", - "name": "bot-push-replace-ref", - "cmd": "git push origin :refs/replace/", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/replace/" - }, - { - "kind": "git", - "name": "bot-push-pull-1-head", - "cmd": "git push origin :refs/pull/1/head", - "ok": false, - "output": "To /acme/refs.git\n ! [rejected] -> refs/pull/1/head (non-fast-forward)\nerror: failed to push some refs to '/acme/refs.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] -> refs/pull/1/head (non-fast-forward)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-pull-1-head-forced", - "cmd": "git push origin +:refs/pull/1/head", - "ok": false, - "output": "remote: error: hook declined to update refs/pull/1/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/1/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "remote: error: hook declined to update refs/pull/1/head", - "! [remote rejected] -> refs/pull/1/head (hook declined)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-pull-999-head", - "cmd": "git push origin :refs/pull/999/head", - "ok": false, - "output": "remote: error: hook declined to update refs/pull/999/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/999/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "remote: error: hook declined to update refs/pull/999/head", - "! [remote rejected] -> refs/pull/999/head (hook declined)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-heads-pull-1-head", - "cmd": "git push origin :refs/heads/pull/1/head", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'pull/1/head': \nremote: /acme/refs/compare/main...pull/1/head \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new branch] -> pull/1/head" - }, - { - "kind": "git", - "name": "bot-push-lightweight-tag", - "cmd": "git push origin :refs/tags/v-bot", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] -> v-bot" - }, - { - "kind": "git", - "name": "bot-push-annotated-tag", - "cmd": "git push origin refs/tags/annot:refs/tags/annot", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] annot -> annot" - }, - { - "kind": "git", - "name": "bot-push-notes-ref", - "cmd": "git push origin :refs/notes/commits", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/notes/commits" - }, - { - "kind": "git", - "name": "bot-push-for-ref", - "cmd": "git push origin :refs/for/main", - "ok": false, - "output": "To /acme/refs.git\n ! [remote rejected] -> refs/for/main (topic-branch is not set)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "! [remote rejected] -> refs/for/main (topic-branch is not set)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-changes-ref", - "cmd": "git push origin :refs/changes/1/2", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/changes/1/2" - }, - { - "kind": "git", - "name": "bot-push-keep-around-ref", - "cmd": "git push origin :refs/keep-around/", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/keep-around/" - }, - { - "kind": "git", - "name": "bot-push-arbitrary-ref", - "cmd": "git push origin :refs/custom/thing", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/custom/thing" - }, - { - "kind": "git", - "name": "bot-push-tag-delete", - "cmd": "git push origin :refs/tags/v-bot", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n - [deleted] v-bot" - }, - { - "kind": "git", - "name": "read-collab-push-tag", - "cmd": "git push http://@/acme/refs.git :refs/tags/v-carol", - "ok": false, - "output": "remote: \nremote: Gitea: User permission denied for writing. \nTo /acme/refs.git\n ! [remote rejected] -> v-carol (pre-receive hook declined)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "remote: gitea: user permission denied for writing.", - "! [remote rejected] -> v-carol (pre-receive hook declined)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "ls-remote-all-refs", - "cmd": "git ls-remote http://@/acme/refs.git", - "ok": true, - "output": "\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}" - }, - { - "kind": "note", - "key": "ls-remote-all-refs_stdout", - "value": "\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/refs.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003e refs/changes/1/2\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0040 refs/tags/annot^{}\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "refs_advertised_refs_upload_pack", - "value": [ - "HEAD", - "refs/changes/1/2", - "refs/custom/thing", - "refs/heads/main", - "refs/heads/pull/1/head", - "refs/heads/r1", - "refs/keep-around/", - "refs/notes/commits", - "refs/pull/1/head", - "refs/replace/", - "refs/tags/annot", - "refs/tags/annot^{}" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/refs.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000bf refs/changes/1/2\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "refs_advertised_refs_receive_pack", - "value": [ - "refs/changes/1/2", - "refs/custom/thing", - "refs/heads/main", - "refs/heads/pull/1/head", - "refs/heads/r1", - "refs/keep-around/", - "refs/notes/commits", - "refs/pull/1/head", - "refs/replace/", - "refs/tags/annot" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/refs/git/refs", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/changes/1/2", - "url": "/api/v1/repos/acme/refs/git/refs/changes/1/2", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/custom/thing", - "url": "/api/v1/repos/acme/refs/git/refs/custom/thing", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/refs/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/heads/pull/1/head", - "url": "/api/v1/repos/acme/refs/git/refs/heads/pull/1/head", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/heads/r1", - "url": "/api/v1/repos/acme/refs/git/refs/heads/r1", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/keep-around/", - "url": "/api/v1/repos/acme/refs/git/refs/keep-around/", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/notes/commits", - "url": "/api/v1/repos/acme/refs/git/refs/notes/commits", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/pull/1/head", - "url": "/api/v1/repos/acme/refs/git/refs/pull/1/head", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/replace/", - "url": "/api/v1/repos/acme/refs/git/refs/replace/", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/tags/annot", - "url": "/api/v1/repos/acme/refs/git/refs/tags/annot", - "object": { - "type": "tag", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/tags/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/refs/tags", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "annot", - "message": "annotated", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/refs/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/refs/archive/annot.zip", - "tarball_url": "/acme/refs/archive/annot.tar.gz" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/refs/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/refs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR r1", - "body": "body r1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/refs/pulls/1", - "diff_url": "/acme/refs/pulls/1.diff", - "patch_url": "/acme/refs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "refs", - "full_name": "acme/refs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/refs/languages", - "html_url": "/acme/refs", - "url": "/api/v1/repos/acme/refs", - "link": "", - "ssh_url": "ssh:///acme/refs.git", - "clone_url": "/acme/refs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "r1", - "ref": "r1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "refs", - "full_name": "acme/refs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/refs/languages", - "html_url": "/acme/refs", - "url": "/api/v1/repos/acme/refs", - "link": "", - "ssh_url": "ssh:///acme/refs.git", - "clone_url": "/acme/refs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - } - ] -} +{"scenario":"S","title":"ref-pushes","error":null,"exchanges":[ +{"kind":"git","name":"bot-push-replace-ref","cmd":"git push origin :refs/replace/","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/replace/"}, +{"kind":"git","name":"bot-push-pull-1-head","cmd":"git push origin :refs/pull/1/head","ok":false,"output":"To /acme/refs.git\n ! [rejected] -> refs/pull/1/head (non-fast-forward)\nerror: failed to push some refs to '/acme/refs.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] -> refs/pull/1/head (non-fast-forward)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-pull-1-head-forced","cmd":"git push origin +:refs/pull/1/head","ok":false,"output":"remote: error: hook declined to update refs/pull/1/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/1/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["remote: error: hook declined to update refs/pull/1/head","! [remote rejected] -> refs/pull/1/head (hook declined)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-pull-999-head","cmd":"git push origin :refs/pull/999/head","ok":false,"output":"remote: error: hook declined to update refs/pull/999/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/999/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["remote: error: hook declined to update refs/pull/999/head","! [remote rejected] -> refs/pull/999/head (hook declined)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-heads-pull-1-head","cmd":"git push origin :refs/heads/pull/1/head","ok":true,"output":"remote: \nremote: Create a new pull request for 'pull/1/head': \nremote: /acme/refs/compare/main...pull/1/head \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new branch] -> pull/1/head"}, +{"kind":"git","name":"bot-push-lightweight-tag","cmd":"git push origin :refs/tags/v-bot","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] -> v-bot"}, +{"kind":"git","name":"bot-push-annotated-tag","cmd":"git push origin refs/tags/annot:refs/tags/annot","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] annot -> annot"}, +{"kind":"git","name":"bot-push-notes-ref","cmd":"git push origin :refs/notes/commits","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/notes/commits"}, +{"kind":"git","name":"bot-push-for-ref","cmd":"git push origin :refs/for/main","ok":false,"output":"To /acme/refs.git\n ! [remote rejected] -> refs/for/main (topic-branch is not set)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["! [remote rejected] -> refs/for/main (topic-branch is not set)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-changes-ref","cmd":"git push origin :refs/changes/1/2","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/changes/1/2"}, +{"kind":"git","name":"bot-push-keep-around-ref","cmd":"git push origin :refs/keep-around/","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/keep-around/"}, +{"kind":"git","name":"bot-push-arbitrary-ref","cmd":"git push origin :refs/custom/thing","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/custom/thing"}, +{"kind":"git","name":"bot-push-tag-delete","cmd":"git push origin :refs/tags/v-bot","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n - [deleted] v-bot"}, +{"kind":"git","name":"read-collab-push-tag","cmd":"git push http://@/acme/refs.git :refs/tags/v-carol","ok":false,"output":"remote: \nremote: Gitea: User permission denied for writing. \nTo /acme/refs.git\n ! [remote rejected] -> v-carol (pre-receive hook declined)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["remote: gitea: user permission denied for writing.","! [remote rejected] -> v-carol (pre-receive hook declined)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"ls-remote-all-refs","cmd":"git ls-remote http://@/acme/refs.git","ok":true,"output":"\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}"}, +{"kind":"note","key":"ls-remote-all-refs_stdout","value":"\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}","strict":true}, +{"kind":"http","method":"GET","path":"/acme/refs.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003e refs/changes/1/2\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0040 refs/tags/annot^{}\n0000","volatile":["$text"]}, +{"kind":"note","key":"refs_advertised_refs_upload_pack","value":["HEAD","refs/changes/1/2","refs/custom/thing","refs/heads/main","refs/heads/pull/1/head","refs/heads/r1","refs/keep-around/","refs/notes/commits","refs/pull/1/head","refs/replace/","refs/tags/annot","refs/tags/annot^{}"],"strict":true}, +{"kind":"http","method":"GET","path":"/acme/refs.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000bf refs/changes/1/2\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0000","volatile":["$text"]}, +{"kind":"note","key":"refs_advertised_refs_receive_pack","value":["refs/changes/1/2","refs/custom/thing","refs/heads/main","refs/heads/pull/1/head","refs/heads/r1","refs/keep-around/","refs/notes/commits","refs/pull/1/head","refs/replace/","refs/tags/annot"],"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/refs/git/refs","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/changes/1/2","url":"/api/v1/repos/acme/refs/git/refs/changes/1/2","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/custom/thing","url":"/api/v1/repos/acme/refs/git/refs/custom/thing","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/heads/main","url":"/api/v1/repos/acme/refs/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/heads/pull/1/head","url":"/api/v1/repos/acme/refs/git/refs/heads/pull/1/head","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/heads/r1","url":"/api/v1/repos/acme/refs/git/refs/heads/r1","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/keep-around/","url":"/api/v1/repos/acme/refs/git/refs/keep-around/","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/notes/commits","url":"/api/v1/repos/acme/refs/git/refs/notes/commits","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/pull/1/head","url":"/api/v1/repos/acme/refs/git/refs/pull/1/head","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/replace/","url":"/api/v1/repos/acme/refs/git/refs/replace/","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/tags/annot","url":"/api/v1/repos/acme/refs/git/refs/tags/annot","object":{"type":"tag","sha":"","url":"/api/v1/repos/acme/refs/git/tags/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/refs/tags","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"annot","message":"annotated","id":"","commit":{"url":"/api/v1/repos/acme/refs/git/commits/","sha":"","created":""},"zipball_url":"/acme/refs/archive/annot.zip","tarball_url":"/acme/refs/archive/annot.tar.gz"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/refs/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/refs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR r1","body":"body r1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/refs/pulls/1","diff_url":"/acme/refs/pulls/1.diff","patch_url":"/acme/refs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"refs","full_name":"acme/refs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/refs/languages","html_url":"/acme/refs","url":"/api/v1/repos/acme/refs","link":"","ssh_url":"ssh:///acme/refs.git","clone_url":"/acme/refs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"r1","ref":"r1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"refs","full_name":"acme/refs","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/refs/languages","html_url":"/acme/refs","url":"/api/v1/repos/acme/refs","link":"","ssh_url":"ssh:///acme/refs.git","clone_url":"/acme/refs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/T-merge-outcomes.json b/crates/forge/conformance/fixtures/1.22.6/T-merge-outcomes.json index 1f4086cb..048a4471 100644 --- a/crates/forge/conformance/fixtures/1.22.6/T-merge-outcomes.json +++ b/crates/forge/conformance/fixtures/1.22.6/T-merge-outcomes.json @@ -1,3956 +1,24 @@ -{ - "scenario": "T", - "title": "merge-outcomes", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "unrelated", - "head": "orph", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "unrelated", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/1", - "diff_url": "/acme/outcomes/pulls/1.diff", - "patch_url": "/acme/outcomes/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "orph", - "ref": "orph", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "unrelated", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/1", - "diff_url": "/acme/outcomes/pulls/1.diff", - "patch_url": "/acme/outcomes/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "orph", - "ref": "orph", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 409, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "Style": "merge", - "StdOut": "", - "StdErr": "fatal: refusing to merge unrelated histories\n", - "Err": { - "Stderr": null - } - }, - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "unrelated_merge_exact_body", - "value": "{\"Style\":\"merge\",\"StdOut\":\"\",\"StdErr\":\"fatal: refusing to merge unrelated histories\\n\",\"Err\":{\"Stderr\":null}}\n", - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "unrelated", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/1", - "diff_url": "/acme/outcomes/pulls/1.diff", - "patch_url": "/acme/outcomes/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "orph", - "ref": "orph", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "same tree", - "head": "tid", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "same tree", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/2", - "diff_url": "/acme/outcomes/pulls/2.diff", - "patch_url": "/acme/outcomes/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "tid", - "ref": "tid", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "same tree", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/2", - "diff_url": "/acme/outcomes/pulls/2.diff", - "patch_url": "/acme/outcomes/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "tid", - "ref": "tid", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "same tree", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/2", - "diff_url": "/acme/outcomes/pulls/2.diff", - "patch_url": "/acme/outcomes/pulls/2.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "tid", - "ref": "tid", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "contained", - "head": "cont", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "contained", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/3", - "diff_url": "/acme/outcomes/pulls/3.diff", - "patch_url": "/acme/outcomes/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "cont", - "ref": "cont", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "contained", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/3", - "diff_url": "/acme/outcomes/pulls/3.diff", - "patch_url": "/acme/outcomes/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "cont", - "ref": "cont", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - }, - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "contained", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/3", - "diff_url": "/acme/outcomes/pulls/3.diff", - "patch_url": "/acme/outcomes/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "cont", - "ref": "cont", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ok1", - "body": "body ok1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/outcomes/pulls/4", - "diff_url": "/acme/outcomes/pulls/4.diff", - "patch_url": "/acme/outcomes/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "ok1", - "ref": "ok1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ok1", - "body": "body ok1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/outcomes/pulls/4", - "diff_url": "/acme/outcomes/pulls/4.diff", - "patch_url": "/acme/outcomes/pulls/4.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "ok1", - "ref": "ok1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cfb", - "body": "body cfb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/6", - "diff_url": "/acme/outcomes/pulls/6.diff", - "patch_url": "/acme/outcomes/pulls/6.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 34, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "cfb", - "ref": "cfb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 34, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0 - }, - "strict_keys": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cfb", - "body": "body cfb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/6", - "diff_url": "/acme/outcomes/pulls/6.diff", - "patch_url": "/acme/outcomes/pulls/6.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 34, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "cfb", - "ref": "cfb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 34, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cfb", - "body": "body cfb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/6", - "diff_url": "/acme/outcomes/pulls/6.diff", - "patch_url": "/acme/outcomes/pulls/6.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 34, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "cfb", - "ref": "cfb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 34, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - } - } - ] -} +{"scenario":"T","title":"merge-outcomes","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls","auth":"bot-scoped","status":201,"request":{"title":"unrelated","head":"orph","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"unrelated","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/outcomes/pulls/1","diff_url":"/acme/outcomes/pulls/1.diff","patch_url":"/acme/outcomes/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"orph","ref":"orph","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"unrelated","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/outcomes/pulls/1","diff_url":"/acme/outcomes/pulls/1.diff","patch_url":"/acme/outcomes/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"orph","ref":"orph","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":409,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"Style":"merge","StdOut":"","StdErr":"fatal: refusing to merge unrelated histories\n","Err":{"Stderr":null}},"volatile":["$text"]}, +{"kind":"note","key":"unrelated_merge_exact_body","value":"{\"Style\":\"merge\",\"StdOut\":\"\",\"StdErr\":\"fatal: refusing to merge unrelated histories\\n\",\"Err\":{\"Stderr\":null}}\n","strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"unrelated","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/outcomes/pulls/1","diff_url":"/acme/outcomes/pulls/1.diff","patch_url":"/acme/outcomes/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"orph","ref":"orph","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls","auth":"bot-scoped","status":201,"request":{"title":"same tree","head":"tid","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"same tree","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/2","diff_url":"/acme/outcomes/pulls/2.diff","patch_url":"/acme/outcomes/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"tid","ref":"tid","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"same tree","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/2","diff_url":"/acme/outcomes/pulls/2.diff","patch_url":"/acme/outcomes/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"tid","ref":"tid","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":"","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"same tree","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/2","diff_url":"/acme/outcomes/pulls/2.diff","patch_url":"/acme/outcomes/pulls/2.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"tid","ref":"tid","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls","auth":"bot-scoped","status":201,"request":{"title":"contained","head":"cont","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"contained","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/3","diff_url":"/acme/outcomes/pulls/3.diff","patch_url":"/acme/outcomes/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"cont","ref":"cont","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"contained","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/3","diff_url":"/acme/outcomes/pulls/3.diff","patch_url":"/acme/outcomes/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"cont","ref":"cont","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"},"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"contained","body":"","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/3","diff_url":"/acme/outcomes/pulls/3.diff","patch_url":"/acme/outcomes/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"cont","ref":"cont","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ok1","body":"body ok1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/outcomes/pulls/4","diff_url":"/acme/outcomes/pulls/4.diff","patch_url":"/acme/outcomes/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"ok1","ref":"ok1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ok1","body":"body ok1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/outcomes/pulls/4","diff_url":"/acme/outcomes/pulls/4.diff","patch_url":"/acme/outcomes/pulls/4.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"ok1","ref":"ok1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cfb","body":"body cfb","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/outcomes/pulls/6","diff_url":"/acme/outcomes/pulls/6.diff","patch_url":"/acme/outcomes/pulls/6.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":34,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"cfb","ref":"cfb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":34,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0},"strict_keys":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cfb","body":"body cfb","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/outcomes/pulls/6","diff_url":"/acme/outcomes/pulls/6.diff","patch_url":"/acme/outcomes/pulls/6.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":34,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"cfb","ref":"cfb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":34,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cfb","body":"body cfb","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/outcomes/pulls/6","diff_url":"/acme/outcomes/pulls/6.diff","patch_url":"/acme/outcomes/pulls/6.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":34,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"cfb","ref":"cfb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":34,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/U-status-check-edges.json b/crates/forge/conformance/fixtures/1.22.6/U-status-check-edges.json index c2f44955..66d1cb78 100644 --- a/crates/forge/conformance/fixtures/1.22.6/U-status-check-edges.json +++ b/crates/forge/conformance/fixtures/1.22.6/U-status-check-edges.json @@ -1,512 +1,15 @@ -{ - "scenario": "U", - "title": "status-check-edges", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/checks/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/checks/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR u1", - "body": "body u1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/checks/pulls/1", - "diff_url": "/acme/checks/pulls/1.diff", - "patch_url": "/acme/checks/pulls/1.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": false, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "checks", - "full_name": "acme/checks", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/checks/languages", - "html_url": "/acme/checks", - "url": "/api/v1/repos/acme/checks", - "link": "", - "ssh_url": "ssh:///acme/checks.git", - "clone_url": "/acme/checks.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "head": { - "label": "u1", - "ref": "u1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "checks", - "full_name": "acme/checks", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/checks/languages", - "html_url": "/acme/checks", - "url": "/api/v1/repos/acme/checks", - "link": "", - "ssh_url": "ssh:///acme/checks.git", - "clone_url": "/acme/checks.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not allowed to merge [reason: Not all required status checks successful]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/checks/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - } - ] -} +{"scenario":"U","title":"status-check-edges","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/checks/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/checks/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR u1","body":"body u1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/checks/pulls/1","diff_url":"/acme/checks/pulls/1.diff","patch_url":"/acme/checks/pulls/1.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":false,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"checks","full_name":"acme/checks","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/checks/languages","html_url":"/acme/checks","url":"/api/v1/repos/acme/checks","link":"","ssh_url":"ssh:///acme/checks.git","clone_url":"/acme/checks.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"head":{"label":"u1","ref":"u1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"checks","full_name":"acme/checks","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/checks/languages","html_url":"/acme/checks","url":"/api/v1/repos/acme/checks","link":"","ssh_url":"ssh:///acme/checks.git","clone_url":"/acme/checks.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not allowed to merge [reason: Not all required status checks successful]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/checks/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/V-smart-http-bytes.json b/crates/forge/conformance/fixtures/1.22.6/V-smart-http-bytes.json index 6479e40c..4dfbc0d2 100644 --- a/crates/forge/conformance/fixtures/1.22.6/V-smart-http-bytes.json +++ b/crates/forge/conformance/fixtures/1.22.6/V-smart-http-bytes.json @@ -1,259 +1,25 @@ -{ - "scenario": "V", - "title": "smart-http-bytes", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement", - "cache-control": "no-cache, max-age=0, must-revalidate", - "expires": "Fri, 01 Jan 1980 00:00:00 GMT", - "pragma": "no-cache" - }, - "body_text": "001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n0000", - "must_contain": [ - "001e# service=git-upload-pack\n0000" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement", - "cache-control": "no-cache, max-age=0, must-revalidate", - "expires": "Fri, 01 Jan 1980 00:00:00 GMT", - "pragma": "no-cache" - }, - "body_text": "001f# service=git-receive-pack\n000000be refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n0000", - "must_contain": [ - "001f# service=git-receive-pack\n0000" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement", - "cache-control": "no-cache, max-age=0, must-revalidate" - }, - "body_text": "001e# service=git-upload-pack\n0000000eversion 2\n0015agent=git/2.45.2\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "v2_advert_first_bytes", - "value": "001e# service=git-upload-pack\\n0000000eversion ", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "v0_upload_preamble", - "value": "001e# service=git-upload-pack\\n0000", - "strict": true - }, - { - "kind": "note", - "key": "v0_upload_capabilities", - "value": "multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/", - "strict": false - }, - { - "kind": "note", - "key": "v0_upload_first_pkt_prefix", - "value": "0146", - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000be refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "receive_preamble", - "value": "001f# service=git-receive-pack\\n0000", - "strict": true - }, - { - "kind": "note", - "key": "receive_capabilities", - "value": "report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/", - "strict": false - }, - { - "kind": "note", - "key": "receive_first_pkt_prefix", - "value": "00be", - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/HEAD", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "text/plain" - }, - "body_text": "ref: refs/heads/main\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/objects/info/packs", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-result", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_prefix_hex": "30303038", - "archive_error": "not a zip or tar.gz" - }, - { - "kind": "note", - "key": "plain_upload_pack_response_head", - "value": "0008NAK\n", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-result", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_prefix_hex": "30303038", - "archive_error": "not a zip or tar.gz" - }, - { - "kind": "note", - "key": "gzip_upload_pack_response_head", - "value": "0008NAK\n", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found" - } - ] -} +{"scenario":"V","title":"smart-http-bytes","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement","cache-control":"no-cache, max-age=0, must-revalidate","expires":"Fri, 01 Jan 1980 00:00:00 GMT","pragma":"no-cache"},"body_text":"001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n0000","must_contain":["001e# service=git-upload-pack\n0000"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\"","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement","cache-control":"no-cache, max-age=0, must-revalidate","expires":"Fri, 01 Jan 1980 00:00:00 GMT","pragma":"no-cache"},"body_text":"001f# service=git-receive-pack\n000000be refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n0000","must_contain":["001f# service=git-receive-pack\n0000"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\"","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement","cache-control":"no-cache, max-age=0, must-revalidate"},"body_text":"001e# service=git-upload-pack\n0000000eversion 2\n0015agent=git/2.45.2\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000","volatile":["$text"]}, +{"kind":"note","key":"v2_advert_first_bytes","value":"001e# service=git-upload-pack\\n0000000eversion ","strict":true}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n00000146 HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.45.2\n003d refs/heads/main\n0000","volatile":["$text"]}, +{"kind":"note","key":"v0_upload_preamble","value":"001e# service=git-upload-pack\\n0000","strict":true}, +{"kind":"note","key":"v0_upload_capabilities","value":"multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/","strict":false}, +{"kind":"note","key":"v0_upload_first_pkt_prefix","value":"0146","strict":false}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000be refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.45.2\n0000","volatile":["$text"]}, +{"kind":"note","key":"receive_preamble","value":"001f# service=git-receive-pack\\n0000","strict":true}, +{"kind":"note","key":"receive_capabilities","value":"report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/","strict":false}, +{"kind":"note","key":"receive_first_pkt_prefix","value":"00be","strict":false}, +{"kind":"http","method":"GET","path":"/acme/wire.git/HEAD","auth":"admin-tokbasic","status":200,"headers":{"content-type":"text/plain"},"body_text":"ref: refs/heads/main\n"}, +{"kind":"http","method":"GET","path":"/acme/wire.git/objects/info/packs","auth":"admin-tokbasic","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"\n"}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-result","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_prefix_hex":"30303038","archive_error":"not a zip or tar.gz"}, +{"kind":"note","key":"plain_upload_pack_response_head","value":"0008NAK\n","strict":true}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-result","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_prefix_hex":"30303038","archive_error":"not a zip or tar.gz"}, +{"kind":"note","key":"gzip_upload_pack_response_head","value":"0008NAK\n","strict":true}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n"}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n"}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found"} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/W-protected-contents.json b/crates/forge/conformance/fixtures/1.22.6/W-protected-contents.json index 0421928e..57775010 100644 --- a/crates/forge/conformance/fixtures/1.22.6/W-protected-contents.json +++ b/crates/forge/conformance/fixtures/1.22.6/W-protected-contents.json @@ -1,662 +1,13 @@ -{ - "scenario": "W", - "title": "protected-contents", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w1-bot.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "create on main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w1-bot.txt", - "path": "w1-bot.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w1-bot.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w1-bot.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w1-bot.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create on main\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w1-admin.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "eAo=", - "message": "create on main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w1-admin.txt", - "path": "w1-admin.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w1-admin.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w1-admin.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w1-admin.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create on main\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/pcont/contents/README.md", - "auth": "bot", - "status": 200, - "request": { - "content": "cHVzaGFibGUK", - "message": "update on main", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 9, - "encoding": "base64", - "content": "cHVzaGFibGUK", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "html_url": "/acme/pcont/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/README.md" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update on main\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pcont/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w2-bot.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "create, check unmet", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w2-bot.txt", - "path": "w2-bot.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w2-bot.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w2-bot.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w2-bot.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create, check unmet\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w2-admin.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "eAo=", - "message": "create, check unmet", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w2-admin.txt", - "path": "w2-admin.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w2-admin.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w2-admin.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w2-admin.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create, check unmet\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/pcont/contents/README.md", - "auth": "bot", - "status": 200, - "request": { - "content": "YWdhaW4K", - "message": "update, check unmet", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 6, - "encoding": "base64", - "content": "YWdhaW4K", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "html_url": "/acme/pcont/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/README.md" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update, check unmet\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "git", - "name": "ff-push-enable-push-status-unmet", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/pcont.git\n .. HEAD -> main" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w3-bot.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "create, check met", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w3-bot.txt", - "path": "w3-bot.txt", - "sha": "", - "last_commit_sha": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w3-bot.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w3-bot.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w3-bot.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create, check met\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pcont/branch_protections/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "created_at": "", - "updated_at": "" - } - } - ] -} +{"scenario":"W","title":"protected-contents","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w1-bot.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"create on main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w1-bot.txt","path":"w1-bot.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w1-bot.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w1-bot.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w1-bot.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create on main\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w1-admin.txt","auth":"admin","status":201,"request":{"content":"eAo=","message":"create on main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w1-admin.txt","path":"w1-admin.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w1-admin.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w1-admin.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w1-admin.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create on main\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/pcont/contents/README.md","auth":"bot","status":200,"request":{"content":"cHVzaGFibGUK","message":"update on main","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":9,"encoding":"base64","content":"cHVzaGFibGUK","target":null,"url":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","html_url":"/acme/pcont/src/branch/main/README.md","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/README.md"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"update on main\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pcont/branch_protections/main","auth":"admin","status":200,"request":{"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w2-bot.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"create, check unmet","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w2-bot.txt","path":"w2-bot.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w2-bot.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w2-bot.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w2-bot.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create, check unmet\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w2-admin.txt","auth":"admin","status":201,"request":{"content":"eAo=","message":"create, check unmet","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w2-admin.txt","path":"w2-admin.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w2-admin.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w2-admin.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w2-admin.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create, check unmet\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/pcont/contents/README.md","auth":"bot","status":200,"request":{"content":"YWdhaW4K","message":"update, check unmet","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","type":"file","size":6,"encoding":"base64","content":"YWdhaW4K","target":null,"url":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","html_url":"/acme/pcont/src/branch/main/README.md","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/README.md"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"update, check unmet\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"git","name":"ff-push-enable-push-status-unmet","cmd":"git push origin HEAD:refs/heads/main","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/pcont.git\n .. HEAD -> main"}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w3-bot.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"create, check met","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w3-bot.txt","path":"w3-bot.txt","sha":"","last_commit_sha":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w3-bot.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w3-bot.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w3-bot.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create, check met\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pcont/branch_protections/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","created_at":"","updated_at":""}} +]} diff --git a/crates/forge/conformance/fixtures/1.22.6/X-auth-forms.json b/crates/forge/conformance/fixtures/1.22.6/X-auth-forms.json index 92a9db0c..94ea380f 100644 --- a/crates/forge/conformance/fixtures/1.22.6/X-auth-forms.json +++ b/crates/forge/conformance/fixtures/1.22.6/X-auth-forms.json @@ -1,1573 +1,36 @@ -{ - "scenario": "X", - "title": "auth-forms", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot", - "status": 201, - "request": { - "state": "success", - "context": "auth-0" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-0", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-bearer", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-bearer", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-bearer", - "status": 201, - "request": { - "state": "success", - "context": "auth-1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-1", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-token-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-token-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-token-password", - "status": 201, - "request": { - "state": "success", - "context": "auth-2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-2", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-token-user", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-token-user", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-token-user", - "status": 201, - "request": { - "state": "success", - "context": "auth-3" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-3", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-oauth2", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-oauth2", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-oauth2", - "status": 201, - "request": { - "state": "success", - "context": "auth-4" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-4", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-other-name", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-other-name", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-other-name", - "status": 201, - "request": { - "state": "success", - "context": "auth-5" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-5", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "parent": null, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": false, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "repo_transfer": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-password", - "status": 201, - "request": { - "state": "success", - "context": "auth-6" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-6", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bad-bearer", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bad-bearer", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bad-bearer", - "status": 401, - "request": { - "state": "success", - "context": "auth-7" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bad-basic-token-user", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bad-basic-token-user", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bad-basic-token-user", - "status": 401, - "request": { - "state": "success", - "context": "auth-8" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "siteowner-pw", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "siteowner", - "login_name": "siteowner", - "source_id": "", - "full_name": "", - "email": "siteowner@example.invalid", - "avatar_url": "/avatars/870bfdc3421389d1a95662814583521b", - "html_url": "/siteowner", - "language": "", - "is_admin": true, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "siteowner" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "siteowner-pw", - "status": 201, - "request": { - "name": "by-site-admin-password", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "by-site-admin-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/bot/tokens", - "auth": "siteowner-pw", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": [ - { - "id": "", - "name": "by-site-admin-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ] - }, - { - "id": "", - "name": "scoped", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:organization", - "write:repository", - "read:user" - ] - }, - { - "id": "", - "name": "all", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "all" - ] - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "admin", - "status": 401, - "request": { - "name": "by-admin-token", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "auth required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro-as-password", - "status": 403, - "request": { - "name": "minted-by-readonly-token", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [write:user]", - "url": "/api/swagger" - } - }, - { - "kind": "note", - "key": "readonly_token_as_password_status", - "value": 403, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro-as-password", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s): [read:user]", - "url": "/api/swagger" - }, - "volatile": [ - "id", - "name", - "scopes" - ] - } - ] -} +{"scenario":"X","title":"auth-forms","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot","status":201,"request":{"state":"success","context":"auth-0"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-0","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-bearer","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-bearer","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-bearer","status":201,"request":{"state":"success","context":"auth-1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-1","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-token-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-token-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-token-password","status":201,"request":{"state":"success","context":"auth-2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-2","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-token-user","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-token-user","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-token-user","status":201,"request":{"state":"success","context":"auth-3"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-3","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-oauth2","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-oauth2","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-oauth2","status":201,"request":{"state":"success","context":"auth-4"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-4","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-other-name","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-other-name","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-other-name","status":201,"request":{"state":"success","context":"auth-5"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-5","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"parent":null,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":false,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","repo_transfer":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-password","status":201,"request":{"state":"success","context":"auth-6"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-6","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bad-bearer","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bad-bearer","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bad-bearer","status":401,"request":{"state":"success","context":"auth-7"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bad-basic-token-user","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bad-basic-token-user","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bad-basic-token-user","status":401,"request":{"state":"success","context":"auth-8"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: ]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"siteowner-pw","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"siteowner","login_name":"siteowner","source_id":"","full_name":"","email":"siteowner@example.invalid","avatar_url":"/avatars/870bfdc3421389d1a95662814583521b","html_url":"/siteowner","language":"","is_admin":true,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"siteowner"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"siteowner-pw","status":201,"request":{"name":"by-site-admin-password","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"by-site-admin-password","sha1":"","token_last_eight":"","scopes":["read:repository"]}}, +{"kind":"http","method":"GET","path":"/api/v1/users/bot/tokens","auth":"siteowner-pw","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":[{"id":"","name":"by-site-admin-password","sha1":"","token_last_eight":"","scopes":["read:repository"]},{"id":"","name":"scoped","sha1":"","token_last_eight":"","scopes":["read:organization","write:repository","read:user"]},{"id":"","name":"all","sha1":"","token_last_eight":"","scopes":["all"]}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"admin","status":401,"request":{"name":"by-admin-token","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"auth required","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-ro-as-password","status":403,"request":{"name":"minted-by-readonly-token","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [write:user]","url":"/api/swagger"}}, +{"kind":"note","key":"readonly_token_as_password_status","value":403,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-ro-as-password","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s): [read:user]","url":"/api/swagger"},"volatile":["id","name","scopes"]} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/A-meta.json b/crates/forge/conformance/fixtures/1.26.2/A-meta.json index 1658eb0f..eb996189 100644 --- a/crates/forge/conformance/fixtures/1.26.2/A-meta.json +++ b/crates/forge/conformance/fixtures/1.26.2/A-meta.json @@ -1,165 +1,11 @@ -{ - "scenario": "A", - "title": "meta", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/version", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "version": "1.26.2" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/version", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/healthz", - "auth": "none", - "status": 200, - "headers": { - "content-type": "application/json" - }, - "body": { - "status": "pass", - "description": "Gitea: Git with a cup of tea", - "checks": { - "database:ping": [ - { - "status": "pass", - "time": "" - } - ], - "cache:ping": [ - { - "status": "pass", - "time": "" - } - ] - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": true, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos//probe", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos//probe", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos//missing", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"A","title":"meta","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/version","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"version":"1.26.2"}}, +{"kind":"http","method":"GET","path":"/api/v1/version","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/healthz","auth":"none","status":200,"headers":{"content-type":"application/json"},"body":{"status":"pass","description":"Gitea: Git with a cup of tea","checks":{"database:ping":[{"status":"pass","time":""}],"cache:ping":[{"status":"pass","time":""}]}}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":true,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos//probe","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos//probe","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos//missing","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/B-users-orgs-tokens.json b/crates/forge/conformance/fixtures/1.26.2/B-users-orgs-tokens.json index cbf076dd..14b55be6 100644 --- a/crates/forge/conformance/fixtures/1.26.2/B-users-orgs-tokens.json +++ b/crates/forge/conformance/fixtures/1.26.2/B-users-orgs-tokens.json @@ -1,933 +1,38 @@ -{ - "scenario": "B", - "title": "users-orgs-tokens", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 201, - "request": { - "username": "alice", - "email": "alice@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "alice", - "email": "alice@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: alice]", - "url": "/api/swagger" - }, - "must_contain": [ - "already exists" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 201, - "request": { - "username": "bot", - "email": "bot@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/admin/users/alice", - "auth": "admin", - "status": 200, - "request": { - "login_name": "alice", - "source_id": "", - "password": "", - "visibility": "private", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/nobody-here", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user redirect does not exist [name: nobody-here]", - "url": "/api/swagger" - }, - "must_contain": [ - "not exist" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 201, - "request": { - "username": "acme", - "full_name": "Acme", - "visibility": "private" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "acme", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "description": "", - "website": "", - "location": "", - "visibility": "private", - "repo_admin_change_team_access": false, - "username": "acme" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "acme", - "full_name": "Acme", - "visibility": "private" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: acme]", - "url": "/api/swagger" - }, - "must_contain": [ - "already exists" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "acme", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "description": "", - "website": "", - "location": "", - "visibility": "private", - "repo_admin_change_team_access": false, - "username": "acme" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/nobody-org", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "GetOrgByName", - "url": "/api/swagger", - "errors": [ - "user redirect does not exist [name: nobody-org]" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users//orgs/acme/permissions", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "is_owner": true, - "is_admin": true, - "can_write": true, - "can_read": true, - "can_create_repository": true - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/orgs/acme/permissions", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "is_owner": false, - "is_admin": false, - "can_write": false, - "can_read": false, - "can_create_repository": false - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/teams", - "auth": "admin", - "status": 201, - "request": { - "name": "devs", - "permission": "read", - "includes_all_repositories": false, - "units": [ - "repo.code", - "repo.pulls" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "devs", - "description": "", - "organization": { - "id": "", - "name": "acme", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "description": "", - "website": "", - "location": "", - "visibility": "private", - "repo_admin_change_team_access": false, - "username": "acme" - }, - "includes_all_repositories": false, - "permission": "none", - "units": [ - "repo.code", - "repo.pulls" - ], - "units_map": { - "repo.code": "read", - "repo.pulls": "read" - }, - "can_create_org_repo": false - }, - "tags": [ - "team" - ] - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/teams//members/carol", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "", - "tags": [ - "team" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/carol/orgs/acme/permissions", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "is_owner": false, - "is_admin": false, - "can_write": false, - "can_read": false, - "can_create_repository": false - }, - "tags": [ - "team" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "ci", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "tmp", - "scopes": [ - "read:repository", - "write:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "tmp", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "write:repository" - ], - "created_at": "", - "last_used_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - }, - { - "id": "", - "name": "tmp", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "write:repository" - ], - "created_at": "", - "last_used_at": "" - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[read:user], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/users/alice/tokens/", - "auth": "alice-basic", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 400, - "request": { - "name": "ci", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "access token name has been used already", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "bot-basic", - "status": 201, - "request": { - "name": "scoped", - "scopes": [ - "read:user", - "read:organization", - "write:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "scoped", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:organization", - "write:repository", - "read:user" - ], - "created_at": "", - "last_used_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "alice-ro", - "status": 403, - "request": { - "name": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:organization], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped", - "auth": "alice-ro", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "scoped", - "full_name": "alice/scoped", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/alice/scoped/languages", - "html_url": "/alice/scoped", - "url": "/api/v1/repos/alice/scoped", - "link": "", - "ssh_url": "ssh:///alice/scoped.git", - "clone_url": "/alice/scoped.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "alice-ro", - "status": 403, - "request": { - "name": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:user], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/alice/scoped/contents/new.txt", - "auth": "alice-ro", - "status": 403, - "request": { - "content": "aGk=", - "message": "m" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/alice/scoped/contents/README.md", - "auth": "alice-ro", - "status": 403, - "request": { - "content": "aGk=", - "message": "m", - "sha": "" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/alice/scoped/collaborators/carol", - "auth": "alice-ro", - "status": 403, - "request": { - "permission": "write" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/alice/scoped/statuses/", - "auth": "alice-ro", - "status": 403, - "request": { - "state": "success", - "context": "x" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "HasOrgOrUserVisible", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/admin/users", - "auth": "bot-scoped", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[read:admin], token scope=read:organization,write:repository,read:user", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "bot-scoped", - "status": 403, - "request": { - "name": "botrepo", - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:user], token scope=read:organization,write:repository,read:user", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - } - ] -} +{"scenario":"B","title":"users-orgs-tokens","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":201,"request":{"username":"alice","email":"alice@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"alice","email":"alice@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: alice]","url":"/api/swagger"},"must_contain":["already exists"]}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":201,"request":{"username":"bot","email":"bot@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/admin/users/alice","auth":"admin","status":200,"request":{"login_name":"alice","source_id":"","password":"","visibility":"private","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/users/nobody-here","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user redirect does not exist [name: nobody-here]","url":"/api/swagger"},"must_contain":["not exist"]}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":201,"request":{"username":"acme","full_name":"Acme","visibility":"private"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"acme","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","description":"","website":"","location":"","visibility":"private","repo_admin_change_team_access":false,"username":"acme"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"acme","full_name":"Acme","visibility":"private"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: acme]","url":"/api/swagger"},"must_contain":["already exists"]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"acme","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","description":"","website":"","location":"","visibility":"private","repo_admin_change_team_access":false,"username":"acme"}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/nobody-org","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"GetOrgByName","url":"/api/swagger","errors":["user redirect does not exist [name: nobody-org]"]}}, +{"kind":"http","method":"GET","path":"/api/v1/users//orgs/acme/permissions","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"is_owner":true,"is_admin":true,"can_write":true,"can_read":true,"can_create_repository":true}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/orgs/acme/permissions","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"is_owner":false,"is_admin":false,"can_write":false,"can_read":false,"can_create_repository":false}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/teams","auth":"admin","status":201,"request":{"name":"devs","permission":"read","includes_all_repositories":false,"units":["repo.code","repo.pulls"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"devs","description":"","organization":{"id":"","name":"acme","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","description":"","website":"","location":"","visibility":"private","repo_admin_change_team_access":false,"username":"acme"},"includes_all_repositories":false,"permission":"none","units":["repo.code","repo.pulls"],"units_map":{"repo.code":"read","repo.pulls":"read"},"can_create_org_repo":false},"tags":["team"]}, +{"kind":"http","method":"PUT","path":"/api/v1/teams//members/carol","auth":"admin","status":204,"headers":{},"body_text":"","tags":["team"]}, +{"kind":"http","method":"GET","path":"/api/v1/users/carol/orgs/acme/permissions","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"is_owner":false,"is_admin":false,"can_write":false,"can_read":false,"can_create_repository":false},"tags":["team"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"ci","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"tmp","scopes":["read:repository","write:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"tmp","sha1":"","token_last_eight":"","scopes":["write:repository"],"created_at":"","last_used_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""},{"id":"","name":"tmp","sha1":"","token_last_eight":"","scopes":["write:repository"],"created_at":"","last_used_at":""}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-ro","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[read:user], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/users/alice/tokens/","auth":"alice-basic","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":400,"request":{"name":"ci","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"access token name has been used already","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"bot-basic","status":201,"request":{"name":"scoped","scopes":["read:user","read:organization","write:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"scoped","sha1":"","token_last_eight":"","scopes":["read:organization","write:repository","read:user"],"created_at":"","last_used_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"alice-ro","status":403,"request":{"name":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:organization], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped","auth":"alice-ro","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"scoped","full_name":"alice/scoped","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/alice/scoped/languages","html_url":"/alice/scoped","url":"/api/v1/repos/alice/scoped","link":"","ssh_url":"ssh:///alice/scoped.git","clone_url":"/alice/scoped.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"alice-ro","status":403,"request":{"name":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:user], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/alice/scoped/contents/new.txt","auth":"alice-ro","status":403,"request":{"content":"aGk=","message":"m"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/alice/scoped/contents/README.md","auth":"alice-ro","status":403,"request":{"content":"aGk=","message":"m","sha":""},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/alice/scoped/collaborators/carol","auth":"alice-ro","status":403,"request":{"permission":"write"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/alice/scoped/statuses/","auth":"alice-ro","status":403,"request":{"state":"success","context":"x"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:repository], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"HasOrgOrUserVisible","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/admin/users","auth":"bot-scoped","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[read:admin], token scope=read:organization,write:repository,read:user","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"bot-scoped","status":403,"request":{"name":"botrepo","private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:user], token scope=read:organization,write:repository,read:user","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/C-repos.json b/crates/forge/conformance/fixtures/1.26.2/C-repos.json index 6588a887..46b35216 100644 --- a/crates/forge/conformance/fixtures/1.26.2/C-repos.json +++ b/crates/forge/conformance/fixtures/1.26.2/C-repos.json @@ -1,2337 +1,41 @@ -{ - "scenario": "C", - "title": "repos", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "alpha", - "auto_init": true, - "default_branch": "main", - "private": true, - "readme": "Default" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 409, - "request": { - "name": "alpha", - "auto_init": true, - "default_branch": "main", - "private": true, - "readme": "Default" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The repository with the same name already exists.", - "url": "/api/swagger" - }, - "must_contain": [ - "already exists" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "empty", - "auto_init": false, - "private": true, - "default_branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/empty", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/missing", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "request": { - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "request": { - "has_actions": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/alpha", - "auth": "admin", - "status": 200, - "request": { - "description": "Alpha repo" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "scoped", - "full_name": "alice/scoped", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/alice/scoped/languages", - "html_url": "/alice/scoped", - "url": "/api/v1/repos/alice/scoped", - "link": "", - "ssh_url": "ssh:///alice/scoped.git", - "clone_url": "/alice/scoped.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "name": "probe", - "full_name": "/probe", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos//probe/languages", - "html_url": "//probe", - "url": "/api/v1/repos//probe", - "link": "", - "ssh_url": "ssh:////probe.git", - "clone_url": "//probe.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=alp&limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/bot", - "auth": "admin", - "status": 204, - "request": { - "permission": "write" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/carol", - "auth": "admin", - "status": 204, - "request": { - "permission": "read" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/alice", - "auth": "admin", - "status": 204, - "request": { - "permission": "write" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/nobody-here", - "auth": "admin", - "status": 422, - "request": { - "permission": "write" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user does not exist [uid: 0, name: nobody-here]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha/collaborators", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": [ - { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha/collaborators/bot/permission", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "permission": "write", - "role_name": "write", - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/alpha/collaborators/carol", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/alpha", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/alpha/collaborators/carol", - "auth": "admin", - "status": 204, - "request": { - "permission": "read" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "git", - "name": "push-write-collab", - "cmd": "git push origin HEAD:refs/heads/bot-branch", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'bot-branch': \nremote: /acme/alpha/pulls/new/bot-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-branch" - }, - { - "kind": "git", - "name": "push-write-scoped-token", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/bot-scoped-branch", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'bot-scoped-branch': \nremote: /acme/alpha/pulls/new/bot-scoped-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-scoped-branch" - }, - { - "kind": "git", - "name": "push-readonly-scope", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/ro-scope", - "ok": false, - "output": "remote: Forbidden\nfatal: unable to access '/acme/alpha.git/': The requested URL returned error: 403", - "refusal": [ - "remote: forbidden", - "fatal: unable to access '/acme/alpha.git/': the requested url returned error: 403" - ] - }, - { - "kind": "git", - "name": "push-read-collab", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/carol-branch", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: User permission denied for writing. \nremote: error: \nTo /acme/alpha.git\n ! [remote rejected] HEAD -> carol-branch (pre-receive hook declined)\nerror: failed to push some refs to '/acme/alpha.git'", - "refusal": [ - "remote: error: user permission denied for writing.", - "! [remote rejected] head -> carol-branch (pre-receive hook declined)", - "error: failed to push some refs to '/acme/alpha.git'" - ] - }, - { - "kind": "git", - "name": "push-no-grant", - "cmd": "git push http://@/acme/alpha.git HEAD:refs/heads/dave-branch", - "ok": false, - "output": "remote: Repository not found\nfatal: repository '/acme/alpha.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/alpha.git/' not found" - ] - }, - { - "kind": "git", - "name": "clone-no-grant", - "cmd": "git clone http://@/acme/alpha.git /dave-clone", - "ok": false, - "output": "Cloning into '/dave-clone'...\nremote: Repository not found\nfatal: repository '/acme/alpha.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/alpha.git/' not found" - ] - }, - { - "kind": "git", - "name": "clone-read-collab", - "cmd": "git clone http://@/acme/alpha.git /carol-clone", - "ok": true, - "output": "Cloning into '/carol-clone'..." - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "doomed", - "auto_init": true, - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "doomed", - "full_name": "acme/doomed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/doomed/languages", - "html_url": "/acme/doomed", - "url": "/api/v1/repos/acme/doomed", - "link": "", - "ssh_url": "ssh:///acme/doomed.git", - "clone_url": "/acme/doomed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/doomed", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/doomed", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/swagger", - "errors": null, - "message": "not found" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/doomed", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "doomed", - "auto_init": true, - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "doomed", - "full_name": "acme/doomed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/doomed/languages", - "html_url": "/acme/doomed", - "url": "/api/v1/repos/acme/doomed", - "link": "", - "ssh_url": "ssh:///acme/doomed.git", - "clone_url": "/acme/doomed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - } - ] -} +{"scenario":"C","title":"repos","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"alpha","auto_init":true,"default_branch":"main","private":true,"readme":"Default"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":409,"request":{"name":"alpha","auto_init":true,"default_branch":"main","private":true,"readme":"Default"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The repository with the same name already exists.","url":"/api/swagger"},"must_contain":["already exists"]}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"empty","auto_init":false,"private":true,"default_branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/empty","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/missing","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"request":{"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"request":{"has_actions":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/alpha","auth":"admin","status":200,"request":{"description":"Alpha repo"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"scoped","full_name":"alice/scoped","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/alice/scoped/languages","html_url":"/alice/scoped","url":"/api/v1/repos/alice/scoped","link":"","ssh_url":"ssh:///alice/scoped.git","clone_url":"/alice/scoped.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"name":"probe","full_name":"/probe","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos//probe/languages","html_url":"//probe","url":"/api/v1/repos//probe","link":"","ssh_url":"ssh:////probe.git","clone_url":"//probe.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=alp&limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/bot","auth":"admin","status":204,"request":{"permission":"write"},"headers":{},"body_text":""}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/carol","auth":"admin","status":204,"request":{"permission":"read"},"headers":{},"body_text":""}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/alice","auth":"admin","status":204,"request":{"permission":"write"},"headers":{},"body_text":""}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/nobody-here","auth":"admin","status":422,"request":{"permission":"write"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user does not exist [uid: 0, name: nobody-here]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha/collaborators","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":[{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha/collaborators/bot/permission","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"permission":"write","role_name":"write","user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/alpha/collaborators/carol","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/alpha","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/alpha/collaborators/carol","auth":"admin","status":204,"request":{"permission":"read"},"headers":{},"body_text":""}, +{"kind":"git","name":"push-write-collab","cmd":"git push origin HEAD:refs/heads/bot-branch","ok":true,"output":"remote: \nremote: Create a new pull request for 'bot-branch': \nremote: /acme/alpha/pulls/new/bot-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-branch"}, +{"kind":"git","name":"push-write-scoped-token","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/bot-scoped-branch","ok":true,"output":"remote: \nremote: Create a new pull request for 'bot-scoped-branch': \nremote: /acme/alpha/pulls/new/bot-scoped-branch \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/alpha.git\n * [new branch] HEAD -> bot-scoped-branch"}, +{"kind":"git","name":"push-readonly-scope","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/ro-scope","ok":false,"output":"remote: Forbidden\nfatal: unable to access '/acme/alpha.git/': The requested URL returned error: 403","refusal":["remote: forbidden","fatal: unable to access '/acme/alpha.git/': the requested url returned error: 403"]}, +{"kind":"git","name":"push-read-collab","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/carol-branch","ok":false,"output":"remote: \nremote: error: \nremote: error: User permission denied for writing. \nremote: error: \nTo /acme/alpha.git\n ! [remote rejected] HEAD -> carol-branch (pre-receive hook declined)\nerror: failed to push some refs to '/acme/alpha.git'","refusal":["remote: error: user permission denied for writing.","! [remote rejected] head -> carol-branch (pre-receive hook declined)","error: failed to push some refs to '/acme/alpha.git'"]}, +{"kind":"git","name":"push-no-grant","cmd":"git push http://@/acme/alpha.git HEAD:refs/heads/dave-branch","ok":false,"output":"remote: Repository not found\nfatal: repository '/acme/alpha.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/alpha.git/' not found"]}, +{"kind":"git","name":"clone-no-grant","cmd":"git clone http://@/acme/alpha.git /dave-clone","ok":false,"output":"Cloning into '/dave-clone'...\nremote: Repository not found\nfatal: repository '/acme/alpha.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/alpha.git/' not found"]}, +{"kind":"git","name":"clone-read-collab","cmd":"git clone http://@/acme/alpha.git /carol-clone","ok":true,"output":"Cloning into '/carol-clone'..."}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"doomed","auto_init":true,"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"doomed","full_name":"acme/doomed","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/doomed/languages","html_url":"/acme/doomed","url":"/api/v1/repos/acme/doomed","link":"","ssh_url":"ssh:///acme/doomed.git","clone_url":"/acme/doomed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/doomed","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/doomed","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/swagger","errors":null,"message":"not found"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/doomed","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"doomed","auto_init":true,"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"doomed","full_name":"acme/doomed","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/doomed/languages","html_url":"/acme/doomed","url":"/api/v1/repos/acme/doomed","link":"","ssh_url":"ssh:///acme/doomed.git","clone_url":"/acme/doomed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/D-empty-repo.json b/crates/forge/conformance/fixtures/1.26.2/D-empty-repo.json index e4c34c57..c6397e5c 100644 --- a/crates/forge/conformance/fixtures/1.26.2/D-empty-repo.json +++ b/crates/forge/conformance/fixtures/1.26.2/D-empty-repo.json @@ -1,302 +1,16 @@ -{ - "scenario": "D", - "title": "empty-repo", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/commits", - "auth": "admin", - "status": 409, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Git Repository is empty.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/commits?sha=main&limit=1", - "auth": "admin", - "status": 409, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Git Repository is empty.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": null - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/branches/main", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/refs/heads", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/refs", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/contents", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": [ - "object does not exist [id: main, rel_path: ]" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/contents/README.md", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/swagger", - "errors": [ - "object does not exist [id: main, rel_path: ]" - ], - "message": "not found" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/trees/main", - "auth": "admin", - "status": 400, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "sha not found [main]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/git/commits/HEAD", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "commit doesn't exist: HEAD", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/archive/main.zip", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "unrecognized repository reference: main", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/blank/pulls?state=all", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"D","title":"empty-repo","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/commits","auth":"admin","status":409,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Git Repository is empty.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/commits?sha=main&limit=1","auth":"admin","status":409,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Git Repository is empty.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":null}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/branches/main","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/refs/heads","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/refs","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/contents","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":["object does not exist [id: main, rel_path: ]"]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/contents/README.md","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/swagger","errors":["object does not exist [id: main, rel_path: ]"],"message":"not found"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/trees/main","auth":"admin","status":400,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"sha not found [main]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/git/commits/HEAD","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"commit doesn't exist: HEAD","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/archive/main.zip","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"unrecognized repository reference: main","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/blank/pulls?state=all","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/E-history-reads.json b/crates/forge/conformance/fixtures/1.26.2/E-history-reads.json index c920758c..f56e57cf 100644 --- a/crates/forge/conformance/fixtures/1.26.2/E-history-reads.json +++ b/crates/forge/conformance/fixtures/1.26.2/E-history-reads.json @@ -1,2337 +1,50 @@ -{ - "scenario": "E", - "title": "history-reads", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "note", - "key": "hist_first_read", - "value": { - "empty": false, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "name": "feat/x", - "commit": { - "id": "", - "message": "feat two\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "main", - "commit": { - "id": "", - "message": "third\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches?limit=1&page=2", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2", - "link": "</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"first\",</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"prev\"" - }, - "body": [ - { - "name": "main", - "commit": { - "id": "", - "message": "third\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "main", - "commit": { - "id": "", - "message": "third\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches/feat/x", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "feat/x", - "commit": { - "id": "", - "message": "feat two\n", - "url": "/acme/hist/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/branches/nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/feat/x", - "url": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - }, - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/hist/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/hist/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/feat/x", - "url": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs/heads/nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/swagger", - "errors": null, - "message": "not found" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/refs", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/heads/feat/x", - "url": "/api/v1/repos/acme/hist/git/refs/heads/feat/x", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - }, - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/hist/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/hist/git/commits/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=1&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"next\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"last\"" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=2&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\"" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=3&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\"" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=feat/x&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat two\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat one\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat two\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat one\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "second\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": null, - "stats": null - }, - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "first\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": null - }, - "author": null, - "committer": null, - "parents": [], - "files": null, - "stats": null - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=main&limit=1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/acme/hist/commits?limit=1&page=2&sha=main>; rel=\"next\",</api/v1/repos/acme/hist/commits?limit=1&page=3&sha=main>; rel=\"last\"" - }, - "body": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "README.md", - "status": "modified" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/commits?sha=nope&limit=50&stat=false&files=false&verification=false", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": null - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "third\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "README.md", - "status": "modified" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "feat two\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "feat2.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/.diff", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "diff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n", - "must_contain": [ - "diff --git" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/.patch", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH] third\n\n---\n README.md | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n", - "must_contain": [ - "From " - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/commits/", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "commit doesn't exist: ", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/trees/?recursive=true", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": { - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/", - "tree": [ - { - "path": "README.md", - "mode": "100644", - "type": "blob", - "size": 14, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "docs", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - }, - { - "path": "docs/guide.md", - "mode": "100644", - "type": "blob", - "size": 6, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "src", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - }, - { - "path": "src/lib.rs", - "mode": "100644", - "type": "blob", - "size": 13, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - } - ], - "truncated": false, - "page": 1, - "total_count": 5 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/trees/", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": { - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/", - "tree": [ - { - "path": "README.md", - "mode": "100644", - "type": "blob", - "size": 14, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "docs", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - }, - { - "path": "src", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - } - ], - "truncated": false, - "page": 1, - "total_count": 3 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/git/trees/main?recursive=true&per_page=2&page=1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": { - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/", - "tree": [ - { - "path": "README.md", - "mode": "100644", - "type": "blob", - "size": 14, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/blobs/" - }, - { - "path": "docs", - "mode": "040000", - "type": "tree", - "size": 0, - "sha": "", - "url": "/api/v1/repos/acme/hist/git/trees/" - } - ], - "truncated": true, - "page": 1, - "total_count": 5 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 14, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "html_url": "/acme/hist/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/README.md" - } - }, - { - "name": "docs", - "path": "docs", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/docs?ref=main", - "html_url": "/acme/hist/src/branch/main/docs", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/docs?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/docs" - } - }, - { - "name": "src", - "path": "src", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/src?ref=main", - "html_url": "/acme/hist/src/branch/main/src", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/src?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/src" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents?ref=feat/x", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 7, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/feat/x/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/README.md" - } - }, - { - "name": "docs", - "path": "docs", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/docs", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/docs" - } - }, - { - "name": "feat1.txt", - "path": "feat1.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 3, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/feat1.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/feat/x/feat1.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/feat1.txt" - } - }, - { - "name": "feat2.txt", - "path": "feat2.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 3, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/feat2.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/feat/x/feat2.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/feat2.txt" - } - }, - { - "name": "src", - "path": "src", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "dir", - "size": 0, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx", - "html_url": "/acme/hist/src/branch/feat/x/src", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": null, - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/feat/x/src" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/docs", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "guide.md", - "path": "docs/guide.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 6, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main", - "html_url": "/acme/hist/src/branch/main/docs/guide.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/docs/guide.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/docs/guide.md" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 14, - "encoding": "base64", - "content": "IyBoaXN0CmVkaXRlZAo=", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "html_url": "/acme/hist/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/README.md" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/README.md?ref=", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 7, - "encoding": "base64", - "content": "IyBoaXN0Cg==", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=", - "html_url": "/acme/hist/src/commit//README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/commit//README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/commit//README.md" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/src/lib.rs", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "lib.rs", - "path": "src/lib.rs", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 13, - "encoding": "base64", - "content": "Zm4gbWFpbigpIHt9Cg==", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main", - "html_url": "/acme/hist/src/branch/main/src/lib.rs", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/src/lib.rs", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/src/lib.rs" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/nope.txt", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "GetContentsOrList", - "url": "/api/swagger", - "errors": [ - "object does not exist [id: , rel_path: nope.txt]" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/contents/README.md?ref=nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": [ - "object does not exist [id: nope, rel_path: ]" - ] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/new.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "bmV3Cg==", - "message": "add new.txt", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "new.txt", - "path": "new.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 4, - "encoding": "base64", - "content": "bmV3Cg==", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/new.txt?ref=main", - "html_url": "/acme/hist/src/branch/main/new.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/new.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/new.txt?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/new.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "add new.txt\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/new.txt", - "auth": "admin", - "status": 422, - "request": { - "content": "bmV3Cg==", - "message": "add again", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "repository file already exists [path: new.txt]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/README.md", - "auth": "admin", - "status": 200, - "request": { - "content": "IyBoaXN0CnVwZGF0ZWQK", - "message": "update readme", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 15, - "encoding": "base64", - "content": "IyBoaXN0CnVwZGF0ZWQK", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "html_url": "/acme/hist/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/main/README.md" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update readme\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/README.md", - "auth": "admin", - "status": 422, - "request": { - "content": "IyBoaXN0CnN0YWxlCg==", - "message": "stale update", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "sha does not match [given: , expected: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/README.md", - "auth": "admin", - "status": 422, - "request": { - "content": "IyBoaXN0Cm5vIHNoYQo=", - "message": "no sha", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "repository file already exists [path: README.md]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/branch-file.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "Ygo=", - "message": "to new branch", - "branch": "main", - "new_branch": "api-branch" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "branch-file.txt", - "path": "branch-file.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "Ygo=", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch", - "html_url": "/acme/hist/src/branch/api-branch/branch-file.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/api-branch/branch-file.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/api-branch/branch-file.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "to new branch\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/hist/contents/new.txt", - "auth": "admin", - "status": 200, - "request": { - "content": "bmV3Mgo=", - "message": "update to new branch", - "sha": "", - "branch": "main", - "new_branch": "api-branch-2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "new.txt", - "path": "new.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 5, - "encoding": "base64", - "content": "bmV3Mgo=", - "target": null, - "url": "/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2", - "html_url": "/acme/hist/src/branch/api-branch-2/new.txt", - "git_url": "/api/v1/repos/acme/hist/git/blobs/", - "download_url": "/acme/hist/raw/branch/api-branch-2/new.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2", - "git": "/api/v1/repos/acme/hist/git/blobs/", - "html": "/acme/hist/src/branch/api-branch-2/new.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/hist/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/hist/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update to new branch\n", - "tree": { - "url": "/api/v1/repos/acme/hist/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/hist/contents/x.txt", - "auth": "admin", - "status": 422, - "request": { - "content": "eAo=", - "message": "dup branch", - "branch": "main", - "new_branch": "api-branch" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "branch already exists [name: api-branch]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/main.zip", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/octet-stream", - "link": "</api/v1/repos/acme/hist/archive/.zip?rev=>; rel=\"immutable\"" - }, - "body_prefix_hex": "504b0304", - "archive": [ - { - "name": "hist/", - "size": 0, - "sha256": null - }, - { - "name": "hist/README.md", - "size": 15, - "sha256": "f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f" - }, - { - "name": "hist/docs/", - "size": 0, - "sha256": null - }, - { - "name": "hist/docs/guide.md", - "size": 6, - "sha256": "90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f" - }, - { - "name": "hist/new.txt", - "size": 4, - "sha256": "7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c" - }, - { - "name": "hist/src/", - "size": 0, - "sha256": null - }, - { - "name": "hist/src/lib.rs", - "size": 13, - "sha256": "536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/main.tar.gz", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/octet-stream", - "link": "</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\"" - }, - "body_prefix_hex": "1f8b0800", - "archive": [ - { - "name": "hist", - "size": 0, - "sha256": null - }, - { - "name": "hist/README.md", - "size": 15, - "sha256": "f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f" - }, - { - "name": "hist/docs", - "size": 0, - "sha256": null - }, - { - "name": "hist/docs/guide.md", - "size": 6, - "sha256": "90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f" - }, - { - "name": "hist/new.txt", - "size": 4, - "sha256": "7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c" - }, - { - "name": "hist/src", - "size": 0, - "sha256": null - }, - { - "name": "hist/src/lib.rs", - "size": 13, - "sha256": "536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/.zip", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/octet-stream", - "link": "</api/v1/repos/acme/hist/archive/.zip?rev=>; rel=\"immutable\"" - }, - "body_prefix_hex": "504b0304", - "archive": [ - { - "name": "hist/", - "size": 0, - "sha256": null - }, - { - "name": "hist/README.md", - "size": 7, - "sha256": "f61fd51ed8a1210100bca867c775464457dd5a21dd2368bfed695de3a2ca80e1" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/hist/archive/nope.zip", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "unrecognized repository reference: nope", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"E","title":"history-reads","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"note","key":"hist_first_read","value":{"empty":false,"default_branch":"main"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"name":"feat/x","commit":{"id":"","message":"feat two\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"main","commit":{"id":"","message":"third\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches?limit=1&page=2","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2","link":"</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"first\",</api/v1/repos/acme/hist/branches?limit=1&page=1>; rel=\"prev\""},"body":[{"name":"main","commit":{"id":"","message":"third\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"main","commit":{"id":"","message":"third\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches/feat/x","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"feat/x","commit":{"id":"","message":"feat two\n","url":"/acme/hist/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/branches/nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/feat/x","url":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}},{"ref":"refs/heads/main","url":"/api/v1/repos/acme/hist/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/main","url":"/api/v1/repos/acme/hist/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/feat/x","url":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs/heads/nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/swagger","errors":null,"message":"not found"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/refs","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/heads/feat/x","url":"/api/v1/repos/acme/hist/git/refs/heads/feat/x","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}},{"ref":"refs/heads/main","url":"/api/v1/repos/acme/hist/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/hist/git/commits/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=50&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=1&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"next\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=2&sha=main&stat=false&verification=false>; rel=\"last\""},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=2&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\""},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=2&page=3&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"first\",</api/v1/repos/acme/hist/commits?files=false&limit=2&page=1&sha=main&stat=false&verification=false>; rel=\"prev\""},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=feat/x&limit=50&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat two\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat one\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=&limit=50&stat=false&files=false&verification=false","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat two\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat one\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"second\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":null,"stats":null},{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"first\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":null},"author":null,"committer":null,"parents":[],"files":null,"stats":null}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=main&limit=1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/acme/hist/commits?limit=1&page=2&sha=main>; rel=\"next\",</api/v1/repos/acme/hist/commits?limit=1&page=3&sha=main>; rel=\"last\""},"body":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":[{"filename":"README.md","status":"modified"}],"stats":{"total":1,"additions":1,"deletions":0}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/commits?sha=nope&limit=50&stat=false&files=false&verification=false","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":null}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"third\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":[{"filename":"README.md","status":"modified"}],"stats":{"total":1,"additions":1,"deletions":0}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","commit":{"url":"/api/v1/repos/acme/hist/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"feat two\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"files":[{"filename":"feat2.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/.diff","auth":"admin","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"diff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n","must_contain":["diff --git"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/.patch","auth":"admin","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH] third\n\n---\n README.md | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/README.md b/README.md\nindex .. 100644\n--- a/README.md\n+++ b/README.md\n@@ -1 +1,2 @@\n # hist\n+edited\n","must_contain":["From "]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/commits/","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"commit doesn't exist: ","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/trees/?recursive=true","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":{"sha":"","url":"/api/v1/repos/acme/hist/git/trees/","tree":[{"path":"README.md","mode":"100644","type":"blob","size":14,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"docs","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"},{"path":"docs/guide.md","mode":"100644","type":"blob","size":6,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"src","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"},{"path":"src/lib.rs","mode":"100644","type":"blob","size":13,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"}],"truncated":false,"page":1,"total_count":5}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/trees/","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":{"sha":"","url":"/api/v1/repos/acme/hist/git/trees/","tree":[{"path":"README.md","mode":"100644","type":"blob","size":14,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"docs","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"},{"path":"src","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"}],"truncated":false,"page":1,"total_count":3}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/git/trees/main?recursive=true&per_page=2&page=1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":{"sha":"","url":"/api/v1/repos/acme/hist/git/trees/","tree":[{"path":"README.md","mode":"100644","type":"blob","size":14,"sha":"","url":"/api/v1/repos/acme/hist/git/blobs/"},{"path":"docs","mode":"040000","type":"tree","size":0,"sha":"","url":"/api/v1/repos/acme/hist/git/trees/"}],"truncated":true,"page":1,"total_count":5}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":14,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=main","html_url":"/acme/hist/src/branch/main/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/README.md"}},{"name":"docs","path":"docs","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/docs?ref=main","html_url":"/acme/hist/src/branch/main/docs","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/docs?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/docs"}},{"name":"src","path":"src","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/src?ref=main","html_url":"/acme/hist/src/branch/main/src","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/src?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/src"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents?ref=feat/x","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":7,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/feat/x/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/README.md"}},{"name":"docs","path":"docs","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/docs","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/docs?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/docs"}},{"name":"feat1.txt","path":"feat1.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":3,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/feat1.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/feat/x/feat1.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/feat1.txt?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/feat1.txt"}},{"name":"feat2.txt","path":"feat2.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":3,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/feat2.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/feat/x/feat2.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/feat2.txt?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/feat2.txt"}},{"name":"src","path":"src","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"dir","size":0,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx","html_url":"/acme/hist/src/branch/feat/x/src","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":null,"submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/src?ref=feat%2Fx","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/feat/x/src"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/docs","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"guide.md","path":"docs/guide.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":6,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main","html_url":"/acme/hist/src/branch/main/docs/guide.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/docs/guide.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/docs/guide.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/docs/guide.md"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/README.md?ref=main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":14,"encoding":"base64","content":"IyBoaXN0CmVkaXRlZAo=","target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=main","html_url":"/acme/hist/src/branch/main/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/README.md"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/README.md?ref=","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":7,"encoding":"base64","content":"IyBoaXN0Cg==","target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=","html_url":"/acme/hist/src/commit//README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/commit//README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/commit//README.md"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/src/lib.rs","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"lib.rs","path":"src/lib.rs","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":13,"encoding":"base64","content":"Zm4gbWFpbigpIHt9Cg==","target":null,"url":"/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main","html_url":"/acme/hist/src/branch/main/src/lib.rs","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/src/lib.rs","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/src/lib.rs?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/src/lib.rs"}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/nope.txt","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"GetContentsOrList","url":"/api/swagger","errors":["object does not exist [id: , rel_path: nope.txt]"]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/contents/README.md?ref=nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":["object does not exist [id: nope, rel_path: ]"]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/new.txt","auth":"admin","status":201,"request":{"content":"bmV3Cg==","message":"add new.txt","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"new.txt","path":"new.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":4,"encoding":"base64","content":"bmV3Cg==","target":null,"url":"/api/v1/repos/acme/hist/contents/new.txt?ref=main","html_url":"/acme/hist/src/branch/main/new.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/new.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/new.txt?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/new.txt"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"add new.txt\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/new.txt","auth":"admin","status":422,"request":{"content":"bmV3Cg==","message":"add again","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"repository file already exists [path: new.txt]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/README.md","auth":"admin","status":200,"request":{"content":"IyBoaXN0CnVwZGF0ZWQK","message":"update readme","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":15,"encoding":"base64","content":"IyBoaXN0CnVwZGF0ZWQK","target":null,"url":"/api/v1/repos/acme/hist/contents/README.md?ref=main","html_url":"/acme/hist/src/branch/main/README.md","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/README.md?ref=main","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/main/README.md"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"update readme\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/README.md","auth":"admin","status":422,"request":{"content":"IyBoaXN0CnN0YWxlCg==","message":"stale update","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"sha does not match [given: , expected: ]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/README.md","auth":"admin","status":422,"request":{"content":"IyBoaXN0Cm5vIHNoYQo=","message":"no sha","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"repository file already exists [path: README.md]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/branch-file.txt","auth":"admin","status":201,"request":{"content":"Ygo=","message":"to new branch","branch":"main","new_branch":"api-branch"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"branch-file.txt","path":"branch-file.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":"base64","content":"Ygo=","target":null,"url":"/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch","html_url":"/acme/hist/src/branch/api-branch/branch-file.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/api-branch/branch-file.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/branch-file.txt?ref=api-branch","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/api-branch/branch-file.txt"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"to new branch\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/hist/contents/new.txt","auth":"admin","status":200,"request":{"content":"bmV3Mgo=","message":"update to new branch","sha":"","branch":"main","new_branch":"api-branch-2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"new.txt","path":"new.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":5,"encoding":"base64","content":"bmV3Mgo=","target":null,"url":"/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2","html_url":"/acme/hist/src/branch/api-branch-2/new.txt","git_url":"/api/v1/repos/acme/hist/git/blobs/","download_url":"/acme/hist/raw/branch/api-branch-2/new.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/hist/contents/new.txt?ref=api-branch-2","git":"/api/v1/repos/acme/hist/git/blobs/","html":"/acme/hist/src/branch/api-branch-2/new.txt"}},"commit":{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":"","html_url":"/acme/hist/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/hist/git/commits/","sha":"","created":""}],"message":"update to new branch\n","tree":{"url":"/api/v1/repos/acme/hist/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/hist/contents/x.txt","auth":"admin","status":422,"request":{"content":"eAo=","message":"dup branch","branch":"main","new_branch":"api-branch"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"branch already exists [name: api-branch]","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/main.zip","auth":"admin","status":200,"headers":{"content-type":"application/octet-stream","link":"</api/v1/repos/acme/hist/archive/.zip?rev=>; rel=\"immutable\""},"body_prefix_hex":"504b0304","archive":[{"name":"hist/","size":0,"sha256":null},{"name":"hist/README.md","size":15,"sha256":"f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f"},{"name":"hist/docs/","size":0,"sha256":null},{"name":"hist/docs/guide.md","size":6,"sha256":"90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f"},{"name":"hist/new.txt","size":4,"sha256":"7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c"},{"name":"hist/src/","size":0,"sha256":null},{"name":"hist/src/lib.rs","size":13,"sha256":"536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/main.tar.gz","auth":"admin","status":200,"headers":{"content-type":"application/octet-stream","link":"</api/v1/repos/acme/hist/archive/.tar.gz?rev=>; rel=\"immutable\""},"body_prefix_hex":"1f8b0800","archive":[{"name":"hist","size":0,"sha256":null},{"name":"hist/README.md","size":15,"sha256":"f817eb30fc16a9f8613f4afcc0894740f77be6e89f88c99380305a89069a272f"},{"name":"hist/docs","size":0,"sha256":null},{"name":"hist/docs/guide.md","size":6,"sha256":"90c390ec1de806bf945885cd0af51e90c3cd8cda0d0ff676051a56c20848c90f"},{"name":"hist/new.txt","size":4,"sha256":"7aa7a5359173d05b63cfd682e3c38487f3cb4f7f1d60659fe59fab1505977d4c"},{"name":"hist/src","size":0,"sha256":null},{"name":"hist/src/lib.rs","size":13,"sha256":"536e506bb90914c243a12b397b9a998f85ae2cbd9ba02dfd03a9e155ca5ca0f4"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/.zip","auth":"admin","status":200,"headers":{"content-type":"application/octet-stream","link":"</api/v1/repos/acme/hist/archive/.zip?rev=>; rel=\"immutable\""},"body_prefix_hex":"504b0304","archive":[{"name":"hist/","size":0,"sha256":null},{"name":"hist/README.md","size":7,"sha256":"f61fd51ed8a1210100bca867c775464457dd5a21dd2368bfed695de3a2ca80e1"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/hist/archive/nope.zip","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"unrecognized repository reference: nope","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/F-pulls.json b/crates/forge/conformance/fixtures/1.26.2/F-pulls.json index 1869e7e2..3dbc3fed 100644 --- a/crates/forge/conformance/fixtures/1.26.2/F-pulls.json +++ b/crates/forge/conformance/fixtures/1.26.2/F-pulls.json @@ -1,5064 +1,45 @@ -{ - "scenario": "F", - "title": "pulls", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "Add f1", - "body": "First", - "head": "f1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 409, - "request": { - "title": "Add f1", - "body": "First", - "head": "f1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "pull request already exists for these targets [id: 1, issue_id: 1, head_repo_id: 9, base_repo_id: 9, head_branch: f1, base_branch: main]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "Add f2", - "body": "Second", - "head": "f2", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 404, - "request": { - "title": "x", - "head": "nope", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 422, - "request": { - "title": "x", - "head": "main", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Invalid PullRequest: There are no changes between the head and the base", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 404, - "request": { - "title": "x", - "head": "f1", - "base": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls", - "auth": "bot-scoped", - "status": 422, - "request": { - "head": "f1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Title]: Required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=all&head=acme%3Af2&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "note", - "key": "head_filter_returned_heads", - "value": [ - "f2", - "f1" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=closed&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "note", - "key": "head_sha_updated_immediately", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "head_sha_updated_within_10s", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "note", - "key": "head_sha_changed_after_push", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/prs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f1", - "body": "First", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/prs/pulls/1", - "diff_url": "/acme/prs/pulls/1.diff", - "patch_url": "/acme/prs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f1", - "ref": "f1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/.diff", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "diff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls/.patch", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 1/2] commit on f1\n\n---\n f1.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1.txt\n\ndiff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\n-- \n2.52.0\n\n\nFrom Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 2/2] commit on f1\n\n---\n f1b.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1b.txt\n\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n-- \n2.52.0\n\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//commits", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/prs/commit/", - "commit": { - "url": "/api/v1/repos/acme/prs/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "commit on f1\n", - "tree": { - "url": "/api/v1/repos/acme/prs/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "f1b.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - }, - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/prs/commit/", - "commit": { - "url": "/api/v1/repos/acme/prs/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "commit on f1\n", - "tree": { - "url": "/api/v1/repos/acme/prs/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/prs/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "f1.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//files", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "filename": "f1.txt", - "status": "added", - "additions": 1, - "deletions": 0, - "changes": 1, - "html_url": "/acme/prs/src/commit//f1.txt", - "contents_url": "/api/v1/repos/acme/prs/contents/f1.txt?ref=", - "raw_url": "/acme/prs/raw/commit//f1.txt" - }, - { - "filename": "f1b.txt", - "status": "added", - "additions": 1, - "deletions": 0, - "changes": 1, - "html_url": "/acme/prs/src/commit//f1b.txt", - "contents_url": "/api/v1/repos/acme/prs/contents/f1b.txt?ref=", - "raw_url": "/acme/prs/raw/commit//f1b.txt" - } - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls?state=closed&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "open" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Add f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prs/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "Renamed f2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/prs/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "Renamed f2", - "body": "Second", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/prs/pulls/2", - "diff_url": "/acme/prs/pulls/2.diff", - "patch_url": "/acme/prs/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "f2", - "ref": "f2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "admin", - "status": 200, - "request": { - "body": "looks fine", - "event": "COMMENT" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": true, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "alice", - "status": 200, - "request": { - "body": "please change", - "event": "REQUEST_CHANGES" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "REQUEST_CHANGES", - "body": "please change", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "alice", - "status": 200, - "request": { - "body": "now ok", - "event": "APPROVED" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "APPROVED", - "body": "now ok", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "carol", - "status": 200, - "request": { - "body": "read only approves", - "event": "APPROVED" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - "team": null, - "state": "APPROVED", - "body": "read only approves", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "bot-scoped", - "status": 422, - "request": { - "body": "self approve", - "event": "APPROVED" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "approve your own pull is not allowed", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "alice", - "status": 200, - "request": { - "body": "bogus", - "event": "BOGUS" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "alice", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "PENDING", - "body": "bogus", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "REQUEST_CHANGES", - "body": "please change", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": true, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "APPROVED", - "body": "now ok", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - "team": null, - "state": "APPROVED", - "body": "read only approves", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews?page=1&limit=25", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "REQUEST_CHANGES", - "body": "please change", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": true, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "team": null, - "state": "APPROVED", - "body": "now ok", - "commit_id": "", - "stale": false, - "official": true, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - }, - { - "id": "", - "user": { - "id": "", - "login": "carol", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "carol@example.invalid", - "avatar_url": "/avatars/ee6690b07021d18ebb41590287ae5e0b", - "html_url": "/carol", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "carol" - }, - "team": null, - "state": "APPROVED", - "body": "read only approves", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "user": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "team": null, - "state": "COMMENT", - "body": "looks fine", - "commit_id": "", - "stale": false, - "official": false, - "dismissed": false, - "comments_count": 0, - "submitted_at": "", - "updated_at": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/pulls//reviews//comments", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot-scoped", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[read:issue], token scope=read:organization,write:repository,read:user", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot-scoped", - "status": 403, - "request": { - "body": "hello" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:issue], token scope=read:organization,write:repository,read:user", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot-scoped", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[read:issue], token scope=read:organization,write:repository,read:user", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot", - "status": 201, - "request": { - "body": "hello" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1", - "issue_url": "", - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "original_author": "", - "original_author_id": "", - "body": "hello", - "assets": [], - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prs/issues//comments", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "html_url": "/acme/prs/pulls/1#issuecomment-", - "pull_request_url": "/acme/prs/pulls/1", - "issue_url": "", - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "original_author": "", - "original_author_id": "", - "body": "hello", - "assets": [], - "created_at": "", - "updated_at": "" - } - ] - } - ] -} +{"scenario":"F","title":"pulls","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":201,"request":{"title":"Add f1","body":"First","head":"f1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":409,"request":{"title":"Add f1","body":"First","head":"f1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"pull request already exists for these targets [id: 1, issue_id: 1, head_repo_id: 9, base_repo_id: 9, head_branch: f1, base_branch: main]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":201,"request":{"title":"Add f2","body":"Second","head":"f2","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":404,"request":{"title":"x","head":"nope","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":422,"request":{"title":"x","head":"main","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Invalid PullRequest: There are no changes between the head and the base","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":404,"request":{"title":"x","head":"f1","base":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls","auth":"bot-scoped","status":422,"request":{"head":"f1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Title]: Required","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=all&head=acme%3Af2&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"note","key":"head_filter_returned_heads","value":["f2","f1"],"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=closed&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"note","key":"head_sha_updated_immediately","value":true,"strict":false}, +{"kind":"note","key":"head_sha_updated_within_10s","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"note","key":"head_sha_changed_after_push","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/prs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f1","body":"First","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/prs/pulls/1","diff_url":"/acme/prs/pulls/1.diff","patch_url":"/acme/prs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f1","ref":"f1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/.diff","auth":"bot-scoped","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"diff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls/.patch","auth":"bot-scoped","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"From Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 1/2] commit on f1\n\n---\n f1.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1.txt\n\ndiff --git a/f1.txt b/f1.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1.txt\n@@ -0,0 +1 @@\n+one\n-- \n2.52.0\n\n\nFrom Mon Sep 17 00:00:00 2001\nFrom: Conf \nDate: \nSubject: [PATCH 2/2] commit on f1\n\n---\n f1b.txt | 1 +\n 1 file changed, 1 insertion(+)\n create mode 100644 f1b.txt\n\ndiff --git a/f1b.txt b/f1b.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/f1b.txt\n@@ -0,0 +1 @@\n+more\n-- \n2.52.0\n\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//commits","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":"","html_url":"/acme/prs/commit/","commit":{"url":"/api/v1/repos/acme/prs/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"commit on f1\n","tree":{"url":"/api/v1/repos/acme/prs/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":""}],"files":[{"filename":"f1b.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}},{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":"","html_url":"/acme/prs/commit/","commit":{"url":"/api/v1/repos/acme/prs/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"commit on f1\n","tree":{"url":"/api/v1/repos/acme/prs/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/prs/git/commits/","sha":"","created":""}],"files":[{"filename":"f1.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//files","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"filename":"f1.txt","status":"added","additions":1,"deletions":0,"changes":1,"html_url":"/acme/prs/src/commit//f1.txt","contents_url":"/api/v1/repos/acme/prs/contents/f1.txt?ref=","raw_url":"/acme/prs/raw/commit//f1.txt"},{"filename":"f1b.txt","status":"added","additions":1,"deletions":0,"changes":1,"html_url":"/acme/prs/src/commit//f1b.txt","contents_url":"/api/v1/repos/acme/prs/contents/f1b.txt?ref=","raw_url":"/acme/prs/raw/commit//f1b.txt"}]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls?state=closed&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":201,"request":{"state":"open"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Add f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prs/pulls/","auth":"bot-scoped","status":201,"request":{"title":"Renamed f2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/prs/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"Renamed f2","body":"Second","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/prs/pulls/2","diff_url":"/acme/prs/pulls/2.diff","patch_url":"/acme/prs/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"f2","ref":"f2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"admin","status":200,"request":{"body":"looks fine","event":"COMMENT"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":true,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"alice","status":200,"request":{"body":"please change","event":"REQUEST_CHANGES"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"REQUEST_CHANGES","body":"please change","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"alice","status":200,"request":{"body":"now ok","event":"APPROVED"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"APPROVED","body":"now ok","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"carol","status":200,"request":{"body":"read only approves","event":"APPROVED"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},"team":null,"state":"APPROVED","body":"read only approves","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"bot-scoped","status":422,"request":{"body":"self approve","event":"APPROVED"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"approve your own pull is not allowed","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"alice","status":200,"request":{"body":"bogus","event":"BOGUS"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"alice","login_name":"alice","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"PENDING","body":"bogus","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"REQUEST_CHANGES","body":"please change","commit_id":"","stale":false,"official":false,"dismissed":true,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"APPROVED","body":"now ok","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},"team":null,"state":"APPROVED","body":"read only approves","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews?page=1&limit=25","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"REQUEST_CHANGES","body":"please change","commit_id":"","stale":false,"official":false,"dismissed":true,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"team":null,"state":"APPROVED","body":"now ok","commit_id":"","stale":false,"official":true,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"},{"id":"","user":{"id":"","login":"carol","login_name":"","source_id":"","full_name":"","email":"carol@example.invalid","avatar_url":"/avatars/ee6690b07021d18ebb41590287ae5e0b","html_url":"/carol","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"carol"},"team":null,"state":"APPROVED","body":"read only approves","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","user":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"team":null,"state":"COMMENT","body":"looks fine","commit_id":"","stale":false,"official":false,"dismissed":false,"comments_count":0,"submitted_at":"","updated_at":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/pulls//reviews//comments","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot-scoped","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[read:issue], token scope=read:organization,write:repository,read:user","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot-scoped","status":403,"request":{"body":"hello"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:issue], token scope=read:organization,write:repository,read:user","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot-scoped","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[read:issue], token scope=read:organization,write:repository,read:user","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot","status":201,"request":{"body":"hello"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1","issue_url":"","user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"original_author":"","original_author_id":"","body":"hello","assets":[],"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prs/issues//comments","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","html_url":"/acme/prs/pulls/1#issuecomment-","pull_request_url":"/acme/prs/pulls/1","issue_url":"","user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"original_author":"","original_author_id":"","body":"hello","assets":[],"created_at":"","updated_at":""}]} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/G-merge.json b/crates/forge/conformance/fixtures/1.26.2/G-merge.json index c798a053..32822d05 100644 --- a/crates/forge/conformance/fixtures/1.26.2/G-merge.json +++ b/crates/forge/conformance/fixtures/1.26.2/G-merge.json @@ -1,4651 +1,78 @@ -{ - "scenario": "G", - "title": "merge", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m1", - "body": "body m1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/1", - "diff_url": "/acme/merges/pulls/1.diff", - "patch_url": "/acme/merges/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m1", - "ref": "m1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "merge_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "merge_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "merge_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m1", - "body": "body m1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/1", - "diff_url": "/acme/merges/pulls/1.diff", - "patch_url": "/acme/merges/pulls/1.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m1", - "ref": "m1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "note", - "key": "merged_flag_true_after_merge", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "merge_commit_sha_present", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "merge_commit_parent_count", - "value": 2, - "strict": true - }, - { - "kind": "note", - "key": "head_sha_unchanged_after_merge", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The PR is already merged", - "url": "/api/swagger" - } - }, - { - "kind": "note", - "key": "immediate_merge_status", - "value": 405, - "strict": false - }, - { - "kind": "note", - "key": "immediate_merge_message", - "value": "Please try again later", - "strict": false - }, - { - "kind": "note", - "key": "immediate_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "immediate_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "immediate_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m1b", - "body": "body m1b", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/2", - "diff_url": "/acme/merges/pulls/2.diff", - "patch_url": "/acme/merges/pulls/2.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m1b", - "ref": "m1b", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "headid_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "headid_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "headid_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 409, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "head out of date", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 409, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "head out of date", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m3", - "body": "body m3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/4", - "diff_url": "/acme/merges/pulls/4.diff", - "patch_url": "/acme/merges/pulls/4.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 26, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 5, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m3", - "ref": "m3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 26, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 5, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge", - "head_commit_id": "" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "wrongid_then_right_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "wrongid_then_right_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "wrongid_then_right_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 422, - "request": { - "Do": "bogus" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Do]: In", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 422, - "request": {}, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Do]: Required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m4", - "body": "body m4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/merges/pulls/6", - "diff_url": "/acme/merges/pulls/6.diff", - "patch_url": "/acme/merges/pulls/6.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 7, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m4", - "ref": "m4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 7, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m4", - "body": "body m4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/merges/pulls/6", - "diff_url": "/acme/merges/pulls/6.diff", - "patch_url": "/acme/merges/pulls/6.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 7, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m4", - "ref": "m4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 7, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "again", - "head": "m1", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/7", - "number": 7, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "again", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/merges/pulls/7", - "diff_url": "/acme/merges/pulls/7.diff", - "patch_url": "/acme/merges/pulls/7.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 7, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m1", - "ref": "m1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 28, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 7, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/9", - "number": 9, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cf2", - "body": "body cf2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/merges/pulls/9", - "diff_url": "/acme/merges/pulls/9.diff", - "patch_url": "/acme/merges/pulls/9.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 10, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "cf2", - "ref": "cf2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 10, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "strict_keys": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/10", - "number": 10, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m5", - "body": "body m5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/10", - "diff_url": "/acme/merges/pulls/10.diff", - "patch_url": "/acme/merges/pulls/10.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 11, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m5", - "ref": "m5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 11, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/10", - "number": 10, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR m5", - "body": "body m5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/10", - "diff_url": "/acme/merges/pulls/10.diff", - "patch_url": "/acme/merges/pulls/10.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 11, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "m5", - "ref": "m5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 11, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "squash" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "squash_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "squash_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "squash_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/11", - "number": 11, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR sq", - "body": "body sq", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/merges/pulls/11", - "diff_url": "/acme/merges/pulls/11.diff", - "patch_url": "/acme/merges/pulls/11.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 12, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "sq", - "ref": "sq", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 31, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 12, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "note", - "key": "squash_parent_count", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "rebase" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "rebase_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "rebase_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "rebase_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/12", - "number": 12, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR rb", - "body": "body rb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/merges/pulls/12", - "diff_url": "/acme/merges/pulls/12.diff", - "patch_url": "/acme/merges/pulls/12.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 35, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 14, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "rb", - "ref": "rb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 35, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 14, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "note", - "key": "rebase_parent_count", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "rebase-merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "rebase_merge_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "rebase_merge_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "rebase_merge_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "note", - "key": "rebase_merge_parent_count", - "value": 2, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "fast-forward-only" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "ff_only_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "ff_only_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "ff_only_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/14", - "number": 14, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ffo", - "body": "body ffo", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/14", - "diff_url": "/acme/merges/pulls/14.diff", - "patch_url": "/acme/merges/pulls/14.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 41, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 17, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "ffo", - "ref": "ffo", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 41, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 17, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "note", - "key": "ff_only_parent_count", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 500, - "request": { - "Do": "fast-forward-only" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/merges/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/merges/pulls/15", - "number": 15, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ffo2", - "body": "body ffo2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/merges/pulls/15", - "diff_url": "/acme/merges/pulls/15.diff", - "patch_url": "/acme/merges/pulls/15.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 43, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 19, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "ffo2", - "ref": "ffo2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 43, - "language": "", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 19, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - }, - "must_contain": [ - "required status checks" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - }, - "must_contain": [ - "required status checks" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - }, - "must_contain": [ - "required status checks" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/merges/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "note", - "key": "status_gated_merged_immediately_after_merge_call", - "value": true, - "strict": false - }, - { - "kind": "note", - "key": "status_gated_merged_within_10s", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "status_gated_seconds_to_merged", - "value": 0, - "strict": false - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/merges/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - } - ] -} +{"scenario":"G","title":"merge","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m1","body":"body m1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/1","diff_url":"/acme/merges/pulls/1.diff","patch_url":"/acme/merges/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m1","ref":"m1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"note","key":"merge_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"merge_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"merge_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m1","body":"body m1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/1","diff_url":"/acme/merges/pulls/1.diff","patch_url":"/acme/merges/pulls/1.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m1","ref":"m1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"note","key":"merged_flag_true_after_merge","value":true,"strict":true}, +{"kind":"note","key":"merge_commit_sha_present","value":true,"strict":true}, +{"kind":"note","key":"merge_commit_parent_count","value":2,"strict":true}, +{"kind":"note","key":"head_sha_unchanged_after_merge","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The PR is already merged","url":"/api/swagger"}}, +{"kind":"note","key":"immediate_merge_status","value":405,"strict":false}, +{"kind":"note","key":"immediate_merge_message","value":"Please try again later","strict":false}, +{"kind":"note","key":"immediate_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"immediate_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"immediate_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m1b","body":"body m1b","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/2","diff_url":"/acme/merges/pulls/2.diff","patch_url":"/acme/merges/pulls/2.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m1b","ref":"m1b","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge","head_commit_id":""},"headers":{},"body_text":""}, +{"kind":"note","key":"headid_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"headid_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"headid_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":409,"request":{"Do":"merge","head_commit_id":""},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"head out of date","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":409,"request":{"Do":"merge","head_commit_id":""},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"head out of date","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m3","body":"body m3","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/4","diff_url":"/acme/merges/pulls/4.diff","patch_url":"/acme/merges/pulls/4.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":26,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":5,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m3","ref":"m3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":26,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":5,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge","head_commit_id":""},"headers":{},"body_text":""}, +{"kind":"note","key":"wrongid_then_right_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"wrongid_then_right_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"wrongid_then_right_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":422,"request":{"Do":"bogus"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Do]: In","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":422,"request":{},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Do]: Required","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m4","body":"body m4","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/merges/pulls/6","diff_url":"/acme/merges/pulls/6.diff","patch_url":"/acme/merges/pulls/6.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":7,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m4","ref":"m4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":7,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m4","body":"body m4","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/merges/pulls/6","diff_url":"/acme/merges/pulls/6.diff","patch_url":"/acme/merges/pulls/6.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":7,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m4","ref":"m4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":7,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls","auth":"bot-scoped","status":201,"request":{"title":"again","head":"m1","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/7","number":7,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"again","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/merges/pulls/7","diff_url":"/acme/merges/pulls/7.diff","patch_url":"/acme/merges/pulls/7.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":7,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m1","ref":"m1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":28,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":7,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/9","number":9,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cf2","body":"body cf2","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/merges/pulls/9","diff_url":"/acme/merges/pulls/9.diff","patch_url":"/acme/merges/pulls/9.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":10,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"cf2","ref":"cf2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":10,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"strict_keys":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/10","number":10,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m5","body":"body m5","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/10","diff_url":"/acme/merges/pulls/10.diff","patch_url":"/acme/merges/pulls/10.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":11,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m5","ref":"m5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":11,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":404,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/10","number":10,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR m5","body":"body m5","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/10","diff_url":"/acme/merges/pulls/10.diff","patch_url":"/acme/merges/pulls/10.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":11,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"m5","ref":"m5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":11,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"squash"},"headers":{},"body_text":""}, +{"kind":"note","key":"squash_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"squash_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"squash_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/11","number":11,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR sq","body":"body sq","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/merges/pulls/11","diff_url":"/acme/merges/pulls/11.diff","patch_url":"/acme/merges/pulls/11.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":12,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"sq","ref":"sq","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":31,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":12,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"note","key":"squash_parent_count","value":1,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"rebase"},"headers":{},"body_text":""}, +{"kind":"note","key":"rebase_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"rebase_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"rebase_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/12","number":12,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR rb","body":"body rb","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/merges/pulls/12","diff_url":"/acme/merges/pulls/12.diff","patch_url":"/acme/merges/pulls/12.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":35,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":14,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"rb","ref":"rb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":35,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":14,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"note","key":"rebase_parent_count","value":1,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"rebase-merge"},"headers":{},"body_text":""}, +{"kind":"note","key":"rebase_merge_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"rebase_merge_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"rebase_merge_seconds_to_merged","value":0,"strict":false}, +{"kind":"note","key":"rebase_merge_parent_count","value":2,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"fast-forward-only"},"headers":{},"body_text":""}, +{"kind":"note","key":"ff_only_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"ff_only_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"ff_only_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/14","number":14,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ffo","body":"body ffo","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/14","diff_url":"/acme/merges/pulls/14.diff","patch_url":"/acme/merges/pulls/14.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":41,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":17,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"ffo","ref":"ffo","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":41,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":17,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"note","key":"ff_only_parent_count","value":1,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":500,"request":{"Do":"fast-forward-only"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/merges/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/merges/pulls/15","number":15,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ffo2","body":"body ffo2","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/merges/pulls/15","diff_url":"/acme/merges/pulls/15.diff","patch_url":"/acme/merges/pulls/15.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":43,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":19,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"ffo2","ref":"ffo2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":43,"language":"","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":19,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"},"must_contain":["required status checks"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"},"must_contain":["required status checks"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"},"must_contain":["required status checks"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/merges/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"note","key":"status_gated_merged_immediately_after_merge_call","value":true,"strict":false}, +{"kind":"note","key":"status_gated_merged_within_10s","value":true,"strict":true}, +{"kind":"note","key":"status_gated_seconds_to_merged","value":0,"strict":false}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/merges/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/H-statuses.json b/crates/forge/conformance/fixtures/1.26.2/H-statuses.json index ac2c72af..b6aa9004 100644 --- a/crates/forge/conformance/fixtures/1.26.2/H-statuses.json +++ b/crates/forge/conformance/fixtures/1.26.2/H-statuses.json @@ -1,3596 +1,53 @@ -{ - "scenario": "H", - "title": "statuses", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": { - "state": "pending", - "sha": "", - "total_count": 0, - "statuses": null, - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_state_no_statuses", - "value": "pending", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//statuses?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "pending", - "context": "ci/test", - "description": "ci/test is pending", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "pending", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_state_pending", - "value": "pending", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_statuses_after_pending_then_success", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//statuses?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "note", - "key": "list_history_len_after_two_posts", - "value": 2, - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "failure", - "context": "ci/lint", - "description": "ci/lint is failure", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_success_plus_failure", - "value": "failure", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "ci/lint", - "description": "ci/lint is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_all_success", - "value": "success", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "pending", - "context": "ci/other", - "description": "ci/other is pending", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": { - "state": "pending", - "sha": "", - "total_count": 3, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_success_plus_pending", - "value": "pending", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "error", - "context": "ci/err", - "description": "ci/err is error", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "ci/err is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/err", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 4, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "ci/err is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/err", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_with_error", - "value": "failure", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 4, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/test is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/test", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "ci/lint is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/lint", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "ci/other is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/other", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "ci/err is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/err", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "st-success", - "description": "st-success is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "st-success is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-success", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "pending", - "context": "st-pending", - "description": "st-pending is pending", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "st-pending is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-pending", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "failure", - "context": "st-failure", - "description": "st-failure is failure", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "st-failure is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-failure", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "error", - "context": "st-error", - "description": "st-error is error", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "st-error is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-error", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "warning", - "context": "st-warning", - "description": "st-warning is warning", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "warning", - "target_url": "http://example.invalid/run/1", - "description": "st-warning is warning", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-warning", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "skipped", - "context": "st-skipped", - "description": "st-skipped is skipped", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "skipped", - "target_url": "http://example.invalid/run/1", - "description": "st-skipped is skipped", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-skipped", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "bogus", - "context": "st-bogus", - "description": "st-bogus is bogus", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "st-bogus is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-bogus", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "", - "context": "st-empty", - "description": "st-empty is ", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "", - "target_url": "http://example.invalid/run/1", - "description": "st-empty is", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-empty", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "8" - }, - "body": { - "state": "failure", - "sha": "", - "total_count": 8, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "http://example.invalid/run/1", - "description": "st-success is success", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-success", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "pending", - "target_url": "http://example.invalid/run/1", - "description": "st-pending is pending", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-pending", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "failure", - "target_url": "http://example.invalid/run/1", - "description": "st-failure is failure", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-failure", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "error", - "target_url": "http://example.invalid/run/1", - "description": "st-error is error", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-error", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "warning", - "target_url": "http://example.invalid/run/1", - "description": "st-warning is warning", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-warning", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "skipped", - "target_url": "http://example.invalid/run/1", - "description": "st-skipped is skipped", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-skipped", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "st-bogus is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-bogus", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "", - "target_url": "http://example.invalid/run/1", - "description": "st-empty is", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "st-empty", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "context": "no-state" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "no-state", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "success", - "context": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 500, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "GetCommit[]: object does not exist [id: , rel_path: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/nope", - "auth": "admin", - "status": 500, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "GetCommit[nope]: object does not exist [id: nope, rel_path: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "carol", - "status": 403, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user should have a permission to write to a repo", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "dave", - "status": 404, - "request": { - "state": "success", - "context": "ci/test", - "description": "ci/test is success", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/status/statuses/", - "auth": "admin", - "status": 201, - "request": { - "state": "bogus", - "context": "ci/bogus-only", - "description": "ci/bogus-only is bogus", - "target_url": "http://example.invalid/run/1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "pending", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "note", - "key": "combined_state_only_bogus", - "value": "pending", - "strict": true - }, - { - "kind": "note", - "key": "combined_total_only_bogus", - "value": 1, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits//status?limit=50", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": [ - "object does not exist [id: , rel_path: ]" - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/commits/main/status?limit=50", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": { - "state": "pending", - "sha": "", - "total_count": 1, - "statuses": [ - { - "id": "", - "status": "bogus", - "target_url": "http://example.invalid/run/1", - "description": "ci/bogus-only is bogus", - "url": "/api/v1/repos/acme/status/statuses/", - "context": "ci/bogus-only", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/status/commits/", - "url": "/api/v1/repos/acme/status/commits//status" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/status/statuses/main?limit=100", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - } - ] -} +{"scenario":"H","title":"statuses","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":{"state":"pending","sha":"","total_count":0,"statuses":null,"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_state_no_statuses","value":"pending","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//statuses?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"bot-scoped","status":201,"request":{"state":"pending","context":"ci/test","description":"ci/test is pending","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"pending","sha":"","total_count":1,"statuses":[{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_state_pending","value":"pending","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"bot-scoped","status":201,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"success","sha":"","total_count":1,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_statuses_after_pending_then_success","value":1,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//statuses?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/test is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}]}, +{"kind":"note","key":"list_history_len_after_two_posts","value":2,"strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"failure","context":"ci/lint","description":"ci/lint is failure","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"ci/lint is failure","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":{"state":"failure","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"ci/lint is failure","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_success_plus_failure","value":"failure","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"ci/lint","description":"ci/lint is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":{"state":"success","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_all_success","value":"success","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"pending","context":"ci/other","description":"ci/other is pending","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":{"state":"pending","sha":"","total_count":3,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_success_plus_pending","value":"pending","strict":true}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"error","context":"ci/err","description":"ci/err is error","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"ci/err is error","url":"/api/v1/repos/acme/status/statuses/","context":"ci/err","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":{"state":"failure","sha":"","total_count":4,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"ci/err is error","url":"/api/v1/repos/acme/status/statuses/","context":"ci/err","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_with_error","value":"failure","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":{"state":"failure","sha":"","total_count":4,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/test is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/test","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"ci/lint is success","url":"/api/v1/repos/acme/status/statuses/","context":"ci/lint","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"ci/other is pending","url":"/api/v1/repos/acme/status/statuses/","context":"ci/other","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"ci/err is error","url":"/api/v1/repos/acme/status/statuses/","context":"ci/err","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"st-success","description":"st-success is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"st-success is success","url":"/api/v1/repos/acme/status/statuses/","context":"st-success","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"pending","context":"st-pending","description":"st-pending is pending","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"st-pending is pending","url":"/api/v1/repos/acme/status/statuses/","context":"st-pending","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"failure","context":"st-failure","description":"st-failure is failure","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"st-failure is failure","url":"/api/v1/repos/acme/status/statuses/","context":"st-failure","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"error","context":"st-error","description":"st-error is error","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"st-error is error","url":"/api/v1/repos/acme/status/statuses/","context":"st-error","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"warning","context":"st-warning","description":"st-warning is warning","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"warning","target_url":"http://example.invalid/run/1","description":"st-warning is warning","url":"/api/v1/repos/acme/status/statuses/","context":"st-warning","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"skipped","context":"st-skipped","description":"st-skipped is skipped","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"skipped","target_url":"http://example.invalid/run/1","description":"st-skipped is skipped","url":"/api/v1/repos/acme/status/statuses/","context":"st-skipped","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"bogus","context":"st-bogus","description":"st-bogus is bogus","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"st-bogus is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"st-bogus","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"","context":"st-empty","description":"st-empty is ","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"","target_url":"http://example.invalid/run/1","description":"st-empty is","url":"/api/v1/repos/acme/status/statuses/","context":"st-empty","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"8"},"body":{"state":"failure","sha":"","total_count":8,"statuses":[{"id":"","status":"success","target_url":"http://example.invalid/run/1","description":"st-success is success","url":"/api/v1/repos/acme/status/statuses/","context":"st-success","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"pending","target_url":"http://example.invalid/run/1","description":"st-pending is pending","url":"/api/v1/repos/acme/status/statuses/","context":"st-pending","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"failure","target_url":"http://example.invalid/run/1","description":"st-failure is failure","url":"/api/v1/repos/acme/status/statuses/","context":"st-failure","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"error","target_url":"http://example.invalid/run/1","description":"st-error is error","url":"/api/v1/repos/acme/status/statuses/","context":"st-error","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"warning","target_url":"http://example.invalid/run/1","description":"st-warning is warning","url":"/api/v1/repos/acme/status/statuses/","context":"st-warning","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"skipped","target_url":"http://example.invalid/run/1","description":"st-skipped is skipped","url":"/api/v1/repos/acme/status/statuses/","context":"st-skipped","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"st-bogus is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"st-bogus","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"","target_url":"http://example.invalid/run/1","description":"st-empty is","url":"/api/v1/repos/acme/status/statuses/","context":"st-empty","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/status/statuses/","context":"","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"context":"no-state"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"","target_url":"","description":"","url":"/api/v1/repos/acme/status/statuses/","context":"no-state","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"success","context":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/status/statuses/","context":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":500,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"GetCommit[]: object does not exist [id: , rel_path: ]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/nope","auth":"admin","status":500,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"GetCommit[nope]: object does not exist [id: nope, rel_path: ]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"carol","status":403,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user should have a permission to write to a repo","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"dave","status":404,"request":{"state":"success","context":"ci/test","description":"ci/test is success","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/status/statuses/","auth":"admin","status":201,"request":{"state":"bogus","context":"ci/bogus-only","description":"ci/bogus-only is bogus","target_url":"http://example.invalid/run/1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"pending","sha":"","total_count":1,"statuses":[{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"note","key":"combined_state_only_bogus","value":"pending","strict":true}, +{"kind":"note","key":"combined_total_only_bogus","value":1,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits//status?limit=50","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":["object does not exist [id: , rel_path: ]"]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/commits/main/status?limit=50","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":{"state":"pending","sha":"","total_count":1,"statuses":[{"id":"","status":"bogus","target_url":"http://example.invalid/run/1","description":"ci/bogus-only is bogus","url":"/api/v1/repos/acme/status/statuses/","context":"ci/bogus-only","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/status/commits/","url":"/api/v1/repos/acme/status/commits//status"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/status/statuses/main?limit=100","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/I-branch-protection.json b/crates/forge/conformance/fixtures/1.26.2/I-branch-protection.json index 388c3d4e..2011c683 100644 --- a/crates/forge/conformance/fixtures/1.26.2/I-branch-protection.json +++ b/crates/forge/conformance/fixtures/1.26.2/I-branch-protection.json @@ -1,438 +1,20 @@ -{ - "scenario": "I", - "title": "branch-protection", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 403, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Branch protection already exist", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections/nope", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/swagger", - "errors": null, - "message": "not found" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/prot/branch_protections", - "auth": "bot", - "status": 403, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user should be an owner or a collaborator with admin write of a repository", - "url": "/api/swagger" - } - }, - { - "kind": "git", - "name": "push-protected-write-collab", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: Not allowed to push to protected branch main \nremote: error: \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'", - "must_contain": [ - "protected" - ], - "refusal": [ - "remote: error: not allowed to push to protected branch main", - "! [remote rejected] head -> main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/prot.git'" - ] - }, - { - "kind": "git", - "name": "push-protected-admin", - "cmd": "git push http://@/acme/prot.git HEAD:refs/heads/main", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: Not allowed to push to protected branch main \nremote: error: \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'", - "refusal": [ - "remote: error: not allowed to push to protected branch main", - "! [remote rejected] head -> main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/prot.git'" - ] - }, - { - "kind": "git", - "name": "push-other-branch", - "cmd": "git push origin HEAD:refs/heads/other", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'other': \nremote: /acme/prot/pulls/new/other \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n * [new branch] HEAD -> other" - }, - { - "kind": "git", - "name": "delete-protected-by-push", - "cmd": "git push origin :refs/heads/main", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/prot.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'", - "refusal": [ - "remote: error: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/prot.git'" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "git", - "name": "push-after-enable-push", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n .. HEAD -> main" - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_status_check": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/prot/branch_protections/nope", - "auth": "admin", - "status": 404, - "request": { - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/prot/branch_protections/main", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - } - ] -} +{"scenario":"I","title":"branch-protection","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":403,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Branch protection already exist","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"branch_name":"main","rule_name":"main","priority":1,"enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections/nope","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/swagger","errors":null,"message":"not found"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/prot/branch_protections","auth":"bot","status":403,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user should be an owner or a collaborator with admin write of a repository","url":"/api/swagger"}}, +{"kind":"git","name":"push-protected-write-collab","cmd":"git push origin HEAD:refs/heads/main","ok":false,"output":"remote: \nremote: error: \nremote: error: Not allowed to push to protected branch main \nremote: error: \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'","must_contain":["protected"],"refusal":["remote: error: not allowed to push to protected branch main","! [remote rejected] head -> main (pre-receive hook declined)","error: failed to push some refs to '/acme/prot.git'"]}, +{"kind":"git","name":"push-protected-admin","cmd":"git push http://@/acme/prot.git HEAD:refs/heads/main","ok":false,"output":"remote: \nremote: error: \nremote: error: Not allowed to push to protected branch main \nremote: error: \nTo /acme/prot.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'","refusal":["remote: error: not allowed to push to protected branch main","! [remote rejected] head -> main (pre-receive hook declined)","error: failed to push some refs to '/acme/prot.git'"]}, +{"kind":"git","name":"push-other-branch","cmd":"git push origin HEAD:refs/heads/other","ok":true,"output":"remote: \nremote: Create a new pull request for 'other': \nremote: /acme/prot/pulls/new/other \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n * [new branch] HEAD -> other"}, +{"kind":"git","name":"delete-protected-by-push","cmd":"git push origin :refs/heads/main","ok":false,"output":"remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/prot.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/prot.git'","refusal":["remote: error: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/prot.git'"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":200,"request":{"enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"git","name":"push-after-enable-push","cmd":"git push origin HEAD:refs/heads/main","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/prot.git\n .. HEAD -> main"}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":200,"request":{"enable_status_check":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/prot/branch_protections/nope","auth":"admin","status":404,"request":{"enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/prot/branch_protections/main","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/J-smart-http.json b/crates/forge/conformance/fixtures/1.26.2/J-smart-http.json index 42b56366..c1623c0d 100644 --- a/crates/forge/conformance/fixtures/1.26.2/J-smart-http.json +++ b/crates/forge/conformance/fixtures/1.26.2/J-smart-http.json @@ -1,653 +1,66 @@ -{ - "scenario": "J", - "title": "smart-http", - "error": null, - "exchanges": [ - { - "kind": "git", - "name": "clone-admin-token", - "cmd": "git clone -q http://@/acme/smart.git /j-admin-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-admin-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-admin-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-admin-token': \nremote: /acme/smart/pulls/new/j-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-admin-token" - }, - { - "kind": "git", - "name": "fetch-admin-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-oauth2-token", - "cmd": "git clone -q http://@/acme/smart.git /j-oauth2-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-oauth2-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-oauth2-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-oauth2-token': \nremote: /acme/smart/pulls/new/j-oauth2-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-oauth2-token" - }, - { - "kind": "git", - "name": "fetch-oauth2-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-bot-token", - "cmd": "git clone -q http://@/acme/smart.git /j-bot-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-bot-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-bot-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-bot-token': \nremote: /acme/smart/pulls/new/j-bot-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-token" - }, - { - "kind": "git", - "name": "fetch-bot-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-other-name-admin-token", - "cmd": "git clone -q http://@/acme/smart.git /j-other-name-admin-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-other-name-admin-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-other-name-admin-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-other-name-admin-token': \nremote: /acme/smart/pulls/new/j-other-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-other-name-admin-token" - }, - { - "kind": "git", - "name": "fetch-other-name-admin-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-bot-name-admin-token", - "cmd": "git clone -q http://@/acme/smart.git /j-bot-name-admin-token", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-bot-name-admin-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-bot-name-admin-token", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-bot-name-admin-token': \nremote: /acme/smart/pulls/new/j-bot-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-name-admin-token" - }, - { - "kind": "git", - "name": "fetch-bot-name-admin-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-token-as-username", - "cmd": "git clone -q http://@/acme/smart.git /j-token-as-username", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "push-token-as-username", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-token-as-username", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'j-token-as-username': \nremote: /acme/smart/pulls/new/j-token-as-username \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-token-as-username" - }, - { - "kind": "git", - "name": "fetch-token-as-username", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "clone-bad-token", - "cmd": "git clone -q http://@/acme/smart.git /j-bad-token", - "ok": false, - "output": "remote: Failed to authenticate user\nfatal: Authentication failed for '/acme/smart.git/'", - "refusal": [ - "remote: failed to authenticate user", - "fatal: authentication failed for '/acme/smart.git/'" - ] - }, - { - "kind": "git", - "name": "push-bad-token", - "cmd": "git push http://@/acme/smart.git :refs/heads/j-bad-token", - "ok": false, - "output": "remote: Failed to authenticate user\nfatal: Authentication failed for '/acme/smart.git/'", - "refusal": [ - "remote: failed to authenticate user", - "fatal: authentication failed for '/acme/smart.git/'" - ] - }, - { - "kind": "git", - "name": "fetch-bad-token", - "cmd": "git fetch -q http://@/acme/smart.git main", - "ok": false, - "output": "remote: Failed to authenticate user\nfatal: Authentication failed for '/acme/smart.git/'", - "refusal": [ - "remote: failed to authenticate user", - "fatal: authentication failed for '/acme/smart.git/'" - ] - }, - { - "kind": "git", - "name": "clone-no-credentials", - "cmd": "git clone -q /acme/smart.git /j-no-credentials", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "git", - "name": "push-no-credentials", - "cmd": "git push /acme/smart.git :refs/heads/j-no-credentials", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "git", - "name": "fetch-no-credentials", - "cmd": "git fetch -q /acme/smart.git main", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "git", - "name": "ls-remote-hdr-basic-token-empty-password", - "cmd": "git -c http.extraHeader= ls-remote /acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "ls-remote-hdr-token", - "cmd": "git -c http.extraHeader= ls-remote /acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "ls-remote-hdr-bearer", - "cmd": "git -c http.extraHeader= ls-remote /acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Failed to authenticate user\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-upload-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "oauth2-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-upload-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Failed to authenticate user\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000cd refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-receive-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-receive-pack", - "auth": "oauth2-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000cd refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000", - "must_contain": [ - "service=git-receive-pack" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000000eversion 2\n001bagent=git/2.52.0-Linux\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000", - "must_contain": [ - "version 2" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "git", - "name": "fetch-sha-tip-v0", - "cmd": "git -c protocol.version=0 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-old-v0", - "cmd": "git -c protocol.version=0 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-dead-v0", - "cmd": "git -c protocol.version=0 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-tip-v2", - "cmd": "git -c protocol.version=2 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-old-v2", - "cmd": "git -c protocol.version=2 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "fetch-sha-dead-v2", - "cmd": "git -c protocol.version=2 fetch -q http://@/acme/smart.git ", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "ls-remote-v0", - "cmd": "git -c protocol.version=0 ls-remote http://@/acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "ls-remote-v2", - "cmd": "git -c protocol.version=2 ls-remote http://@/acme/smart.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main" - }, - { - "kind": "git", - "name": "clone-filter-blob-none", - "cmd": "git clone --filter=blob:none http://@/acme/smart.git /jpartial", - "ok": true, - "output": "Cloning into '/jpartial'..." - }, - { - "kind": "note", - "key": "partial_clone_missing_objects", - "value": true, - "strict": true - }, - { - "kind": "note", - "key": "partial_clone_promisor", - "value": "true", - "strict": true - }, - { - "kind": "git", - "name": "clone-depth-1", - "cmd": "git clone -q --depth=1 http://@/acme/smart.git /jshallow", - "ok": true, - "output": "" - }, - { - "kind": "note", - "key": "shallow_clone", - "value": "true", - "strict": true - }, - { - "kind": "git", - "name": "unshallow", - "cmd": "git fetch -q --unshallow", - "ok": true, - "output": "" - }, - { - "kind": "git", - "name": "flw-absent-expected-and-absent", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/pulls/new/b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> b" - }, - { - "kind": "git", - "name": "flw-absent-expected-but-exists", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": false, - "output": "To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'", - "refusal": [ - "! [rejected] -> b (stale info)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "git", - "name": "flw-correct-lease-nonff", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/pulls/new/b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n + .. -> b (forced update)" - }, - { - "kind": "git", - "name": "flw-stale-lease", - "cmd": "git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b", - "ok": false, - "output": "To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'", - "refusal": [ - "! [rejected] -> b (stale info)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "git", - "name": "push-nonff-without-force", - "cmd": "git push http://@/acme/smart.git :refs/heads/b", - "ok": false, - "output": "To /acme/smart.git\n ! [rejected] -> b (non-fast-forward)\nerror: failed to push some refs to '/acme/smart.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] -> b (non-fast-forward)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "git", - "name": "push-tags", - "cmd": "git push http://@/acme/smart.git refs/tags/v1 refs/tags/v2", - "ok": true, - "output": "remote: .. Processing 2 references \nremote: Processed 2 references in total \nTo /acme/smart.git\n * [new tag] v1 -> v1\n * [new tag] v2 -> v2" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "name": "v2", - "message": "release", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/smart/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/smart/archive/v2.zip", - "tarball_url": "/acme/smart/archive/v2.tar.gz" - }, - { - "name": "v1", - "message": "commit on main", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/smart/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/smart/archive/v1.zip", - "tarball_url": "/acme/smart/archive/v1.tar.gz" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/git/refs/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/tags/v1", - "url": "/api/v1/repos/acme/smart/git/refs/tags/v1", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/smart/git/commits/" - } - }, - { - "ref": "refs/tags/v2", - "url": "/api/v1/repos/acme/smart/git/refs/tags/v2", - "object": { - "type": "tag", - "sha": "", - "url": "/api/v1/repos/acme/smart/git/tags/" - } - } - ] - }, - { - "kind": "git", - "name": "delete-tag-by-push", - "cmd": "git push http://@/acme/smart.git :refs/tags/v1", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] v1" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/tags", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "v2", - "message": "release", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/smart/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/smart/archive/v2.zip", - "tarball_url": "/acme/smart/archive/v2.tar.gz" - } - ] - }, - { - "kind": "git", - "name": "delete-branch-by-push", - "cmd": "git push http://@/acme/smart.git :refs/heads/b", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] b" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/smart/branches/b", - "auth": "admin", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "git", - "name": "delete-default-branch-by-push", - "cmd": "git push http://@/acme/smart.git :refs/heads/main", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/smart.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/smart.git'", - "refusal": [ - "remote: error: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/smart.git'" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/smart.git/HEAD", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "text/plain" - }, - "body_text": "ref: refs/heads/main\n" - } - ] -} +{"scenario":"J","title":"smart-http","error":null,"exchanges":[ +{"kind":"git","name":"clone-admin-token","cmd":"git clone -q http://@/acme/smart.git /j-admin-token","ok":true,"output":""}, +{"kind":"git","name":"push-admin-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-admin-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-admin-token': \nremote: /acme/smart/pulls/new/j-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-admin-token"}, +{"kind":"git","name":"fetch-admin-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-oauth2-token","cmd":"git clone -q http://@/acme/smart.git /j-oauth2-token","ok":true,"output":""}, +{"kind":"git","name":"push-oauth2-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-oauth2-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-oauth2-token': \nremote: /acme/smart/pulls/new/j-oauth2-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-oauth2-token"}, +{"kind":"git","name":"fetch-oauth2-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-bot-token","cmd":"git clone -q http://@/acme/smart.git /j-bot-token","ok":true,"output":""}, +{"kind":"git","name":"push-bot-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-bot-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-bot-token': \nremote: /acme/smart/pulls/new/j-bot-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-token"}, +{"kind":"git","name":"fetch-bot-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-other-name-admin-token","cmd":"git clone -q http://@/acme/smart.git /j-other-name-admin-token","ok":true,"output":""}, +{"kind":"git","name":"push-other-name-admin-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-other-name-admin-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-other-name-admin-token': \nremote: /acme/smart/pulls/new/j-other-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-other-name-admin-token"}, +{"kind":"git","name":"fetch-other-name-admin-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-bot-name-admin-token","cmd":"git clone -q http://@/acme/smart.git /j-bot-name-admin-token","ok":true,"output":""}, +{"kind":"git","name":"push-bot-name-admin-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-bot-name-admin-token","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-bot-name-admin-token': \nremote: /acme/smart/pulls/new/j-bot-name-admin-token \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-bot-name-admin-token"}, +{"kind":"git","name":"fetch-bot-name-admin-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-token-as-username","cmd":"git clone -q http://@/acme/smart.git /j-token-as-username","ok":true,"output":""}, +{"kind":"git","name":"push-token-as-username","cmd":"git push http://@/acme/smart.git :refs/heads/j-token-as-username","ok":true,"output":"remote: \nremote: Create a new pull request for 'j-token-as-username': \nremote: /acme/smart/pulls/new/j-token-as-username \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> j-token-as-username"}, +{"kind":"git","name":"fetch-token-as-username","cmd":"git fetch -q http://@/acme/smart.git main","ok":true,"output":""}, +{"kind":"git","name":"clone-bad-token","cmd":"git clone -q http://@/acme/smart.git /j-bad-token","ok":false,"output":"remote: Failed to authenticate user\nfatal: Authentication failed for '/acme/smart.git/'","refusal":["remote: failed to authenticate user","fatal: authentication failed for '/acme/smart.git/'"]}, +{"kind":"git","name":"push-bad-token","cmd":"git push http://@/acme/smart.git :refs/heads/j-bad-token","ok":false,"output":"remote: Failed to authenticate user\nfatal: Authentication failed for '/acme/smart.git/'","refusal":["remote: failed to authenticate user","fatal: authentication failed for '/acme/smart.git/'"]}, +{"kind":"git","name":"fetch-bad-token","cmd":"git fetch -q http://@/acme/smart.git main","ok":false,"output":"remote: Failed to authenticate user\nfatal: Authentication failed for '/acme/smart.git/'","refusal":["remote: failed to authenticate user","fatal: authentication failed for '/acme/smart.git/'"]}, +{"kind":"git","name":"clone-no-credentials","cmd":"git clone -q /acme/smart.git /j-no-credentials","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"git","name":"push-no-credentials","cmd":"git push /acme/smart.git :refs/heads/j-no-credentials","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"git","name":"fetch-no-credentials","cmd":"git fetch -q /acme/smart.git main","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"git","name":"ls-remote-hdr-basic-token-empty-password","cmd":"git -c http.extraHeader= ls-remote /acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"ls-remote-hdr-token","cmd":"git -c http.extraHeader= ls-remote /acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"ls-remote-hdr-bearer","cmd":"git -c http.extraHeader= ls-remote /acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Failed to authenticate user\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-upload-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"oauth2-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n0046 refs/heads/j-admin-token\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-upload-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Failed to authenticate user\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000cd refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-receive-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-receive-pack","auth":"oauth2-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000cd refs/heads/j-admin-token\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n004f refs/heads/j-bot-name-admin-token\n0044 refs/heads/j-bot-token\n0047 refs/heads/j-oauth2-token\n0051 refs/heads/j-other-name-admin-token\n004c refs/heads/j-token-as-username\n003d refs/heads/main\n0000","must_contain":["service=git-receive-pack"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000000eversion 2\n001bagent=git/2.52.0-Linux\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000","must_contain":["version 2"],"volatile":["$text"]}, +{"kind":"git","name":"fetch-sha-tip-v0","cmd":"git -c protocol.version=0 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-old-v0","cmd":"git -c protocol.version=0 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-dead-v0","cmd":"git -c protocol.version=0 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-tip-v2","cmd":"git -c protocol.version=2 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-old-v2","cmd":"git -c protocol.version=2 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"fetch-sha-dead-v2","cmd":"git -c protocol.version=2 fetch -q http://@/acme/smart.git ","ok":true,"output":""}, +{"kind":"git","name":"ls-remote-v0","cmd":"git -c protocol.version=0 ls-remote http://@/acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"ls-remote-v2","cmd":"git -c protocol.version=2 ls-remote http://@/acme/smart.git","ok":true,"output":"\tHEAD\n\trefs/heads/j-admin-token\n\trefs/heads/j-bot-name-admin-token\n\trefs/heads/j-bot-token\n\trefs/heads/j-oauth2-token\n\trefs/heads/j-other-name-admin-token\n\trefs/heads/j-token-as-username\n\trefs/heads/main"}, +{"kind":"git","name":"clone-filter-blob-none","cmd":"git clone --filter=blob:none http://@/acme/smart.git /jpartial","ok":true,"output":"Cloning into '/jpartial'..."}, +{"kind":"note","key":"partial_clone_missing_objects","value":true,"strict":true}, +{"kind":"note","key":"partial_clone_promisor","value":"true","strict":true}, +{"kind":"git","name":"clone-depth-1","cmd":"git clone -q --depth=1 http://@/acme/smart.git /jshallow","ok":true,"output":""}, +{"kind":"note","key":"shallow_clone","value":"true","strict":true}, +{"kind":"git","name":"unshallow","cmd":"git fetch -q --unshallow","ok":true,"output":""}, +{"kind":"git","name":"flw-absent-expected-and-absent","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":true,"output":"remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/pulls/new/b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n * [new branch] -> b"}, +{"kind":"git","name":"flw-absent-expected-but-exists","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":false,"output":"To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'","refusal":["! [rejected] -> b (stale info)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"git","name":"flw-correct-lease-nonff","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":true,"output":"remote: \nremote: Create a new pull request for 'b': \nremote: /acme/smart/pulls/new/b \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n + .. -> b (forced update)"}, +{"kind":"git","name":"flw-stale-lease","cmd":"git push --force-with-lease=refs/heads/b: http://@/acme/smart.git :refs/heads/b","ok":false,"output":"To /acme/smart.git\n ! [rejected] -> b (stale info)\nerror: failed to push some refs to '/acme/smart.git'","refusal":["! [rejected] -> b (stale info)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"git","name":"push-nonff-without-force","cmd":"git push http://@/acme/smart.git :refs/heads/b","ok":false,"output":"To /acme/smart.git\n ! [rejected] -> b (non-fast-forward)\nerror: failed to push some refs to '/acme/smart.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] -> b (non-fast-forward)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"git","name":"push-tags","cmd":"git push http://@/acme/smart.git refs/tags/v1 refs/tags/v2","ok":true,"output":"remote: .. Processing 2 references \nremote: Processed 2 references in total \nTo /acme/smart.git\n * [new tag] v1 -> v1\n * [new tag] v2 -> v2"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"name":"v2","message":"release","id":"","commit":{"url":"/api/v1/repos/acme/smart/git/commits/","sha":"","created":""},"zipball_url":"/acme/smart/archive/v2.zip","tarball_url":"/acme/smart/archive/v2.tar.gz"},{"name":"v1","message":"commit on main","id":"","commit":{"url":"/api/v1/repos/acme/smart/git/commits/","sha":"","created":""},"zipball_url":"/acme/smart/archive/v1.zip","tarball_url":"/acme/smart/archive/v1.tar.gz"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/git/refs/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/tags/v1","url":"/api/v1/repos/acme/smart/git/refs/tags/v1","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/smart/git/commits/"}},{"ref":"refs/tags/v2","url":"/api/v1/repos/acme/smart/git/refs/tags/v2","object":{"type":"tag","sha":"","url":"/api/v1/repos/acme/smart/git/tags/"}}]}, +{"kind":"git","name":"delete-tag-by-push","cmd":"git push http://@/acme/smart.git :refs/tags/v1","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] v1"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/tags","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"v2","message":"release","id":"","commit":{"url":"/api/v1/repos/acme/smart/git/commits/","sha":"","created":""},"zipball_url":"/acme/smart/archive/v2.zip","tarball_url":"/acme/smart/archive/v2.tar.gz"}]}, +{"kind":"git","name":"delete-branch-by-push","cmd":"git push http://@/acme/smart.git :refs/heads/b","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/smart.git\n - [deleted] b"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/smart/branches/b","auth":"admin","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"git","name":"delete-default-branch-by-push","cmd":"git push http://@/acme/smart.git :refs/heads/main","ok":false,"output":"remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/smart.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/smart.git'","refusal":["remote: error: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/smart.git'"]}, +{"kind":"http","method":"GET","path":"/acme/smart.git/HEAD","auth":"admin-tokbasic","status":200,"headers":{"content-type":"text/plain"},"body_text":"ref: refs/heads/main\n"} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/K-visibility-probing.json b/crates/forge/conformance/fixtures/1.26.2/K-visibility-probing.json index c2c585b7..45a535b5 100644 --- a/crates/forge/conformance/fixtures/1.26.2/K-visibility-probing.json +++ b/crates/forge/conformance/fixtures/1.26.2/K-visibility-probing.json @@ -1,3950 +1,60 @@ -{ - "scenario": "K", - "title": "visibility-probing", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Failed to authenticate user\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Failed to authenticate user\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "bad", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Failed to authenticate user\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "bad-tokbasic", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Failed to authenticate user\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/swagger", - "errors": null, - "message": "not found" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "dave-tokbasic", - "status": 403, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Push to create is not enabled for organizations.", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/contents", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 7, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/vis/contents/README.md?ref=main", - "html_url": "/acme/vis/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/vis/git/blobs/", - "download_url": "/acme/vis/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/vis/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/vis/git/blobs/", - "html": "/acme/vis/src/branch/main/README.md" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/vis/branches", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "main", - "commit": { - "id": "", - "message": "Initial commit\n", - "url": "/acme/vis/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": false, - "user_can_merge": false, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-upload-pack", - "auth": "carol-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis.git/info/refs?service=git-receive-pack", - "auth": "carol-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000c4 refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/contents", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/ghost/branches", - "auth": "carol", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-upload-pack", - "auth": "carol-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost.git/info/refs?service=git-receive-pack", - "auth": "carol-tokbasic", - "status": 403, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Push to create is not enabled for organizations.", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis", - "auth": "none", - "status": 303, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/user/login?redirect_to=%2Facme%2Fvis" - }, - "body_text": "See Other.\n\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-vis-none", - "cmd": "git ls-remote /acme/vis.git", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost", - "auth": "none", - "status": 303, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/user/login?redirect_to=%2Facme%2Fghost" - }, - "body_text": "See Other.\n\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-ghost-none", - "cmd": "git ls-remote /acme/ghost.git", - "ok": false, - "output": "fatal: could not read Username for '': terminal prompts disabled", - "refusal": [ - "fatal: could not read username for '': terminal prompts disabled" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/vis", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Not found.\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-vis-dave", - "cmd": "git ls-remote http://@/acme/vis.git", - "ok": false, - "output": "remote: Repository not found\nfatal: repository '/acme/vis.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/vis.git/' not found" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/ghost", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Not found.\n", - "volatile": [ - "$text" - ], - "tags": [ - "web" - ] - }, - { - "kind": "git", - "name": "ls-remote-ghost-dave", - "cmd": "git ls-remote http://@/acme/ghost.git", - "ok": false, - "output": "remote: Repository not found\nfatal: repository '/acme/ghost.git/' not found", - "refusal": [ - "remote: repository not found", - "fatal: repository '/acme/ghost.git/' not found" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": { - "ok": true, - "data": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "9" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 45, - "language": "Text", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 20, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prot", - "full_name": "acme/prot", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/prot/languages", - "html_url": "/acme/prot", - "url": "/api/v1/repos/acme/prot", - "link": "", - "ssh_url": "ssh:///acme/prot.git", - "clone_url": "/acme/prot.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "smart", - "full_name": "acme/smart", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "Text", - "languages_url": "/api/v1/repos/acme/smart/languages", - "html_url": "/acme/smart", - "url": "/api/v1/repos/acme/smart", - "link": "", - "ssh_url": "ssh:///acme/smart.git", - "clone_url": "/acme/smart.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 9, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "Text", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "13" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "doomed", - "full_name": "acme/doomed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/doomed/languages", - "html_url": "/acme/doomed", - "url": "/api/v1/repos/acme/doomed", - "link": "", - "ssh_url": "ssh:///acme/doomed.git", - "clone_url": "/acme/doomed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "empty", - "full_name": "acme/empty", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/empty/languages", - "html_url": "/acme/empty", - "url": "/api/v1/repos/acme/empty", - "link": "", - "ssh_url": "ssh:///acme/empty.git", - "clone_url": "/acme/empty.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 45, - "language": "Text", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 20, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prot", - "full_name": "acme/prot", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/prot/languages", - "html_url": "/acme/prot", - "url": "/api/v1/repos/acme/prot", - "link": "", - "ssh_url": "ssh:///acme/prot.git", - "clone_url": "/acme/prot.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "smart", - "full_name": "acme/smart", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "Text", - "languages_url": "/api/v1/repos/acme/smart/languages", - "html_url": "/acme/smart", - "url": "/api/v1/repos/acme/smart", - "link": "", - "ssh_url": "ssh:///acme/smart.git", - "clone_url": "/acme/smart.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 9, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "Text", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "scoped", - "full_name": "alice/scoped", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/alice/scoped/languages", - "html_url": "/alice/scoped", - "url": "/api/v1/repos/alice/scoped", - "link": "", - "ssh_url": "ssh:///alice/scoped.git", - "clone_url": "/alice/scoped.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "admin@example.invalid", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "name": "probe", - "full_name": "/probe", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos//probe/languages", - "html_url": "//probe", - "url": "/api/v1/repos//probe", - "link": "", - "ssh_url": "ssh:////probe.git", - "clone_url": "//probe.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=vis&limit=50", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": { - "ok": true, - "data": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user/repos?limit=50", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "HasOrgOrUserVisible", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme/repos", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "11" - }, - "body": [] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme/repos?limit=50", - "auth": "carol", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "11" - }, - "body": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "alpha", - "full_name": "acme/alpha", - "description": "Alpha repo", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/alpha/languages", - "html_url": "/acme/alpha", - "url": "/api/v1/repos/acme/alpha", - "link": "", - "ssh_url": "ssh:///acme/alpha.git", - "clone_url": "/acme/alpha.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "blank", - "full_name": "acme/blank", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/blank/languages", - "html_url": "/acme/blank", - "url": "/api/v1/repos/acme/blank", - "link": "", - "ssh_url": "ssh:///acme/blank.git", - "clone_url": "/acme/blank.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "hist", - "full_name": "acme/hist", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "Rust", - "languages_url": "/api/v1/repos/acme/hist/languages", - "html_url": "/acme/hist", - "url": "/api/v1/repos/acme/hist", - "link": "", - "ssh_url": "ssh:///acme/hist.git", - "clone_url": "/acme/hist.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prs", - "full_name": "acme/prs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/prs/languages", - "html_url": "/acme/prs", - "url": "/api/v1/repos/acme/prs", - "link": "", - "ssh_url": "ssh:///acme/prs.git", - "clone_url": "/acme/prs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "merges", - "full_name": "acme/merges", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 45, - "language": "Text", - "languages_url": "/api/v1/repos/acme/merges/languages", - "html_url": "/acme/merges", - "url": "/api/v1/repos/acme/merges", - "link": "", - "ssh_url": "ssh:///acme/merges.git", - "clone_url": "/acme/merges.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 20, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "status", - "full_name": "acme/status", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "Text", - "languages_url": "/api/v1/repos/acme/status/languages", - "html_url": "/acme/status", - "url": "/api/v1/repos/acme/status", - "link": "", - "ssh_url": "ssh:///acme/status.git", - "clone_url": "/acme/status.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "prot", - "full_name": "acme/prot", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/prot/languages", - "html_url": "/acme/prot", - "url": "/api/v1/repos/acme/prot", - "link": "", - "ssh_url": "ssh:///acme/prot.git", - "clone_url": "/acme/prot.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "smart", - "full_name": "acme/smart", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "Text", - "languages_url": "/api/v1/repos/acme/smart/languages", - "html_url": "/acme/smart", - "url": "/api/v1/repos/acme/smart", - "link": "", - "ssh_url": "ssh:///acme/smart.git", - "clone_url": "/acme/smart.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 9, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "vis", - "full_name": "acme/vis", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/vis/languages", - "html_url": "/acme/vis", - "url": "/api/v1/repos/acme/vis", - "link": "", - "ssh_url": "ssh:///acme/vis.git", - "clone_url": "/acme/vis.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/acme/repos?limit=50", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - } - ] -} +{"scenario":"K","title":"visibility-probing","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Failed to authenticate user\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Failed to authenticate user\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"bad","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Failed to authenticate user\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"bad-tokbasic","status":401,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Failed to authenticate user\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/swagger","errors":null,"message":"not found"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"dave-tokbasic","status":403,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Push to create is not enabled for organizations.","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/contents","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":7,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/vis/contents/README.md?ref=main","html_url":"/acme/vis/src/branch/main/README.md","git_url":"/api/v1/repos/acme/vis/git/blobs/","download_url":"/acme/vis/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/vis/contents/README.md?ref=main","git":"/api/v1/repos/acme/vis/git/blobs/","html":"/acme/vis/src/branch/main/README.md"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/vis/branches","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"main","commit":{"id":"","message":"Initial commit\n","url":"/acme/vis/commit/","author":{"name":"","email":"admin@example.invalid","username":""},"committer":{"name":"","email":"admin@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":false,"user_can_merge":false,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-upload-pack","auth":"carol-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n0000","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis.git/info/refs?service=git-receive-pack","auth":"carol-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000c4 refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n0000","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/contents","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/ghost/branches","auth":"carol","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-upload-pack","auth":"carol-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/ghost.git/info/refs?service=git-receive-pack","auth":"carol-tokbasic","status":403,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Push to create is not enabled for organizations.","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/vis","auth":"none","status":303,"headers":{"content-type":"text/html;charset=utf-8","location":"/user/login?redirect_to=%2Facme%2Fvis"},"body_text":"See Other.\n\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-vis-none","cmd":"git ls-remote /acme/vis.git","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"http","method":"GET","path":"/acme/ghost","auth":"none","status":303,"headers":{"content-type":"text/html;charset=utf-8","location":"/user/login?redirect_to=%2Facme%2Fghost"},"body_text":"See Other.\n\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-ghost-none","cmd":"git ls-remote /acme/ghost.git","ok":false,"output":"fatal: could not read Username for '': terminal prompts disabled","refusal":["fatal: could not read username for '': terminal prompts disabled"]}, +{"kind":"http","method":"GET","path":"/acme/vis","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Not found.\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-vis-dave","cmd":"git ls-remote http://@/acme/vis.git","ok":false,"output":"remote: Repository not found\nfatal: repository '/acme/vis.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/vis.git/' not found"]}, +{"kind":"http","method":"GET","path":"/acme/ghost","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Not found.\n","volatile":["$text"],"tags":["web"]}, +{"kind":"git","name":"ls-remote-ghost-dave","cmd":"git ls-remote http://@/acme/ghost.git","ok":false,"output":"remote: Repository not found\nfatal: repository '/acme/ghost.git/' not found","refusal":["remote: repository not found","fatal: repository '/acme/ghost.git/' not found"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":{"ok":true,"data":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"9"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":45,"language":"Text","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":20,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prot","full_name":"acme/prot","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/prot/languages","html_url":"/acme/prot","url":"/api/v1/repos/acme/prot","link":"","ssh_url":"ssh:///acme/prot.git","clone_url":"/acme/prot.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"smart","full_name":"acme/smart","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"Text","languages_url":"/api/v1/repos/acme/smart/languages","html_url":"/acme/smart","url":"/api/v1/repos/acme/smart","link":"","ssh_url":"ssh:///acme/smart.git","clone_url":"/acme/smart.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":9,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"Text","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"13"},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"doomed","full_name":"acme/doomed","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/doomed/languages","html_url":"/acme/doomed","url":"/api/v1/repos/acme/doomed","link":"","ssh_url":"ssh:///acme/doomed.git","clone_url":"/acme/doomed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"empty","full_name":"acme/empty","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/empty/languages","html_url":"/acme/empty","url":"/api/v1/repos/acme/empty","link":"","ssh_url":"ssh:///acme/empty.git","clone_url":"/acme/empty.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":45,"language":"Text","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":20,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prot","full_name":"acme/prot","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/prot/languages","html_url":"/acme/prot","url":"/api/v1/repos/acme/prot","link":"","ssh_url":"ssh:///acme/prot.git","clone_url":"/acme/prot.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"smart","full_name":"acme/smart","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"Text","languages_url":"/api/v1/repos/acme/smart/languages","html_url":"/acme/smart","url":"/api/v1/repos/acme/smart","link":"","ssh_url":"ssh:///acme/smart.git","clone_url":"/acme/smart.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":9,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"Text","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"scoped","full_name":"alice/scoped","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/alice/scoped/languages","html_url":"/alice/scoped","url":"/api/v1/repos/alice/scoped","link":"","ssh_url":"ssh:///alice/scoped.git","clone_url":"/alice/scoped.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"admin@example.invalid","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"name":"probe","full_name":"/probe","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos//probe/languages","html_url":"//probe","url":"/api/v1/repos//probe","link":"","ssh_url":"ssh:////probe.git","clone_url":"//probe.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=vis&limit=50","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":{"ok":true,"data":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/user/repos?limit=50","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"HasOrgOrUserVisible","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme/repos","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"11"},"body":[]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme/repos?limit=50","auth":"carol","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"11"},"body":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"alpha","full_name":"acme/alpha","description":"Alpha repo","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/alpha/languages","html_url":"/acme/alpha","url":"/api/v1/repos/acme/alpha","link":"","ssh_url":"ssh:///acme/alpha.git","clone_url":"/acme/alpha.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"blank","full_name":"acme/blank","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/blank/languages","html_url":"/acme/blank","url":"/api/v1/repos/acme/blank","link":"","ssh_url":"ssh:///acme/blank.git","clone_url":"/acme/blank.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"hist","full_name":"acme/hist","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"Rust","languages_url":"/api/v1/repos/acme/hist/languages","html_url":"/acme/hist","url":"/api/v1/repos/acme/hist","link":"","ssh_url":"ssh:///acme/hist.git","clone_url":"/acme/hist.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prs","full_name":"acme/prs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/prs/languages","html_url":"/acme/prs","url":"/api/v1/repos/acme/prs","link":"","ssh_url":"ssh:///acme/prs.git","clone_url":"/acme/prs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"merges","full_name":"acme/merges","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":45,"language":"Text","languages_url":"/api/v1/repos/acme/merges/languages","html_url":"/acme/merges","url":"/api/v1/repos/acme/merges","link":"","ssh_url":"ssh:///acme/merges.git","clone_url":"/acme/merges.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":20,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"status","full_name":"acme/status","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"Text","languages_url":"/api/v1/repos/acme/status/languages","html_url":"/acme/status","url":"/api/v1/repos/acme/status","link":"","ssh_url":"ssh:///acme/status.git","clone_url":"/acme/status.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"prot","full_name":"acme/prot","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/prot/languages","html_url":"/acme/prot","url":"/api/v1/repos/acme/prot","link":"","ssh_url":"ssh:///acme/prot.git","clone_url":"/acme/prot.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"smart","full_name":"acme/smart","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"Text","languages_url":"/api/v1/repos/acme/smart/languages","html_url":"/acme/smart","url":"/api/v1/repos/acme/smart","link":"","ssh_url":"ssh:///acme/smart.git","clone_url":"/acme/smart.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":9,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"vis","full_name":"acme/vis","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/vis/languages","html_url":"/acme/vis","url":"/api/v1/repos/acme/vis","link":"","ssh_url":"ssh:///acme/vis.git","clone_url":"/acme/vis.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":false,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/acme/repos?limit=50","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/L-force-private.json b/crates/forge/conformance/fixtures/1.26.2/L-force-private.json index ca50bf14..50d36a5f 100644 --- a/crates/forge/conformance/fixtures/1.26.2/L-force-private.json +++ b/crates/forge/conformance/fixtures/1.26.2/L-force-private.json @@ -1,1189 +1,17 @@ -{ - "scenario": "L", - "title": "force-private", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "pub1", - "private": false, - "auto_init": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "request": { - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": false, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": true, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": false, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": true, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "request": { - "private": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pub1", - "auth": "admin", - "status": 200, - "request": { - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pub1", - "full_name": "acme/pub1", - "description": "", - "empty": false, - "private": false, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/pub1/languages", - "html_url": "/acme/pub1", - "url": "/api/v1/repos/acme/pub1", - "link": "", - "ssh_url": "ssh:///acme/pub1.git", - "clone_url": "/acme/pub1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": true, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "nodef", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "nodef", - "full_name": "acme/nodef", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/nodef/languages", - "html_url": "/acme/nodef", - "url": "/api/v1/repos/acme/nodef", - "link": "", - "ssh_url": "ssh:///acme/nodef.git", - "clone_url": "/acme/nodef.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "alice", - "status": 201, - "request": { - "name": "pub2", - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "pub2", - "full_name": "alice/pub2", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/alice/pub2/languages", - "html_url": "/alice/pub2", - "url": "/api/v1/repos/alice/pub2", - "link": "", - "ssh_url": "ssh:///alice/pub2.git", - "clone_url": "/alice/pub2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/pub2", - "auth": "none", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Only signed in user is allowed to call APIs." - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/pub2", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "url": "/api/swagger", - "errors": null, - "message": "not found" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/user/repos", - "auth": "alice", - "status": 201, - "request": { - "name": "nodef2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "alice", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "alice@example.invalid", - "avatar_url": "/avatars/43fcab1f4245d31e85b194dc2836a67d", - "html_url": "/alice", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "alice" - }, - "name": "nodef2", - "full_name": "alice/nodef2", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/alice/nodef2/languages", - "html_url": "/alice/nodef2", - "url": "/api/v1/repos/alice/nodef2", - "link": "", - "ssh_url": "ssh:///alice/nodef2.git", - "clone_url": "/alice/nodef2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 201, - "request": { - "username": "pubco", - "visibility": "public" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "pubco", - "full_name": "", - "email": "", - "avatar_url": "/avatars/e91cac257d9e29ee204956121e39ba8d", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "pubco" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/pubco", - "auth": "dave", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "pubco", - "full_name": "", - "email": "", - "avatar_url": "/avatars/e91cac257d9e29ee204956121e39ba8d", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "pubco" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/pubco/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "pubrepo", - "private": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "pubco", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "", - "avatar_url": "/avatars/e91cac257d9e29ee204956121e39ba8d", - "html_url": "/pubco", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "pubco" - }, - "name": "pubrepo", - "full_name": "pubco/pubrepo", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/pubco/pubrepo/languages", - "html_url": "/pubco/pubrepo", - "url": "/api/v1/repos/pubco/pubrepo", - "link": "", - "ssh_url": "ssh:///pubco/pubrepo.git", - "clone_url": "/pubco/pubrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/pubco/pubrepo", - "auth": "dave", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - } - ] -} +{"scenario":"L","title":"force-private","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"pub1","private":false,"auto_init":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"request":{"private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":false,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":true,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":false,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":true,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"request":{"private":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pub1","auth":"admin","status":200,"request":{"private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pub1","full_name":"acme/pub1","description":"","empty":false,"private":false,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/pub1/languages","html_url":"/acme/pub1","url":"/api/v1/repos/acme/pub1","link":"","ssh_url":"ssh:///acme/pub1.git","clone_url":"/acme/pub1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":true,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"nodef","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"nodef","full_name":"acme/nodef","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/nodef/languages","html_url":"/acme/nodef","url":"/api/v1/repos/acme/nodef","link":"","ssh_url":"ssh:///acme/nodef.git","clone_url":"/acme/nodef.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"alice","status":201,"request":{"name":"pub2","private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"pub2","full_name":"alice/pub2","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/alice/pub2/languages","html_url":"/alice/pub2","url":"/api/v1/repos/alice/pub2","link":"","ssh_url":"ssh:///alice/pub2.git","clone_url":"/alice/pub2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/pub2","auth":"none","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Only signed in user is allowed to call APIs."}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/pub2","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"url":"/api/swagger","errors":null,"message":"not found"}}, +{"kind":"http","method":"POST","path":"/api/v1/user/repos","auth":"alice","status":201,"request":{"name":"nodef2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"alice","login_name":"","source_id":"","full_name":"","email":"alice@example.invalid","avatar_url":"/avatars/43fcab1f4245d31e85b194dc2836a67d","html_url":"/alice","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"alice"},"name":"nodef2","full_name":"alice/nodef2","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/alice/nodef2/languages","html_url":"/alice/nodef2","url":"/api/v1/repos/alice/nodef2","link":"","ssh_url":"ssh:///alice/nodef2.git","clone_url":"/alice/nodef2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":201,"request":{"username":"pubco","visibility":"public"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"pubco","full_name":"","email":"","avatar_url":"/avatars/e91cac257d9e29ee204956121e39ba8d","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"pubco"}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/pubco","auth":"dave","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"pubco","full_name":"","email":"","avatar_url":"/avatars/e91cac257d9e29ee204956121e39ba8d","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"pubco"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/pubco/repos","auth":"admin","status":201,"request":{"name":"pubrepo","private":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"pubco","login_name":"","source_id":"","full_name":"","email":"","avatar_url":"/avatars/e91cac257d9e29ee204956121e39ba8d","html_url":"/pubco","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"pubco"},"name":"pubrepo","full_name":"pubco/pubrepo","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/pubco/pubrepo/languages","html_url":"/pubco/pubrepo","url":"/api/v1/repos/pubco/pubrepo","link":"","ssh_url":"ssh:///pubco/pubrepo.git","clone_url":"/pubco/pubrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/pubco/pubrepo","auth":"dave","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/M-names.json b/crates/forge/conformance/fixtures/1.26.2/M-names.json index 0589cc57..c570dc46 100644 --- a/crates/forge/conformance/fixtures/1.26.2/M-names.json +++ b/crates/forge/conformance/fixtures/1.26.2/M-names.json @@ -1,2400 +1,54 @@ -{ - "scenario": "M", - "title": "names", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "Mixed", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 409, - "request": { - "name": "mixed", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The repository with the same name already exists.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 409, - "request": { - "name": "MIXED", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The repository with the same name already exists.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/mixed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/Mixed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/ACME/mixed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Mixed", - "full_name": "acme/Mixed", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/Mixed/languages", - "html_url": "/acme/Mixed", - "url": "/api/v1/repos/acme/Mixed", - "link": "", - "ssh_url": "ssh:///acme/Mixed.git", - "clone_url": "/acme/Mixed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": ".", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: .]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 500, - "request": { - "name": "..", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is invalid [..]: must be valid alpha or numeric or dash(-_) or dot characters", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": ".hidden", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": ".hidden", - "full_name": "acme/.hidden", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/.hidden/languages", - "html_url": "/acme/.hidden", - "url": "/api/v1/repos/acme/.hidden", - "link": "", - "ssh_url": "ssh:///acme/.hidden.git", - "clone_url": "/acme/.hidden.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "-dash", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "-dash", - "full_name": "acme/-dash", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/-dash/languages", - "html_url": "/acme/-dash", - "url": "/api/v1/repos/acme/-dash", - "link": "", - "ssh_url": "ssh:///acme/-dash.git", - "clone_url": "/acme/-dash.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "trail.git", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.git]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "wiki.wiki", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.wiki]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "feed.rss", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.rss]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "feed.atom", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name pattern is not allowed [pattern: *.atom]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "a b", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: AlphaDashDot", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 500, - "request": { - "name": "a..b", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is invalid [a..b]: must be valid alpha or numeric or dash(-_) or dot characters", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "api", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "api", - "full_name": "acme/api", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/api/languages", - "html_url": "/acme/api", - "url": "/api/v1/repos/acme/api", - "link": "", - "ssh_url": "ssh:///acme/api.git", - "clone_url": "/acme/api.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "admin", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "admin", - "full_name": "acme/admin", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/admin/languages", - "html_url": "/acme/admin", - "url": "/api/v1/repos/acme/admin", - "link": "", - "ssh_url": "ssh:///acme/admin.git", - "clone_url": "/acme/admin.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "user", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "user", - "full_name": "acme/user", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/user/languages", - "html_url": "/acme/user", - "url": "/api/v1/repos/acme/user", - "link": "", - "ssh_url": "ssh:///acme/user.git", - "clone_url": "/acme/user.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "assets", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "assets", - "full_name": "acme/assets", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/assets/languages", - "html_url": "/acme/assets", - "url": "/api/v1/repos/acme/assets", - "link": "", - "ssh_url": "ssh:///acme/assets.git", - "clone_url": "/acme/assets.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: MaxSize", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "ok_name-1.x", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "ok_name-1.x", - "full_name": "acme/ok_name-1.x", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/ok_name-1.x/languages", - "html_url": "/acme/ok_name-1.x", - "url": "/api/v1/repos/acme/ok_name-1.x", - "link": "", - "ssh_url": "ssh:///acme/ok_name-1.x.git", - "clone_url": "/acme/ok_name-1.x.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 422, - "request": { - "name": "\u00fcn\u00ef", - "auto_init": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: AlphaDashDot", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "Acme" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: Acme]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "api" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: api]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 201, - "request": { - "username": "admin" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "admin", - "full_name": "", - "email": "", - "avatar_url": "/avatars/21232f297a57a5a743894a0e4a801fc3", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "admin" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "user" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "assets" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: assets]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "explore" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: explore]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": ".dot" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "-dash" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "has space" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 201, - "request": { - "username": "org.git" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "org.git", - "full_name": "", - "email": "", - "avatar_url": "/avatars/db2a58818a04fc2a8bf33359a138ef56", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "org.git" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "admin", - "status": 422, - "request": { - "username": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[UserName]: MaxSize", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "Alice", - "email": "Alice@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user already exists [name: Alice]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "api", - "email": "api@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: api]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "user", - "email": "user@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "name is reserved [name: user]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "-lead", - "email": "-lead@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Username]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": ".lead", - "email": ".lead@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Username]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 201, - "request": { - "username": "trail.git", - "email": "trail.git@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "trail.git", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "trail.git@example.invalid", - "avatar_url": "/avatars/3ce0652da723aaa0dc714e724efb8034", - "html_url": "/trail.git", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "trail.git" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/admin/users", - "auth": "admin", - "status": 422, - "request": { - "username": "bad name", - "email": "badname@example.invalid", - "password": "", - "must_change_password": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Username]: invalid username", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/acme/repos", - "auth": "admin", - "status": 201, - "request": { - "name": "rename-me", - "auto_init": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "rename-me", - "full_name": "acme/rename-me", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/rename-me/languages", - "html_url": "/acme/rename-me", - "url": "/api/v1/repos/acme/rename-me", - "link": "", - "ssh_url": "ssh:///acme/rename-me.git", - "clone_url": "/acme/rename-me.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/rename-me", - "auth": "admin", - "status": 200, - "request": { - "name": "renamed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "renamed", - "full_name": "acme/renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/renamed/languages", - "html_url": "/acme/renamed", - "url": "/api/v1/repos/acme/renamed", - "link": "", - "ssh_url": "ssh:///acme/renamed.git", - "clone_url": "/acme/renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/rename-me", - "auth": "admin", - "status": 301, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/api/v1/repos/acme/renamed" - }, - "body_text": "Moved Permanently.\n\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/renamed", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "renamed", - "full_name": "acme/renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/renamed/languages", - "html_url": "/acme/renamed", - "url": "/api/v1/repos/acme/renamed", - "link": "", - "ssh_url": "ssh:///acme/renamed.git", - "clone_url": "/acme/renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/rename-me", - "auth": "dave", - "status": 301, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/api/v1/repos/acme/renamed" - }, - "body_text": "Moved Permanently.\n\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/rename-me.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 301, - "headers": { - "content-type": "text/html;charset=utf-8", - "location": "/acme/renamed/info/refs?service=git-upload-pack" - }, - "body_text": "Moved Permanently.\n\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "git", - "name": "ls-remote-old-name", - "cmd": "git ls-remote http://@/acme/rename-me.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/main\nwarning: redirecting to /acme/renamed/" - }, - { - "kind": "git", - "name": "ls-remote-new-name", - "cmd": "git ls-remote http://@/acme/renamed.git", - "ok": true, - "output": "\tHEAD\n\trefs/heads/main" - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/renamed", - "auth": "admin", - "status": 422, - "request": { - "name": "mixed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "repository already exists [uname: acme, name: mixed]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/renamed", - "auth": "admin", - "status": 200, - "request": { - "name": "Renamed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "Renamed", - "full_name": "acme/Renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/Renamed/languages", - "html_url": "/acme/Renamed", - "url": "/api/v1/repos/acme/Renamed", - "link": "", - "ssh_url": "ssh:///acme/Renamed.git", - "clone_url": "/acme/Renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/Renamed", - "auth": "admin", - "status": 200, - "request": { - "name": "renamed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "renamed", - "full_name": "acme/renamed", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/renamed/languages", - "html_url": "/acme/renamed", - "url": "/api/v1/repos/acme/renamed", - "link": "", - "ssh_url": "ssh:///acme/renamed.git", - "clone_url": "/acme/renamed.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - } - ] -} +{"scenario":"M","title":"names","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"Mixed","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":409,"request":{"name":"mixed","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The repository with the same name already exists.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":409,"request":{"name":"MIXED","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The repository with the same name already exists.","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/mixed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/Mixed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/ACME/mixed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Mixed","full_name":"acme/Mixed","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/Mixed/languages","html_url":"/acme/Mixed","url":"/api/v1/repos/acme/Mixed","link":"","ssh_url":"ssh:///acme/Mixed.git","clone_url":"/acme/Mixed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":".","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: .]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":500,"request":{"name":"..","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is invalid [..]: must be valid alpha or numeric or dash(-_) or dot characters","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":".hidden","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":".hidden","full_name":"acme/.hidden","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/.hidden/languages","html_url":"/acme/.hidden","url":"/api/v1/repos/acme/.hidden","link":"","ssh_url":"ssh:///acme/.hidden.git","clone_url":"/acme/.hidden.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"-dash","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"-dash","full_name":"acme/-dash","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/-dash/languages","html_url":"/acme/-dash","url":"/api/v1/repos/acme/-dash","link":"","ssh_url":"ssh:///acme/-dash.git","clone_url":"/acme/-dash.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"trail.git","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.git]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"wiki.wiki","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.wiki]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"feed.rss","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.rss]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"feed.atom","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name pattern is not allowed [pattern: *.atom]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"a b","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: AlphaDashDot","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":500,"request":{"name":"a..b","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is invalid [a..b]: must be valid alpha or numeric or dash(-_) or dot characters","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"api","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"api","full_name":"acme/api","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/api/languages","html_url":"/acme/api","url":"/api/v1/repos/acme/api","link":"","ssh_url":"ssh:///acme/api.git","clone_url":"/acme/api.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"admin","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"admin","full_name":"acme/admin","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/admin/languages","html_url":"/acme/admin","url":"/api/v1/repos/acme/admin","link":"","ssh_url":"ssh:///acme/admin.git","clone_url":"/acme/admin.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"user","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"user","full_name":"acme/user","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/user/languages","html_url":"/acme/user","url":"/api/v1/repos/acme/user","link":"","ssh_url":"ssh:///acme/user.git","clone_url":"/acme/user.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"assets","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"assets","full_name":"acme/assets","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/assets/languages","html_url":"/acme/assets","url":"/api/v1/repos/acme/assets","link":"","ssh_url":"ssh:///acme/assets.git","clone_url":"/acme/assets.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: MaxSize","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"ok_name-1.x","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"ok_name-1.x","full_name":"acme/ok_name-1.x","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/ok_name-1.x/languages","html_url":"/acme/ok_name-1.x","url":"/api/v1/repos/acme/ok_name-1.x","link":"","ssh_url":"ssh:///acme/ok_name-1.x.git","clone_url":"/acme/ok_name-1.x.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":422,"request":{"name":"\u00fcn\u00ef","auto_init":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: AlphaDashDot","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"Acme"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: Acme]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"api"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: api]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":201,"request":{"username":"admin"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"admin","full_name":"","email":"","avatar_url":"/avatars/21232f297a57a5a743894a0e4a801fc3","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"admin"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"user"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: user]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"assets"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: assets]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"explore"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: explore]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":".dot"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"-dash"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"has space"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":201,"request":{"username":"org.git"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"org.git","full_name":"","email":"","avatar_url":"/avatars/db2a58818a04fc2a8bf33359a138ef56","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"org.git"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"admin","status":422,"request":{"username":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[UserName]: MaxSize","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"Alice","email":"Alice@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user already exists [name: Alice]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"api","email":"api@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: api]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"user","email":"user@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"name is reserved [name: user]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"-lead","email":"-lead@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Username]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":".lead","email":".lead@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Username]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":201,"request":{"username":"trail.git","email":"trail.git@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"trail.git","login_name":"","source_id":"","full_name":"","email":"trail.git@example.invalid","avatar_url":"/avatars/3ce0652da723aaa0dc714e724efb8034","html_url":"/trail.git","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"trail.git"}}, +{"kind":"http","method":"POST","path":"/api/v1/admin/users","auth":"admin","status":422,"request":{"username":"bad name","email":"badname@example.invalid","password":"","must_change_password":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Username]: invalid username","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/acme/repos","auth":"admin","status":201,"request":{"name":"rename-me","auto_init":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"rename-me","full_name":"acme/rename-me","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/rename-me/languages","html_url":"/acme/rename-me","url":"/api/v1/repos/acme/rename-me","link":"","ssh_url":"ssh:///acme/rename-me.git","clone_url":"/acme/rename-me.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/rename-me","auth":"admin","status":200,"request":{"name":"renamed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"renamed","full_name":"acme/renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/renamed/languages","html_url":"/acme/renamed","url":"/api/v1/repos/acme/renamed","link":"","ssh_url":"ssh:///acme/renamed.git","clone_url":"/acme/renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/rename-me","auth":"admin","status":301,"headers":{"content-type":"text/html;charset=utf-8","location":"/api/v1/repos/acme/renamed"},"body_text":"Moved Permanently.\n\n"}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/renamed","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"renamed","full_name":"acme/renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/renamed/languages","html_url":"/acme/renamed","url":"/api/v1/repos/acme/renamed","link":"","ssh_url":"ssh:///acme/renamed.git","clone_url":"/acme/renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/rename-me","auth":"dave","status":301,"headers":{"content-type":"text/html;charset=utf-8","location":"/api/v1/repos/acme/renamed"},"body_text":"Moved Permanently.\n\n"}, +{"kind":"http","method":"GET","path":"/acme/rename-me.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":301,"headers":{"content-type":"text/html;charset=utf-8","location":"/acme/renamed/info/refs?service=git-upload-pack"},"body_text":"Moved Permanently.\n\n","volatile":["$text"]}, +{"kind":"git","name":"ls-remote-old-name","cmd":"git ls-remote http://@/acme/rename-me.git","ok":true,"output":"\tHEAD\n\trefs/heads/main\nwarning: redirecting to /acme/renamed/"}, +{"kind":"git","name":"ls-remote-new-name","cmd":"git ls-remote http://@/acme/renamed.git","ok":true,"output":"\tHEAD\n\trefs/heads/main"}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/renamed","auth":"admin","status":422,"request":{"name":"mixed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"repository already exists [uname: acme, name: mixed]","url":"/api/swagger"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/renamed","auth":"admin","status":200,"request":{"name":"Renamed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"Renamed","full_name":"acme/Renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/Renamed/languages","html_url":"/acme/Renamed","url":"/api/v1/repos/acme/Renamed","link":"","ssh_url":"ssh:///acme/Renamed.git","clone_url":"/acme/Renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/Renamed","auth":"admin","status":200,"request":{"name":"renamed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"renamed","full_name":"acme/renamed","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/renamed/languages","html_url":"/acme/renamed","url":"/api/v1/repos/acme/renamed","link":"","ssh_url":"ssh:///acme/renamed.git","clone_url":"/acme/renamed.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/N-default-branch.json b/crates/forge/conformance/fixtures/1.26.2/N-default-branch.json index 77f38d59..1152ab83 100644 --- a/crates/forge/conformance/fixtures/1.26.2/N-default-branch.json +++ b/crates/forge/conformance/fixtures/1.26.2/N-default-branch.json @@ -1,1396 +1,32 @@ -{ - "scenario": "N", - "title": "default-branch", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "request": { - "default_branch": "nope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "request": { - "default_branch": "dev" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "dev", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "dev", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "git", - "name": "ls-remote-symref-after-change", - "cmd": "git ls-remote --symref http://@/acme/dflt.git HEAD", - "ok": true, - "output": "ref: refs/heads/dev\tHEAD\n\tHEAD" - }, - { - "kind": "note", - "key": "ls-remote-symref-after-change_stdout", - "value": "ref: refs/heads/dev\tHEAD\n\tHEAD", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/dflt/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "2" - }, - "body": [ - { - "name": "dev", - "commit": { - "id": "", - "message": "commit on dev\n", - "url": "/acme/dflt/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "main", - "commit": { - "id": "", - "message": "Initial commit\n", - "url": "/acme/dflt/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/dflt/contents", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 8, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/dflt/contents/README.md?ref=dev", - "html_url": "/acme/dflt/src/branch/dev/README.md", - "git_url": "/api/v1/repos/acme/dflt/git/blobs/", - "download_url": "/acme/dflt/raw/branch/dev/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/dflt/contents/README.md?ref=dev", - "git": "/api/v1/repos/acme/dflt/git/blobs/", - "html": "/acme/dflt/src/branch/dev/README.md" - } - }, - { - "name": "dev.txt", - "path": "dev.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": null, - "content": null, - "target": null, - "url": "/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev", - "html_url": "/acme/dflt/src/branch/dev/dev.txt", - "git_url": "/api/v1/repos/acme/dflt/git/blobs/", - "download_url": "/acme/dflt/raw/branch/dev/dev.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev", - "git": "/api/v1/repos/acme/dflt/git/blobs/", - "html": "/acme/dflt/src/branch/dev/dev.txt" - } - } - ] - }, - { - "kind": "git", - "name": "clone-after-change", - "cmd": "git clone -q http://@/acme/dflt.git /ndflt", - "ok": true, - "output": "" - }, - { - "kind": "note", - "key": "clone_checked_out_branch", - "value": "dev", - "strict": true - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/dflt", - "auth": "admin", - "status": 200, - "request": { - "default_branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "dflt", - "full_name": "acme/dflt", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/dflt/languages", - "html_url": "/acme/dflt", - "url": "/api/v1/repos/acme/dflt", - "link": "", - "ssh_url": "ssh:///acme/dflt.git", - "clone_url": "/acme/dflt.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/dflt/branches/dev", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh1", - "full_name": "acme/fresh1", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/fresh1/languages", - "html_url": "/acme/fresh1", - "url": "/api/v1/repos/acme/fresh1", - "link": "", - "ssh_url": "ssh:///acme/fresh1.git", - "clone_url": "/acme/fresh1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "note", - "key": "fresh1_before_push_first_read", - "value": { - "empty": true, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh1", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh1", - "full_name": "acme/fresh1", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh1/languages", - "html_url": "/acme/fresh1", - "url": "/api/v1/repos/acme/fresh1", - "link": "", - "ssh_url": "ssh:///acme/fresh1.git", - "clone_url": "/acme/fresh1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "trunk", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "note", - "key": "fresh1_after_trunk_first_read", - "value": { - "empty": true, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "git", - "name": "ls-remote-symref-trunk-first", - "cmd": "git ls-remote --symref http://@/acme/fresh1.git HEAD", - "ok": true, - "output": "ref: refs/heads/trunk\tHEAD\n\tHEAD" - }, - { - "kind": "note", - "key": "ls-remote-symref-trunk-first_stdout", - "value": "ref: refs/heads/trunk\tHEAD\n\tHEAD", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh1/branches", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "trunk", - "commit": { - "id": "", - "message": "commit on trunk\n", - "url": "/acme/fresh1/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh2", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh2", - "full_name": "acme/fresh2", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh2/languages", - "html_url": "/acme/fresh2", - "url": "/api/v1/repos/acme/fresh2", - "link": "", - "ssh_url": "ssh:///acme/fresh2.git", - "clone_url": "/acme/fresh2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "note", - "key": "fresh2_after_main_first_read", - "value": { - "empty": true, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh3", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh3", - "full_name": "acme/fresh3", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/fresh3/languages", - "html_url": "/acme/fresh3", - "url": "/api/v1/repos/acme/fresh3", - "link": "", - "ssh_url": "ssh:///acme/fresh3.git", - "clone_url": "/acme/fresh3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "develop", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "note", - "key": "fresh3_before_push_first_read", - "value": { - "empty": true, - "default_branch": "develop" - }, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh3", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh3", - "full_name": "acme/fresh3", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh3/languages", - "html_url": "/acme/fresh3", - "url": "/api/v1/repos/acme/fresh3", - "link": "", - "ssh_url": "ssh:///acme/fresh3.git", - "clone_url": "/acme/fresh3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "note", - "key": "fresh3_after_main_first_read", - "value": { - "empty": true, - "default_branch": "develop" - }, - "strict": false - }, - { - "kind": "git", - "name": "ls-remote-symref-main-pushed-first", - "cmd": "git ls-remote --symref http://@/acme/fresh3.git HEAD", - "ok": true, - "output": "" - }, - { - "kind": "note", - "key": "ls-remote-symref-main-pushed-first_stdout", - "value": "", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/fresh3", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "fresh3", - "full_name": "acme/fresh3", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "Text", - "languages_url": "/api/v1/repos/acme/fresh3/languages", - "html_url": "/acme/fresh3", - "url": "/api/v1/repos/acme/fresh3", - "link": "", - "ssh_url": "ssh:///acme/fresh3.git", - "clone_url": "/acme/fresh3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "note", - "key": "fresh3_after_develop_first_read", - "value": { - "empty": false, - "default_branch": "main" - }, - "strict": false - }, - { - "kind": "git", - "name": "ls-remote-symref-develop-pushed-second", - "cmd": "git ls-remote --symref http://@/acme/fresh3.git HEAD", - "ok": true, - "output": "ref: refs/heads/develop\tHEAD\n\tHEAD" - }, - { - "kind": "note", - "key": "ls-remote-symref-develop-pushed-second_stdout", - "value": "ref: refs/heads/develop\tHEAD\n\tHEAD", - "strict": true - } - ] -} +{"scenario":"N","title":"default-branch","error":null,"exchanges":[ +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"request":{"default_branch":"nope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"request":{"default_branch":"dev"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"dev","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"dev","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"git","name":"ls-remote-symref-after-change","cmd":"git ls-remote --symref http://@/acme/dflt.git HEAD","ok":true,"output":"ref: refs/heads/dev\tHEAD\n\tHEAD"}, +{"kind":"note","key":"ls-remote-symref-after-change_stdout","value":"ref: refs/heads/dev\tHEAD\n\tHEAD","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/dflt/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"2"},"body":[{"name":"dev","commit":{"id":"","message":"commit on dev\n","url":"/acme/dflt/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"main","commit":{"id":"","message":"Initial commit\n","url":"/acme/dflt/commit/","author":{"name":"","email":"admin@example.invalid","username":""},"committer":{"name":"","email":"admin@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/dflt/contents","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":8,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/dflt/contents/README.md?ref=dev","html_url":"/acme/dflt/src/branch/dev/README.md","git_url":"/api/v1/repos/acme/dflt/git/blobs/","download_url":"/acme/dflt/raw/branch/dev/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/dflt/contents/README.md?ref=dev","git":"/api/v1/repos/acme/dflt/git/blobs/","html":"/acme/dflt/src/branch/dev/README.md"}},{"name":"dev.txt","path":"dev.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":null,"content":null,"target":null,"url":"/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev","html_url":"/acme/dflt/src/branch/dev/dev.txt","git_url":"/api/v1/repos/acme/dflt/git/blobs/","download_url":"/acme/dflt/raw/branch/dev/dev.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/dflt/contents/dev.txt?ref=dev","git":"/api/v1/repos/acme/dflt/git/blobs/","html":"/acme/dflt/src/branch/dev/dev.txt"}}]}, +{"kind":"git","name":"clone-after-change","cmd":"git clone -q http://@/acme/dflt.git /ndflt","ok":true,"output":""}, +{"kind":"note","key":"clone_checked_out_branch","value":"dev","strict":true}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/dflt","auth":"admin","status":200,"request":{"default_branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"dflt","full_name":"acme/dflt","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/dflt/languages","html_url":"/acme/dflt","url":"/api/v1/repos/acme/dflt","link":"","ssh_url":"ssh:///acme/dflt.git","clone_url":"/acme/dflt.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/dflt/branches/dev","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh1","full_name":"acme/fresh1","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/fresh1/languages","html_url":"/acme/fresh1","url":"/api/v1/repos/acme/fresh1","link":"","ssh_url":"ssh:///acme/fresh1.git","clone_url":"/acme/fresh1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"note","key":"fresh1_before_push_first_read","value":{"empty":true,"default_branch":"main"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh1","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh1","full_name":"acme/fresh1","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"Text","languages_url":"/api/v1/repos/acme/fresh1/languages","html_url":"/acme/fresh1","url":"/api/v1/repos/acme/fresh1","link":"","ssh_url":"ssh:///acme/fresh1.git","clone_url":"/acme/fresh1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"trunk","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"note","key":"fresh1_after_trunk_first_read","value":{"empty":true,"default_branch":"main"},"strict":false}, +{"kind":"git","name":"ls-remote-symref-trunk-first","cmd":"git ls-remote --symref http://@/acme/fresh1.git HEAD","ok":true,"output":"ref: refs/heads/trunk\tHEAD\n\tHEAD"}, +{"kind":"note","key":"ls-remote-symref-trunk-first_stdout","value":"ref: refs/heads/trunk\tHEAD\n\tHEAD","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh1/branches","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"trunk","commit":{"id":"","message":"commit on trunk\n","url":"/acme/fresh1/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh2","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh2","full_name":"acme/fresh2","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/fresh2/languages","html_url":"/acme/fresh2","url":"/api/v1/repos/acme/fresh2","link":"","ssh_url":"ssh:///acme/fresh2.git","clone_url":"/acme/fresh2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"note","key":"fresh2_after_main_first_read","value":{"empty":true,"default_branch":"main"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh3","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh3","full_name":"acme/fresh3","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/fresh3/languages","html_url":"/acme/fresh3","url":"/api/v1/repos/acme/fresh3","link":"","ssh_url":"ssh:///acme/fresh3.git","clone_url":"/acme/fresh3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"develop","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"note","key":"fresh3_before_push_first_read","value":{"empty":true,"default_branch":"develop"},"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh3","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh3","full_name":"acme/fresh3","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"Text","languages_url":"/api/v1/repos/acme/fresh3/languages","html_url":"/acme/fresh3","url":"/api/v1/repos/acme/fresh3","link":"","ssh_url":"ssh:///acme/fresh3.git","clone_url":"/acme/fresh3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"note","key":"fresh3_after_main_first_read","value":{"empty":true,"default_branch":"develop"},"strict":false}, +{"kind":"git","name":"ls-remote-symref-main-pushed-first","cmd":"git ls-remote --symref http://@/acme/fresh3.git HEAD","ok":true,"output":""}, +{"kind":"note","key":"ls-remote-symref-main-pushed-first_stdout","value":"","strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/fresh3","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"fresh3","full_name":"acme/fresh3","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"Text","languages_url":"/api/v1/repos/acme/fresh3/languages","html_url":"/acme/fresh3","url":"/api/v1/repos/acme/fresh3","link":"","ssh_url":"ssh:///acme/fresh3.git","clone_url":"/acme/fresh3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"note","key":"fresh3_after_develop_first_read","value":{"empty":false,"default_branch":"main"},"strict":false}, +{"kind":"git","name":"ls-remote-symref-develop-pushed-second","cmd":"git ls-remote --symref http://@/acme/fresh3.git HEAD","ok":true,"output":"ref: refs/heads/develop\tHEAD\n\tHEAD"}, +{"kind":"note","key":"ls-remote-symref-develop-pushed-second_stdout","value":"ref: refs/heads/develop\tHEAD\n\tHEAD","strict":true} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/O-pr-head-lifecycle.json b/crates/forge/conformance/fixtures/1.26.2/O-pr-head-lifecycle.json index bd079c31..f03473d9 100644 --- a/crates/forge/conformance/fixtures/1.26.2/O-pr-head-lifecycle.json +++ b/crates/forge/conformance/fixtures/1.26.2/O-pr-head-lifecycle.json @@ -1,3599 +1,34 @@ -{ - "scenario": "O", - "title": "pr-head-lifecycle", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "note", - "key": "force_push_head_sha_follows", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "git", - "name": "ls-remote-pull-refs", - "cmd": "git ls-remote http://@/acme/life.git refs/pull/*", - "ok": true, - "output": "\trefs/pull/1/head" - }, - { - "kind": "note", - "key": "ls-remote-pull-refs_stdout", - "value": "\trefs/pull/1/head", - "strict": true - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/life/branches/l2", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l2", - "body": "body l2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/2", - "diff_url": "/acme/life/pulls/2.diff", - "patch_url": "/acme/life/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l2", - "ref": "refs/pull/2/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls?state=open&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "id": "", - "url": "/acme/life/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l1", - "body": "body l1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/life/pulls/1", - "diff_url": "/acme/life/pulls/1.diff", - "patch_url": "/acme/life/pulls/1.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l1", - "ref": "l1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/life/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l2", - "body": "body l2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/2", - "diff_url": "/acme/life/pulls/2.diff", - "patch_url": "/acme/life/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l2", - "ref": "refs/pull/2/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "git", - "name": "ls-remote-pull-refs-after-delete", - "cmd": "git ls-remote http://@/acme/life.git refs/pull/*", - "ok": true, - "output": "\trefs/pull/1/head\n\trefs/pull/2/head" - }, - { - "kind": "note", - "key": "ls-remote-pull-refs-after-delete_stdout", - "value": "\trefs/pull/1/head\n\trefs/pull/2/head", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/life.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003b refs/heads/l1\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "life_advertised_refs_upload_pack", - "value": [ - "HEAD", - "refs/heads/l1", - "refs/heads/main", - "refs/pull/1/head", - "refs/pull/2/head" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/life.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000c2 refs/heads/l1\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "life_advertised_refs_receive_pack", - "value": [ - "refs/heads/l1", - "refs/heads/main", - "refs/pull/1/head", - "refs/pull/2/head" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls//commits", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "url": "/api/v1/repos/acme/life/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/life/commit/", - "commit": { - "url": "/api/v1/repos/acme/life/git/commits/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "date": "" - }, - "message": "add l2\n", - "tree": { - "url": "/api/v1/repos/acme/life/git/trees/", - "sha": "", - "created": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - }, - "author": null, - "committer": null, - "parents": [ - { - "url": "/api/v1/repos/acme/life/git/commits/", - "sha": "", - "created": "" - } - ], - "files": [ - { - "filename": "l2.txt", - "status": "added" - } - ], - "stats": { - "total": 1, - "additions": 1, - "deletions": 0 - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/.diff", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "diff --git a/l2.txt b/l2.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/l2.txt\n@@ -0,0 +1 @@\n+2\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/life/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l3", - "body": "body l3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/life/pulls/3", - "diff_url": "/acme/life/pulls/3.diff", - "patch_url": "/acme/life/pulls/3.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l3", - "ref": "l3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "note", - "key": "merged_pr_head_sha_frozen", - "value": false, - "strict": true - }, - { - "kind": "note", - "key": "merged_pr_head_sha_follows_new_branch", - "value": true, - "strict": true - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l4", - "ref": "l4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/life/branches/l4", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l4", - "ref": "refs/pull/4/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "open" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l4", - "ref": "refs/pull/4/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l4", - "body": "body l4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/life/pulls/4", - "diff_url": "/acme/life/pulls/4.diff", - "patch_url": "/acme/life/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l4", - "ref": "refs/pull/4/head", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "state", - "closed_at" - ] - }, - { - "kind": "note", - "key": "direct_push_marks_pr_merged", - "value": false, - "strict": true - }, - { - "kind": "note", - "key": "direct_push_seconds_to_detect", - "value": 15, - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/life/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR l5", - "body": "body l5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/life/pulls/5", - "diff_url": "/acme/life/pulls/5.diff", - "patch_url": "/acme/life/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "l5", - "ref": "l5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "life", - "full_name": "acme/life", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 27, - "language": "", - "languages_url": "/api/v1/repos/acme/life/languages", - "html_url": "/acme/life", - "url": "/api/v1/repos/acme/life", - "link": "", - "ssh_url": "ssh:///acme/life.git", - "clone_url": "/acme/life.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/life/pulls//merge", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"O","title":"pr-head-lifecycle","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}}, +{"kind":"note","key":"force_push_head_sha_follows","value":true,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"git","name":"ls-remote-pull-refs","cmd":"git ls-remote http://@/acme/life.git refs/pull/*","ok":true,"output":"\trefs/pull/1/head"}, +{"kind":"note","key":"ls-remote-pull-refs_stdout","value":"\trefs/pull/1/head","strict":true}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/life/branches/l2","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l2","body":"body l2","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/2","diff_url":"/acme/life/pulls/2.diff","patch_url":"/acme/life/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l2","ref":"refs/pull/2/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls?state=open&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"id":"","url":"/acme/life/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l1","body":"body l1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/life/pulls/1","diff_url":"/acme/life/pulls/1.diff","patch_url":"/acme/life/pulls/1.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l1","ref":"l1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/life/pulls//merge","auth":"bot-scoped","status":404,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l2","body":"body l2","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/2","diff_url":"/acme/life/pulls/2.diff","patch_url":"/acme/life/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l2","ref":"refs/pull/2/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"git","name":"ls-remote-pull-refs-after-delete","cmd":"git ls-remote http://@/acme/life.git refs/pull/*","ok":true,"output":"\trefs/pull/1/head\n\trefs/pull/2/head"}, +{"kind":"note","key":"ls-remote-pull-refs-after-delete_stdout","value":"\trefs/pull/1/head\n\trefs/pull/2/head","strict":true}, +{"kind":"http","method":"GET","path":"/acme/life.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003b refs/heads/l1\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000","volatile":["$text"]}, +{"kind":"note","key":"life_advertised_refs_upload_pack","value":["HEAD","refs/heads/l1","refs/heads/main","refs/pull/1/head","refs/pull/2/head"],"strict":true}, +{"kind":"http","method":"GET","path":"/acme/life.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000c2 refs/heads/l1\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n003e refs/pull/1/head\n003e refs/pull/2/head\n0000","volatile":["$text"]}, +{"kind":"note","key":"life_advertised_refs_receive_pack","value":["refs/heads/l1","refs/heads/main","refs/pull/1/head","refs/pull/2/head"],"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls//commits","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"url":"/api/v1/repos/acme/life/git/commits/","sha":"","created":"","html_url":"/acme/life/commit/","commit":{"url":"/api/v1/repos/acme/life/git/commits/","author":{"name":"Conf","email":"conf@example.invalid","date":""},"committer":{"name":"Conf","email":"conf@example.invalid","date":""},"message":"add l2\n","tree":{"url":"/api/v1/repos/acme/life/git/trees/","sha":"","created":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}},"author":null,"committer":null,"parents":[{"url":"/api/v1/repos/acme/life/git/commits/","sha":"","created":""}],"files":[{"filename":"l2.txt","status":"added"}],"stats":{"total":1,"additions":1,"deletions":0}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/.diff","auth":"bot-scoped","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"diff --git a/l2.txt b/l2.txt\nnew file mode 100644\nindex ..\n--- /dev/null\n+++ b/l2.txt\n@@ -0,0 +1 @@\n+2\n"}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/life/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l3","body":"body l3","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/life/pulls/3","diff_url":"/acme/life/pulls/3.diff","patch_url":"/acme/life/pulls/3.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l3","ref":"l3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"note","key":"merged_pr_head_sha_frozen","value":false,"strict":true}, +{"kind":"note","key":"merged_pr_head_sha_follows_new_branch","value":true,"strict":true}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l4","ref":"l4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/life/branches/l4","auth":"admin","status":204,"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l4","ref":"refs/pull/4/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":201,"request":{"state":"open"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l4","ref":"refs/pull/4/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l4","body":"body l4","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/life/pulls/4","diff_url":"/acme/life/pulls/4.diff","patch_url":"/acme/life/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l4","ref":"refs/pull/4/head","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["state","closed_at"]}, +{"kind":"note","key":"direct_push_marks_pr_merged","value":false,"strict":true}, +{"kind":"note","key":"direct_push_seconds_to_detect","value":15,"strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/life/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR l5","body":"body l5","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/life/pulls/5","diff_url":"/acme/life/pulls/5.diff","patch_url":"/acme/life/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"l5","ref":"l5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"life","full_name":"acme/life","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":27,"language":"","languages_url":"/api/v1/repos/acme/life/languages","html_url":"/acme/life","url":"/api/v1/repos/acme/life","link":"","ssh_url":"ssh:///acme/life.git","clone_url":"/acme/life.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/life/pulls//merge","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/P-pagination.json b/crates/forge/conformance/fixtures/1.26.2/P-pagination.json index f11cf955..9d37d2d5 100644 --- a/crates/forge/conformance/fixtures/1.26.2/P-pagination.json +++ b/crates/forge/conformance/fixtures/1.26.2/P-pagination.json @@ -1,15919 +1,47 @@ -{ - "scenario": "P", - "title": "pagination", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=3", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=0", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=-1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=0", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_0_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=100", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_100_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=51", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_51_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=50", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_50_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=-1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "note", - "key": "pulls_limit_-1_count", - "value": 5, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&limit=abc", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&sort=oldest&limit=5", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&sort=newest&limit=5", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/pulls?state=all&sort=recentupdate&limit=5", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5" - }, - "body": [ - { - "id": "", - "url": "/acme/pages/pulls/5", - "number": 5, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 5", - "body": "body pg5", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/5", - "diff_url": "/acme/pages/pulls/5.diff", - "patch_url": "/acme/pages/pulls/5.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg5", - "ref": "pg5", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 4", - "body": "body pg4", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/4", - "diff_url": "/acme/pages/pulls/4.diff", - "patch_url": "/acme/pages/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg4", - "ref": "pg4", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 3", - "body": "body pg3", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/3", - "diff_url": "/acme/pages/pulls/3.diff", - "patch_url": "/acme/pages/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg3", - "ref": "pg3", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 2", - "body": "body pg2", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/2", - "diff_url": "/acme/pages/pulls/2.diff", - "patch_url": "/acme/pages/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg2", - "ref": "pg2", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - { - "id": "", - "url": "/acme/pages/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR 1", - "body": "body pg1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": null, - "requested_reviewers": null, - "requested_reviewers_teams": null, - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "html_url": "/acme/pages/pulls/1", - "diff_url": "/acme/pages/pulls/1.diff", - "patch_url": "/acme/pages/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "pg1", - "ref": "pg1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 6, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\"" - }, - "body": [ - { - "name": "pg5", - "commit": { - "id": "", - "message": "add pg5\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "pg4", - "commit": { - "id": "", - "message": "add pg4\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"prev\"" - }, - "body": [ - { - "name": "pg3", - "commit": { - "id": "", - "message": "add pg3\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "pg2", - "commit": { - "id": "", - "message": "add pg2\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=3", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\"" - }, - "body": [ - { - "name": "pg1", - "commit": { - "id": "", - "message": "add pg1\n", - "url": "/acme/pages/commit/", - "author": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "committer": { - "name": "Conf", - "email": "conf@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - }, - { - "name": "main", - "commit": { - "id": "", - "message": "Initial commit\n", - "url": "/acme/pages/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "username": "" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": false, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": [], - "user_can_push": true, - "user_can_merge": true, - "effective_branch_protection_name": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/branches?limit=2&page=4", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "6", - "link": "</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\"" - }, - "body": [] - }, - { - "kind": "note", - "key": "branches_default_count", - "value": 30, - "strict": true - }, - { - "kind": "note", - "key": "branches_default_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=100_count", - "value": 50, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=100_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=51_count", - "value": 50, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=51_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=0_count", - "value": 30, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=0_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=0&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=0&page=3>; rel=\"last\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?page=2_count", - "value": 30, - "strict": true - }, - { - "kind": "note", - "key": "branches?page=2_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"prev\"" - }, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=50&page=2_count", - "value": 11, - "strict": true - }, - { - "kind": "note", - "key": "branches?limit=50&page=2_headers", - "value": { - "x-total-count": "61", - "link": "</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"prev\"" - }, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//statuses?limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s5", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s4", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//statuses?limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s3", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s2", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//statuses?limit=2&page=3", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s1", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/statuses/?limit=3&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"next\",</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"last\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s5", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s4", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s3", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/statuses/?limit=3&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"first\",</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"prev\"" - }, - "body": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s2", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s1", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//status?limit=2&page=1", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//status?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/commits//status?limit=2&page=3>; rel=\"last\"" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s4", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s5", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 61, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/pages/commits/", - "url": "/api/v1/repos/acme/pages/commits//status" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pages/commits//status?limit=2&page=2", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "5", - "link": "</api/v1/repos/acme/pages/commits//status?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/commits//status?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/commits//status?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//status?limit=2&page=1>; rel=\"prev\"" - }, - "body": { - "state": "success", - "sha": "", - "total_count": 2, - "statuses": [ - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s2", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - }, - { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/pages/statuses/", - "context": "s3", - "creator": { - "id": "", - "login": "", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "1+@noreply.localhost", - "avatar_url": "/avatars/98afc2e6474fc6c67d129b8b3043e959", - "html_url": "/", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "" - }, - "created_at": "", - "updated_at": "" - } - ], - "repository": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pages", - "full_name": "acme/pages", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/pages/languages", - "html_url": "/acme/pages", - "url": "/api/v1/repos/acme/pages", - "link": "", - "ssh_url": "ssh:///acme/pages.git", - "clone_url": "/acme/pages.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 61, - "open_issues_count": 0, - "open_pr_counter": 5, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - "commit_url": "/api/v1/repos/acme/pages/commits/", - "url": "/api/v1/repos/acme/pages/commits//status" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=pgrepo&limit=2&page=1&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"next\",</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"last\"" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pgrepo1", - "full_name": "acme/pgrepo1", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/pgrepo1/languages", - "html_url": "/acme/pgrepo1", - "url": "/api/v1/repos/acme/pgrepo1", - "link": "", - "ssh_url": "ssh:///acme/pgrepo1.git", - "clone_url": "/acme/pgrepo1.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - }, - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pgrepo2", - "full_name": "acme/pgrepo2", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/pgrepo2/languages", - "html_url": "/acme/pgrepo2", - "url": "/api/v1/repos/acme/pgrepo2", - "link": "", - "ssh_url": "ssh:///acme/pgrepo2.git", - "clone_url": "/acme/pgrepo2.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=pgrepo&limit=2&page=2&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\"" - }, - "body": { - "ok": true, - "data": [ - { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "pgrepo3", - "full_name": "acme/pgrepo3", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/acme/pgrepo3/languages", - "html_url": "/acme/pgrepo3", - "url": "/api/v1/repos/acme/pgrepo3", - "link": "", - "ssh_url": "ssh:///acme/pgrepo3.git", - "clone_url": "/acme/pgrepo3.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - ] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?q=pgrepo&limit=2&page=3&sort=alpha", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3", - "link": "</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\"" - }, - "body": { - "ok": true, - "data": [] - } - } - ] -} +{"scenario":"P","title":"pagination","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\""},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"prev\""},"body":[{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=3","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=1&state=all>; rel=\"first\",</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"prev\""},"body":[{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=0","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\""},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=2&page=-1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/pulls?limit=2&page=2&state=all>; rel=\"next\",</api/v1/repos/acme/pages/pulls?limit=2&page=3&state=all>; rel=\"last\""},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=0","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"note","key":"pulls_limit_0_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=100","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"note","key":"pulls_limit_100_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=51","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"note","key":"pulls_limit_51_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=50","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"note","key":"pulls_limit_50_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=-1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"note","key":"pulls_limit_-1_count","value":5,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&limit=abc","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&sort=oldest&limit=5","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&sort=newest&limit=5","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/pulls?state=all&sort=recentupdate&limit=5","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5"},"body":[{"id":"","url":"/acme/pages/pulls/5","number":5,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 5","body":"body pg5","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/5","diff_url":"/acme/pages/pulls/5.diff","patch_url":"/acme/pages/pulls/5.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg5","ref":"pg5","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 4","body":"body pg4","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/4","diff_url":"/acme/pages/pulls/4.diff","patch_url":"/acme/pages/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg4","ref":"pg4","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 3","body":"body pg3","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/3","diff_url":"/acme/pages/pulls/3.diff","patch_url":"/acme/pages/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg3","ref":"pg3","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 2","body":"body pg2","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/2","diff_url":"/acme/pages/pulls/2.diff","patch_url":"/acme/pages/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg2","ref":"pg2","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},{"id":"","url":"/acme/pages/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR 1","body":"body pg1","labels":[],"milestone":null,"assignee":null,"assignees":null,"requested_reviewers":null,"requested_reviewers_teams":null,"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"html_url":"/acme/pages/pulls/1","diff_url":"/acme/pages/pulls/1.diff","patch_url":"/acme/pages/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"pg1","ref":"pg1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":6,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\""},"body":[{"name":"pg5","commit":{"id":"","message":"add pg5\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"pg4","commit":{"id":"","message":"add pg4\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"prev\""},"body":[{"name":"pg3","commit":{"id":"","message":"add pg3\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"pg2","commit":{"id":"","message":"add pg2\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=3","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\""},"body":[{"name":"pg1","commit":{"id":"","message":"add pg1\n","url":"/acme/pages/commit/","author":{"name":"Conf","email":"conf@example.invalid","username":""},"committer":{"name":"Conf","email":"conf@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""},{"name":"main","commit":{"id":"","message":"Initial commit\n","url":"/acme/pages/commit/","author":{"name":"","email":"admin@example.invalid","username":""},"committer":{"name":"","email":"admin@example.invalid","username":""},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":false,"required_approvals":0,"enable_status_check":false,"status_check_contexts":[],"user_can_push":true,"user_can_merge":true,"effective_branch_protection_name":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/branches?limit=2&page=4","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"6","link":"</api/v1/repos/acme/pages/branches?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=2&page=2>; rel=\"prev\""},"body":[]}, +{"kind":"note","key":"branches_default_count","value":30,"strict":true}, +{"kind":"note","key":"branches_default_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?limit=100_count","value":50,"strict":true}, +{"kind":"note","key":"branches?limit=100_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=100&page=2>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?limit=51_count","value":50,"strict":true}, +{"kind":"note","key":"branches?limit=51_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=51&page=2>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?limit=0_count","value":30,"strict":true}, +{"kind":"note","key":"branches?limit=0_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=0&page=2>; rel=\"next\",</api/v1/repos/acme/pages/branches?limit=0&page=3>; rel=\"last\""},"strict":true}, +{"kind":"note","key":"branches?page=2_count","value":30,"strict":true}, +{"kind":"note","key":"branches?page=2_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?page=3>; rel=\"next\",</api/v1/repos/acme/pages/branches?page=3>; rel=\"last\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?page=1>; rel=\"prev\""},"strict":true}, +{"kind":"note","key":"branches?limit=50&page=2_count","value":11,"strict":true}, +{"kind":"note","key":"branches?limit=50&page=2_headers","value":{"x-total-count":"61","link":"</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"first\",</api/v1/repos/acme/pages/branches?limit=50&page=1>; rel=\"prev\""},"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//statuses?limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s5","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s4","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//statuses?limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"prev\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s3","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s2","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//statuses?limit=2&page=3","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//statuses?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//statuses?limit=2&page=2>; rel=\"prev\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s1","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/statuses/?limit=3&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"next\",</api/v1/repos/acme/pages/statuses/?limit=3&page=2>; rel=\"last\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s5","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s4","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s3","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/statuses/?limit=3&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"first\",</api/v1/repos/acme/pages/statuses/?limit=3&page=1>; rel=\"prev\""},"body":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s2","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s1","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//status?limit=2&page=1","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//status?limit=2&page=2>; rel=\"next\",</api/v1/repos/acme/pages/commits//status?limit=2&page=3>; rel=\"last\""},"body":{"state":"success","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s4","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s5","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":61,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/pages/commits/","url":"/api/v1/repos/acme/pages/commits//status"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pages/commits//status?limit=2&page=2","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"5","link":"</api/v1/repos/acme/pages/commits//status?limit=2&page=3>; rel=\"next\",</api/v1/repos/acme/pages/commits//status?limit=2&page=3>; rel=\"last\",</api/v1/repos/acme/pages/commits//status?limit=2&page=1>; rel=\"first\",</api/v1/repos/acme/pages/commits//status?limit=2&page=1>; rel=\"prev\""},"body":{"state":"success","sha":"","total_count":2,"statuses":[{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s2","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""},{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/pages/statuses/","context":"s3","creator":{"id":"","login":"","login_name":"","source_id":"","full_name":"","email":"1+@noreply.localhost","avatar_url":"/avatars/98afc2e6474fc6c67d129b8b3043e959","html_url":"/","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":""},"created_at":"","updated_at":""}],"repository":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pages","full_name":"acme/pages","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/pages/languages","html_url":"/acme/pages","url":"/api/v1/repos/acme/pages","link":"","ssh_url":"ssh:///acme/pages.git","clone_url":"/acme/pages.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":61,"open_issues_count":0,"open_pr_counter":5,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},"commit_url":"/api/v1/repos/acme/pages/commits/","url":"/api/v1/repos/acme/pages/commits//status"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=pgrepo&limit=2&page=1&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"next\",</api/v1/repos/search?limit=2&page=2&q=pgrepo&sort=alpha>; rel=\"last\""},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pgrepo1","full_name":"acme/pgrepo1","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/pgrepo1/languages","html_url":"/acme/pgrepo1","url":"/api/v1/repos/acme/pgrepo1","link":"","ssh_url":"ssh:///acme/pgrepo1.git","clone_url":"/acme/pgrepo1.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]},{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pgrepo2","full_name":"acme/pgrepo2","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/pgrepo2/languages","html_url":"/acme/pgrepo2","url":"/api/v1/repos/acme/pgrepo2","link":"","ssh_url":"ssh:///acme/pgrepo2.git","clone_url":"/acme/pgrepo2.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=pgrepo&limit=2&page=2&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\""},"body":{"ok":true,"data":[{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"pgrepo3","full_name":"acme/pgrepo3","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/acme/pgrepo3/languages","html_url":"/acme/pgrepo3","url":"/api/v1/repos/acme/pgrepo3","link":"","ssh_url":"ssh:///acme/pgrepo3.git","clone_url":"/acme/pgrepo3.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}]}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?q=pgrepo&limit=2&page=3&sort=alpha","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3","link":"</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"first\",</api/v1/repos/search?limit=2&page=1&q=pgrepo&sort=alpha>; rel=\"prev\""},"body":{"ok":true,"data":[]}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/Q-protection-bypass.json b/crates/forge/conformance/fixtures/1.26.2/Q-protection-bypass.json index a4d9a585..c1ee3134 100644 --- a/crates/forge/conformance/fixtures/1.26.2/Q-protection-bypass.json +++ b/crates/forge/conformance/fixtures/1.26.2/Q-protection-bypass.json @@ -1,454 +1,21 @@ -{ - "scenario": "Q", - "title": "protection-bypass", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/contents/viaapi.txt", - "auth": "bot", - "status": 403, - "request": { - "content": "eAo=", - "message": "api to main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user cannot commit to repo [user: bot]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/contents/viaapi-admin.txt", - "auth": "admin", - "status": 403, - "request": { - "content": "eAo=", - "message": "api to main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user cannot commit to repo [user: ]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/bypass/contents/README.md", - "auth": "bot", - "status": 403, - "request": { - "content": "Y2hhbmdlZAo=", - "message": "put to main", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "user cannot commit to repo [user: bot]", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/contents/viapr.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "api new branch", - "branch": "main", - "new_branch": "q-api" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "viapr.txt", - "path": "viapr.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api", - "html_url": "/acme/bypass/src/branch/q-api/viapr.txt", - "git_url": "/api/v1/repos/acme/bypass/git/blobs/", - "download_url": "/acme/bypass/raw/branch/q-api/viapr.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api", - "git": "/api/v1/repos/acme/bypass/git/blobs/", - "html": "/acme/bypass/src/branch/q-api/viapr.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/bypass/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/bypass/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/bypass/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "api new branch\n", - "tree": { - "url": "/api/v1/repos/acme/bypass/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/bypass/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "git", - "name": "push-unprotected-branch", - "cmd": "git push origin HEAD:refs/heads/fp1", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/pulls/new/fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n * [new branch] HEAD -> fp1" - }, - { - "kind": "git", - "name": "force-push-unprotected-branch", - "cmd": "git push -f origin HEAD:refs/heads/fp1", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/pulls/new/fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n + .. HEAD -> fp1 (forced update)" - }, - { - "kind": "git", - "name": "nonff-protected-push-disabled", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": false, - "output": "To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] head -> main (non-fast-forward)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/bypass/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "git", - "name": "nonff-protected-push-enabled", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": false, - "output": "To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] head -> main (non-fast-forward)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "git", - "name": "force-protected-push-enabled", - "cmd": "git push -f origin HEAD:refs/heads/main", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: branch main is protected from force push \nremote: error: \nTo /acme/bypass.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'", - "refusal": [ - "remote: error: branch main is protected from force push", - "! [remote rejected] head -> main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "git", - "name": "delete-protected-push-enabled", - "cmd": "git push origin :refs/heads/main", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'", - "refusal": [ - "remote: error: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/bypass/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_push": false - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "git", - "name": "delete-protected-push-disabled", - "cmd": "git push origin :refs/heads/main", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'", - "refusal": [ - "remote: error: branch main is the default branch and cannot be deleted", - "! [remote rejected] main (pre-receive hook declined)", - "error: failed to push some refs to '/acme/bypass.git'" - ] - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/bypass/branches/main", - "auth": "admin", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "can not delete default or pull request target branch", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/bypass/branches/main", - "auth": "bot", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "can not delete default or pull request target branch", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/bypass/branches/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "name": "main", - "commit": { - "id": "", - "message": "Merge pull request 'PR q1' (#1) from q1 into main\n", - "url": "/acme/bypass/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "username": "bot" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "username": "bot" - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - }, - "timestamp": "", - "added": null, - "removed": null, - "modified": null - }, - "protected": true, - "required_approvals": 0, - "enable_status_check": false, - "status_check_contexts": null, - "user_can_push": false, - "user_can_merge": true, - "effective_branch_protection_name": "main" - } - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/bypass/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - } - ] -} +{"scenario":"Q","title":"protection-bypass","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/contents/viaapi.txt","auth":"bot","status":403,"request":{"content":"eAo=","message":"api to main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user cannot commit to repo [user: bot]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/contents/viaapi-admin.txt","auth":"admin","status":403,"request":{"content":"eAo=","message":"api to main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user cannot commit to repo [user: ]","url":"/api/swagger"}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/bypass/contents/README.md","auth":"bot","status":403,"request":{"content":"Y2hhbmdlZAo=","message":"put to main","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"user cannot commit to repo [user: bot]","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/contents/viapr.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"api new branch","branch":"main","new_branch":"q-api"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"viapr.txt","path":"viapr.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api","html_url":"/acme/bypass/src/branch/q-api/viapr.txt","git_url":"/api/v1/repos/acme/bypass/git/blobs/","download_url":"/acme/bypass/raw/branch/q-api/viapr.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/bypass/contents/viapr.txt?ref=q-api","git":"/api/v1/repos/acme/bypass/git/blobs/","html":"/acme/bypass/src/branch/q-api/viapr.txt"}},"commit":{"url":"/api/v1/repos/acme/bypass/git/commits/","sha":"","created":"","html_url":"/acme/bypass/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/bypass/git/commits/","sha":"","created":""}],"message":"api new branch\n","tree":{"url":"/api/v1/repos/acme/bypass/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/bypass/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"git","name":"push-unprotected-branch","cmd":"git push origin HEAD:refs/heads/fp1","ok":true,"output":"remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/pulls/new/fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n * [new branch] HEAD -> fp1"}, +{"kind":"git","name":"force-push-unprotected-branch","cmd":"git push -f origin HEAD:refs/heads/fp1","ok":true,"output":"remote: \nremote: Create a new pull request for 'fp1': \nremote: /acme/bypass/pulls/new/fp1 \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/bypass.git\n + .. HEAD -> fp1 (forced update)"}, +{"kind":"git","name":"nonff-protected-push-disabled","cmd":"git push origin HEAD:refs/heads/main","ok":false,"output":"To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] head -> main (non-fast-forward)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/bypass/branch_protections/main","auth":"admin","status":200,"request":{"enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"git","name":"nonff-protected-push-enabled","cmd":"git push origin HEAD:refs/heads/main","ok":false,"output":"To /acme/bypass.git\n ! [rejected] HEAD -> main (non-fast-forward)\nerror: failed to push some refs to '/acme/bypass.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] head -> main (non-fast-forward)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"git","name":"force-protected-push-enabled","cmd":"git push -f origin HEAD:refs/heads/main","ok":false,"output":"remote: \nremote: error: \nremote: error: branch main is protected from force push \nremote: error: \nTo /acme/bypass.git\n ! [remote rejected] HEAD -> main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'","refusal":["remote: error: branch main is protected from force push","! [remote rejected] head -> main (pre-receive hook declined)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"git","name":"delete-protected-push-enabled","cmd":"git push origin :refs/heads/main","ok":false,"output":"remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'","refusal":["remote: error: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/bypass/branch_protections/main","auth":"admin","status":200,"request":{"enable_push":false},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"git","name":"delete-protected-push-disabled","cmd":"git push origin :refs/heads/main","ok":false,"output":"remote: \nremote: error: \nremote: error: branch main is the default branch and cannot be deleted \nremote: error: \nTo /acme/bypass.git\n ! [remote rejected] main (pre-receive hook declined)\nerror: failed to push some refs to '/acme/bypass.git'","refusal":["remote: error: branch main is the default branch and cannot be deleted","! [remote rejected] main (pre-receive hook declined)","error: failed to push some refs to '/acme/bypass.git'"]}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/bypass/branches/main","auth":"admin","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"can not delete default or pull request target branch","url":"/api/swagger"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/bypass/branches/main","auth":"bot","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"can not delete default or pull request target branch","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/bypass/branches/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"name":"main","commit":{"id":"","message":"Merge pull request 'PR q1' (#1) from q1 into main\n","url":"/acme/bypass/commit/","author":{"name":"bot","email":"bot@example.invalid","username":"bot"},"committer":{"name":"bot","email":"bot@example.invalid","username":"bot"},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"","added":null,"removed":null,"modified":null},"protected":true,"required_approvals":0,"enable_status_check":false,"status_check_contexts":null,"user_can_push":false,"user_can_merge":true,"effective_branch_protection_name":"main"}}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/bypass/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/R-token-scope-edges.json b/crates/forge/conformance/fixtures/1.26.2/R-token-scope-edges.json index 636a25ad..f7f1c18d 100644 --- a/crates/forge/conformance/fixtures/1.26.2/R-token-scope-edges.json +++ b/crates/forge/conformance/fixtures/1.26.2/R-token-scope-edges.json @@ -1,549 +1,23 @@ -{ - "scenario": "R", - "title": "token-scope-edges", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "po", - "scopes": [ - "public-only", - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "po", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "public-only", - "read:repository" - ], - "created_at": "", - "last_used_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped2", - "auth": "alice-po", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "not found", - "url": "/api/swagger", - "errors": null - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "alice-po", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[read:user], token scope=public-only,read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/search?limit=50", - "auth": "alice-po", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "0" - }, - "body": { - "ok": true, - "data": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro", - "status": 403, - "request": { - "name": "via-ro", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:user], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice", - "status": 401, - "request": { - "name": "via-all-token", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "auth required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-tokpw", - "status": 201, - "request": { - "name": "via-token-as-password", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "via-token-as-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-tokpw", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "4" - }, - "body": [ - { - "id": "", - "name": "po", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "public-only", - "read:repository" - ], - "created_at": "", - "last_used_at": "" - }, - { - "id": "", - "name": "via-token-as-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - }, - { - "id": "", - "name": "ci", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - }, - { - "id": "", - "name": "all", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "all" - ], - "created_at": "", - "last_used_at": "" - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "alice-pw-on-bot", - "status": 403, - "request": { - "name": "stolen", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "doer should be the site admin or be same as the contextUser", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/bot/tokens", - "auth": "alice-pw-on-bot", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "doer should be the site admin or be same as the contextUser", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 400, - "request": { - "name": "badscope", - "scopes": [ - "nonsense" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid access token scope provided: invalid access token scope: nonsense", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 400, - "request": { - "name": "noscope" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "access token must have a scope", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 422, - "request": { - "name": "", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "[Name]: Required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-basic", - "status": 201, - "request": { - "name": "wo", - "scopes": [ - "write:organization" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "wo", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "write:organization" - ], - "created_at": "", - "last_used_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs", - "auth": "bot", - "status": 201, - "request": { - "username": "botorg" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "botorg", - "full_name": "", - "email": "", - "avatar_url": "/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "botorg" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/botorg/repos", - "auth": "alice-wo", - "status": 403, - "request": { - "name": "intruder" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "User is not allowed to create repositories in this organization.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/botorg/repos", - "auth": "alice", - "status": 403, - "request": { - "name": "intruder" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "User is not allowed to create repositories in this organization.", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/orgs/botorg/repos", - "auth": "bot", - "status": 201, - "request": { - "name": "legit" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "botorg", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "", - "avatar_url": "/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3", - "html_url": "/botorg", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "botorg" - }, - "name": "legit", - "full_name": "botorg/legit", - "description": "", - "empty": true, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 22, - "language": "", - "languages_url": "/api/v1/repos/botorg/legit/languages", - "html_url": "/botorg/legit", - "url": "/api/v1/repos/botorg/legit", - "link": "", - "ssh_url": "ssh:///botorg/legit.git", - "clone_url": "/botorg/legit.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 0, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/orgs/botorg", - "auth": "alice-wo", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "botorg", - "full_name": "", - "email": "", - "avatar_url": "/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3", - "description": "", - "website": "", - "location": "", - "visibility": "public", - "repo_admin_change_team_access": false, - "username": "botorg" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped2", - "auth": "alice-wo", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[read:repository], token scope=write:organization", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/alice/scoped2/branches", - "auth": "bot-scoped", - "status": 404, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "errors": null, - "message": "not found", - "url": "/api/swagger" - } - } - ] -} +{"scenario":"R","title":"token-scope-edges","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"po","scopes":["public-only","read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"po","sha1":"","token_last_eight":"","scopes":["public-only","read:repository"],"created_at":"","last_used_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped2","auth":"alice-po","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"not found","url":"/api/swagger","errors":null}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"alice-po","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[read:user], token scope=public-only,read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/search?limit=50","auth":"alice-po","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"0"},"body":{"ok":true,"data":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-ro","status":403,"request":{"name":"via-ro","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:user], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice","status":401,"request":{"name":"via-all-token","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"auth required","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-tokpw","status":201,"request":{"name":"via-token-as-password","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"via-token-as-password","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-tokpw","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"4"},"body":[{"id":"","name":"po","sha1":"","token_last_eight":"","scopes":["public-only","read:repository"],"created_at":"","last_used_at":""},{"id":"","name":"via-token-as-password","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""},{"id":"","name":"ci","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""},{"id":"","name":"all","sha1":"","token_last_eight":"","scopes":["all"],"created_at":"","last_used_at":""}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"alice-pw-on-bot","status":403,"request":{"name":"stolen","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"doer should be the site admin or be same as the contextUser","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/users/bot/tokens","auth":"alice-pw-on-bot","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"doer should be the site admin or be same as the contextUser","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":400,"request":{"name":"badscope","scopes":["nonsense"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid access token scope provided: invalid access token scope: nonsense","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":400,"request":{"name":"noscope"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"access token must have a scope","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":422,"request":{"name":"","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"[Name]: Required","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-basic","status":201,"request":{"name":"wo","scopes":["write:organization"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"wo","sha1":"","token_last_eight":"","scopes":["write:organization"],"created_at":"","last_used_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs","auth":"bot","status":201,"request":{"username":"botorg"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"botorg","full_name":"","email":"","avatar_url":"/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"botorg"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/botorg/repos","auth":"alice-wo","status":403,"request":{"name":"intruder"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"User is not allowed to create repositories in this organization.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/botorg/repos","auth":"alice","status":403,"request":{"name":"intruder"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"User is not allowed to create repositories in this organization.","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/orgs/botorg/repos","auth":"bot","status":201,"request":{"name":"legit"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"botorg","login_name":"","source_id":"","full_name":"","email":"","avatar_url":"/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3","html_url":"/botorg","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"botorg"},"name":"legit","full_name":"botorg/legit","description":"","empty":true,"private":true,"fork":false,"template":false,"mirror":false,"size":22,"language":"","languages_url":"/api/v1/repos/botorg/legit/languages","html_url":"/botorg/legit","url":"/api/v1/repos/botorg/legit","link":"","ssh_url":"ssh:///botorg/legit.git","clone_url":"/botorg/legit.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":0,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":true,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"GET","path":"/api/v1/orgs/botorg","auth":"alice-wo","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"botorg","full_name":"","email":"","avatar_url":"/avatars/84298c4e18cd2b2b34f8e2c84fc22bb3","description":"","website":"","location":"","visibility":"public","repo_admin_change_team_access":false,"username":"botorg"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped2","auth":"alice-wo","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[read:repository], token scope=write:organization","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/alice/scoped2/branches","auth":"bot-scoped","status":404,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"errors":null,"message":"not found","url":"/api/swagger"}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/S-ref-pushes.json b/crates/forge/conformance/fixtures/1.26.2/S-ref-pushes.json index 34fb6a8f..ee96d59c 100644 --- a/crates/forge/conformance/fixtures/1.26.2/S-ref-pushes.json +++ b/crates/forge/conformance/fixtures/1.26.2/S-ref-pushes.json @@ -1,611 +1,25 @@ -{ - "scenario": "S", - "title": "ref-pushes", - "error": null, - "exchanges": [ - { - "kind": "git", - "name": "bot-push-replace-ref", - "cmd": "git push origin :refs/replace/", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/replace/" - }, - { - "kind": "git", - "name": "bot-push-pull-1-head", - "cmd": "git push origin :refs/pull/1/head", - "ok": false, - "output": "To /acme/refs.git\n ! [rejected] -> refs/pull/1/head (non-fast-forward)\nerror: failed to push some refs to '/acme/refs.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.", - "refusal": [ - "! [rejected] -> refs/pull/1/head (non-fast-forward)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-pull-1-head-forced", - "cmd": "git push origin +:refs/pull/1/head", - "ok": false, - "output": "remote: error: hook declined to update refs/pull/1/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/1/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "remote: error: hook declined to update refs/pull/1/head", - "! [remote rejected] -> refs/pull/1/head (hook declined)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-pull-999-head", - "cmd": "git push origin :refs/pull/999/head", - "ok": false, - "output": "remote: error: hook declined to update refs/pull/999/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/999/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "remote: error: hook declined to update refs/pull/999/head", - "! [remote rejected] -> refs/pull/999/head (hook declined)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-heads-pull-1-head", - "cmd": "git push origin :refs/heads/pull/1/head", - "ok": true, - "output": "remote: \nremote: Create a new pull request for 'pull/1/head': \nremote: /acme/refs/pulls/new/pull/1/head \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new branch] -> pull/1/head" - }, - { - "kind": "git", - "name": "bot-push-lightweight-tag", - "cmd": "git push origin :refs/tags/v-bot", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] -> v-bot" - }, - { - "kind": "git", - "name": "bot-push-annotated-tag", - "cmd": "git push origin refs/tags/annot:refs/tags/annot", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] annot -> annot" - }, - { - "kind": "git", - "name": "bot-push-notes-ref", - "cmd": "git push origin :refs/notes/commits", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/notes/commits" - }, - { - "kind": "git", - "name": "bot-push-for-ref", - "cmd": "git push origin :refs/for/main", - "ok": false, - "output": "To /acme/refs.git\n ! [remote rejected] -> refs/for/main (topic-branch is not set)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "! [remote rejected] -> refs/for/main (topic-branch is not set)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "bot-push-changes-ref", - "cmd": "git push origin :refs/changes/1/2", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/changes/1/2" - }, - { - "kind": "git", - "name": "bot-push-keep-around-ref", - "cmd": "git push origin :refs/keep-around/", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/keep-around/" - }, - { - "kind": "git", - "name": "bot-push-arbitrary-ref", - "cmd": "git push origin :refs/custom/thing", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/custom/thing" - }, - { - "kind": "git", - "name": "bot-push-tag-delete", - "cmd": "git push origin :refs/tags/v-bot", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n - [deleted] v-bot" - }, - { - "kind": "git", - "name": "read-collab-push-tag", - "cmd": "git push http://@/acme/refs.git :refs/tags/v-carol", - "ok": false, - "output": "remote: \nremote: error: \nremote: error: User permission denied for writing. \nremote: error: \nTo /acme/refs.git\n ! [remote rejected] -> v-carol (pre-receive hook declined)\nerror: failed to push some refs to '/acme/refs.git'", - "refusal": [ - "remote: error: user permission denied for writing.", - "! [remote rejected] -> v-carol (pre-receive hook declined)", - "error: failed to push some refs to '/acme/refs.git'" - ] - }, - { - "kind": "git", - "name": "ls-remote-all-refs", - "cmd": "git ls-remote http://@/acme/refs.git", - "ok": true, - "output": "\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}" - }, - { - "kind": "note", - "key": "ls-remote-all-refs_stdout", - "value": "\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/refs.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003e refs/changes/1/2\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0040 refs/tags/annot^{}\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "refs_advertised_refs_upload_pack", - "value": [ - "HEAD", - "refs/changes/1/2", - "refs/custom/thing", - "refs/heads/main", - "refs/heads/pull/1/head", - "refs/heads/r1", - "refs/keep-around/", - "refs/notes/commits", - "refs/pull/1/head", - "refs/replace/", - "refs/tags/annot", - "refs/tags/annot^{}" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/refs.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000c5 refs/changes/1/2\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "refs_advertised_refs_receive_pack", - "value": [ - "refs/changes/1/2", - "refs/custom/thing", - "refs/heads/main", - "refs/heads/pull/1/head", - "refs/heads/r1", - "refs/keep-around/", - "refs/notes/commits", - "refs/pull/1/head", - "refs/replace/", - "refs/tags/annot" - ], - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/refs/git/refs", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": [ - { - "ref": "refs/changes/1/2", - "url": "/api/v1/repos/acme/refs/git/refs/changes/1/2", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/custom/thing", - "url": "/api/v1/repos/acme/refs/git/refs/custom/thing", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/heads/main", - "url": "/api/v1/repos/acme/refs/git/refs/heads/main", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/heads/pull/1/head", - "url": "/api/v1/repos/acme/refs/git/refs/heads/pull/1/head", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/heads/r1", - "url": "/api/v1/repos/acme/refs/git/refs/heads/r1", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/keep-around/", - "url": "/api/v1/repos/acme/refs/git/refs/keep-around/", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/notes/commits", - "url": "/api/v1/repos/acme/refs/git/refs/notes/commits", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/pull/1/head", - "url": "/api/v1/repos/acme/refs/git/refs/pull/1/head", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/replace/", - "url": "/api/v1/repos/acme/refs/git/refs/replace/", - "object": { - "type": "commit", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/commits/" - } - }, - { - "ref": "refs/tags/annot", - "url": "/api/v1/repos/acme/refs/git/refs/tags/annot", - "object": { - "type": "tag", - "sha": "", - "url": "/api/v1/repos/acme/refs/git/tags/" - } - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/refs/tags", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "1" - }, - "body": [ - { - "name": "annot", - "message": "annotated", - "id": "", - "commit": { - "url": "/api/v1/repos/acme/refs/git/commits/", - "sha": "", - "created": "" - }, - "zipball_url": "/acme/refs/archive/annot.zip", - "tarball_url": "/acme/refs/archive/annot.tar.gz" - } - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/refs/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/refs/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR r1", - "body": "body r1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/refs/pulls/1", - "diff_url": "/acme/refs/pulls/1.diff", - "patch_url": "/acme/refs/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "refs", - "full_name": "acme/refs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/refs/languages", - "html_url": "/acme/refs", - "url": "/api/v1/repos/acme/refs", - "link": "", - "ssh_url": "ssh:///acme/refs.git", - "clone_url": "/acme/refs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "r1", - "ref": "r1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "refs", - "full_name": "acme/refs", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/refs/languages", - "html_url": "/acme/refs", - "url": "/api/v1/repos/acme/refs", - "link": "", - "ssh_url": "ssh:///acme/refs.git", - "clone_url": "/acme/refs.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - } - ] -} +{"scenario":"S","title":"ref-pushes","error":null,"exchanges":[ +{"kind":"git","name":"bot-push-replace-ref","cmd":"git push origin :refs/replace/","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/replace/"}, +{"kind":"git","name":"bot-push-pull-1-head","cmd":"git push origin :refs/pull/1/head","ok":false,"output":"To /acme/refs.git\n ! [rejected] -> refs/pull/1/head (non-fast-forward)\nerror: failed to push some refs to '/acme/refs.git'\nhint: Updates were rejected because a pushed branch tip is behind its remote\nhint: counterpart. If you want to integrate the remote changes, use 'git pull'\nhint: before pushing again.\nhint: See the 'Note about fast-forwards' in 'git push --help' for details.","refusal":["! [rejected] -> refs/pull/1/head (non-fast-forward)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-pull-1-head-forced","cmd":"git push origin +:refs/pull/1/head","ok":false,"output":"remote: error: hook declined to update refs/pull/1/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/1/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["remote: error: hook declined to update refs/pull/1/head","! [remote rejected] -> refs/pull/1/head (hook declined)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-pull-999-head","cmd":"git push origin :refs/pull/999/head","ok":false,"output":"remote: error: hook declined to update refs/pull/999/head \nTo /acme/refs.git\n ! [remote rejected] -> refs/pull/999/head (hook declined)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["remote: error: hook declined to update refs/pull/999/head","! [remote rejected] -> refs/pull/999/head (hook declined)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-heads-pull-1-head","cmd":"git push origin :refs/heads/pull/1/head","ok":true,"output":"remote: \nremote: Create a new pull request for 'pull/1/head': \nremote: /acme/refs/pulls/new/pull/1/head \nremote: \nremote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new branch] -> pull/1/head"}, +{"kind":"git","name":"bot-push-lightweight-tag","cmd":"git push origin :refs/tags/v-bot","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] -> v-bot"}, +{"kind":"git","name":"bot-push-annotated-tag","cmd":"git push origin refs/tags/annot:refs/tags/annot","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new tag] annot -> annot"}, +{"kind":"git","name":"bot-push-notes-ref","cmd":"git push origin :refs/notes/commits","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/notes/commits"}, +{"kind":"git","name":"bot-push-for-ref","cmd":"git push origin :refs/for/main","ok":false,"output":"To /acme/refs.git\n ! [remote rejected] -> refs/for/main (topic-branch is not set)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["! [remote rejected] -> refs/for/main (topic-branch is not set)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"bot-push-changes-ref","cmd":"git push origin :refs/changes/1/2","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/changes/1/2"}, +{"kind":"git","name":"bot-push-keep-around-ref","cmd":"git push origin :refs/keep-around/","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/keep-around/"}, +{"kind":"git","name":"bot-push-arbitrary-ref","cmd":"git push origin :refs/custom/thing","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n * [new reference] -> refs/custom/thing"}, +{"kind":"git","name":"bot-push-tag-delete","cmd":"git push origin :refs/tags/v-bot","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/refs.git\n - [deleted] v-bot"}, +{"kind":"git","name":"read-collab-push-tag","cmd":"git push http://@/acme/refs.git :refs/tags/v-carol","ok":false,"output":"remote: \nremote: error: \nremote: error: User permission denied for writing. \nremote: error: \nTo /acme/refs.git\n ! [remote rejected] -> v-carol (pre-receive hook declined)\nerror: failed to push some refs to '/acme/refs.git'","refusal":["remote: error: user permission denied for writing.","! [remote rejected] -> v-carol (pre-receive hook declined)","error: failed to push some refs to '/acme/refs.git'"]}, +{"kind":"git","name":"ls-remote-all-refs","cmd":"git ls-remote http://@/acme/refs.git","ok":true,"output":"\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}"}, +{"kind":"note","key":"ls-remote-all-refs_stdout","value":"\tHEAD\n\trefs/changes/1/2\n\trefs/custom/thing\n\trefs/heads/main\n\trefs/heads/pull/1/head\n\trefs/heads/r1\n\trefs/keep-around/\n\trefs/notes/commits\n\trefs/pull/1/head\n\trefs/replace/\n\trefs/tags/annot\n\trefs/tags/annot^{}","strict":true}, +{"kind":"http","method":"GET","path":"/acme/refs.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003e refs/changes/1/2\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0040 refs/tags/annot^{}\n0000","volatile":["$text"]}, +{"kind":"note","key":"refs_advertised_refs_upload_pack","value":["HEAD","refs/changes/1/2","refs/custom/thing","refs/heads/main","refs/heads/pull/1/head","refs/heads/r1","refs/keep-around/","refs/notes/commits","refs/pull/1/head","refs/replace/","refs/tags/annot","refs/tags/annot^{}"],"strict":true}, +{"kind":"http","method":"GET","path":"/acme/refs.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000c5 refs/changes/1/2\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n003f refs/custom/thing\n003d refs/heads/main\n0044 refs/heads/pull/1/head\n003b refs/heads/r1\n0067 refs/keep-around/\n0040 refs/notes/commits\n003e refs/pull/1/head\n0063 refs/replace/\n003d refs/tags/annot\n0000","volatile":["$text"]}, +{"kind":"note","key":"refs_advertised_refs_receive_pack","value":["refs/changes/1/2","refs/custom/thing","refs/heads/main","refs/heads/pull/1/head","refs/heads/r1","refs/keep-around/","refs/notes/commits","refs/pull/1/head","refs/replace/","refs/tags/annot"],"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/refs/git/refs","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":[{"ref":"refs/changes/1/2","url":"/api/v1/repos/acme/refs/git/refs/changes/1/2","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/custom/thing","url":"/api/v1/repos/acme/refs/git/refs/custom/thing","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/heads/main","url":"/api/v1/repos/acme/refs/git/refs/heads/main","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/heads/pull/1/head","url":"/api/v1/repos/acme/refs/git/refs/heads/pull/1/head","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/heads/r1","url":"/api/v1/repos/acme/refs/git/refs/heads/r1","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/keep-around/","url":"/api/v1/repos/acme/refs/git/refs/keep-around/","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/notes/commits","url":"/api/v1/repos/acme/refs/git/refs/notes/commits","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/pull/1/head","url":"/api/v1/repos/acme/refs/git/refs/pull/1/head","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/replace/","url":"/api/v1/repos/acme/refs/git/refs/replace/","object":{"type":"commit","sha":"","url":"/api/v1/repos/acme/refs/git/commits/"}},{"ref":"refs/tags/annot","url":"/api/v1/repos/acme/refs/git/refs/tags/annot","object":{"type":"tag","sha":"","url":"/api/v1/repos/acme/refs/git/tags/"}}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/refs/tags","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"1"},"body":[{"name":"annot","message":"annotated","id":"","commit":{"url":"/api/v1/repos/acme/refs/git/commits/","sha":"","created":""},"zipball_url":"/acme/refs/archive/annot.zip","tarball_url":"/acme/refs/archive/annot.tar.gz"}]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/refs/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/refs/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR r1","body":"body r1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/refs/pulls/1","diff_url":"/acme/refs/pulls/1.diff","patch_url":"/acme/refs/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"refs","full_name":"acme/refs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/refs/languages","html_url":"/acme/refs","url":"/api/v1/repos/acme/refs","link":"","ssh_url":"ssh:///acme/refs.git","clone_url":"/acme/refs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"r1","ref":"r1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"refs","full_name":"acme/refs","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/refs/languages","html_url":"/acme/refs","url":"/api/v1/repos/acme/refs","link":"","ssh_url":"ssh:///acme/refs.git","clone_url":"/acme/refs.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/T-merge-outcomes.json b/crates/forge/conformance/fixtures/1.26.2/T-merge-outcomes.json index 93db444a..fca8e421 100644 --- a/crates/forge/conformance/fixtures/1.26.2/T-merge-outcomes.json +++ b/crates/forge/conformance/fixtures/1.26.2/T-merge-outcomes.json @@ -1,4089 +1,24 @@ -{ - "scenario": "T", - "title": "merge-outcomes", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "unrelated", - "head": "orph", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "unrelated", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 3, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/outcomes/pulls/1", - "diff_url": "/acme/outcomes/pulls/1.diff", - "patch_url": "/acme/outcomes/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "orph", - "ref": "orph", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "unrelated", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 3, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/outcomes/pulls/1", - "diff_url": "/acme/outcomes/pulls/1.diff", - "patch_url": "/acme/outcomes/pulls/1.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "orph", - "ref": "orph", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 409, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body_text": "{\"Style\":\"merge\",\"StdOut\":\"\",\"StdErr\":\"fatal: refusing to merge unrelated histories\\n\"", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "unrelated_merge_exact_body", - "value": "{\"Style\":\"merge\",\"StdOut\":\"\",\"StdErr\":\"fatal: refusing to merge unrelated histories\\n\"", - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "unrelated", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 3, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/outcomes/pulls/1", - "diff_url": "/acme/outcomes/pulls/1.diff", - "patch_url": "/acme/outcomes/pulls/1.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "orph", - "ref": "orph", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "same tree", - "head": "tid", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "same tree", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/2", - "diff_url": "/acme/outcomes/pulls/2.diff", - "patch_url": "/acme/outcomes/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "tid", - "ref": "tid", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "same tree", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/2", - "diff_url": "/acme/outcomes/pulls/2.diff", - "patch_url": "/acme/outcomes/pulls/2.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "tid", - "ref": "tid", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/2", - "number": 2, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "same tree", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/2", - "diff_url": "/acme/outcomes/pulls/2.diff", - "patch_url": "/acme/outcomes/pulls/2.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "tid", - "ref": "tid", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 3, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls", - "auth": "bot-scoped", - "status": 201, - "request": { - "title": "contained", - "head": "cont", - "base": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "contained", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/3", - "diff_url": "/acme/outcomes/pulls/3.diff", - "patch_url": "/acme/outcomes/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "cont", - "ref": "cont", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 24, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 1, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "contained", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/3", - "diff_url": "/acme/outcomes/pulls/3.diff", - "patch_url": "/acme/outcomes/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "cont", - "ref": "cont", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - }, - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/3", - "number": 3, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "contained", - "body": "", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 0, - "deletions": 0, - "changed_files": 0, - "html_url": "/acme/outcomes/pulls/3", - "diff_url": "/acme/outcomes/pulls/3.diff", - "patch_url": "/acme/outcomes/pulls/3.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "cont", - "ref": "cont", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 4, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ok1", - "body": "body ok1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/outcomes/pulls/4", - "diff_url": "/acme/outcomes/pulls/4.diff", - "patch_url": "/acme/outcomes/pulls/4.patch", - "mergeable": true, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 5, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "ok1", - "ref": "ok1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 5, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/4", - "number": 4, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR ok1", - "body": "body ok1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 2, - "deletions": 0, - "changed_files": 2, - "html_url": "/acme/outcomes/pulls/4", - "diff_url": "/acme/outcomes/pulls/4.diff", - "patch_url": "/acme/outcomes/pulls/4.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 5, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "ok1", - "ref": "ok1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 25, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 5, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "The PR is already merged", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cfb", - "body": "body cfb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "open", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/6", - "diff_url": "/acme/outcomes/pulls/6.diff", - "patch_url": "/acme/outcomes/pulls/6.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 8, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "cfb", - "ref": "cfb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 8, - "open_issues_count": 0, - "open_pr_counter": 3, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": null, - "pin_order": 0, - "content_version": 0 - }, - "strict_keys": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/outcomes/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Please try again later", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 201, - "request": { - "state": "closed" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cfb", - "body": "body cfb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/6", - "diff_url": "/acme/outcomes/pulls/6.diff", - "patch_url": "/acme/outcomes/pulls/6.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 8, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "cfb", - "ref": "cfb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 8, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/outcomes/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/outcomes/pulls/6", - "number": 6, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR cfb", - "body": "body cfb", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 1, - "changed_files": 1, - "html_url": "/acme/outcomes/pulls/6", - "diff_url": "/acme/outcomes/pulls/6.diff", - "patch_url": "/acme/outcomes/pulls/6.patch", - "mergeable": false, - "merged": false, - "merged_at": null, - "merge_commit_sha": null, - "merged_by": null, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 8, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "cfb", - "ref": "cfb", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "outcomes", - "full_name": "acme/outcomes", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 29, - "language": "", - "languages_url": "/api/v1/repos/acme/outcomes/languages", - "html_url": "/acme/outcomes", - "url": "/api/v1/repos/acme/outcomes", - "link": "", - "ssh_url": "ssh:///acme/outcomes.git", - "clone_url": "/acme/outcomes.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 8, - "open_issues_count": 0, - "open_pr_counter": 2, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - } - } - ] -} +{"scenario":"T","title":"merge-outcomes","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls","auth":"bot-scoped","status":201,"request":{"title":"unrelated","head":"orph","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"unrelated","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":3,"deletions":0,"changed_files":2,"html_url":"/acme/outcomes/pulls/1","diff_url":"/acme/outcomes/pulls/1.diff","patch_url":"/acme/outcomes/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"orph","ref":"orph","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"unrelated","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":3,"deletions":0,"changed_files":2,"html_url":"/acme/outcomes/pulls/1","diff_url":"/acme/outcomes/pulls/1.diff","patch_url":"/acme/outcomes/pulls/1.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"orph","ref":"orph","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":409,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body_text":"{\"Style\":\"merge\",\"StdOut\":\"\",\"StdErr\":\"fatal: refusing to merge unrelated histories\\n\"","volatile":["$text"]}, +{"kind":"note","key":"unrelated_merge_exact_body","value":"{\"Style\":\"merge\",\"StdOut\":\"\",\"StdErr\":\"fatal: refusing to merge unrelated histories\\n\"","strict":false}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"unrelated","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":3,"deletions":0,"changed_files":2,"html_url":"/acme/outcomes/pulls/1","diff_url":"/acme/outcomes/pulls/1.diff","patch_url":"/acme/outcomes/pulls/1.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"orph","ref":"orph","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls","auth":"bot-scoped","status":201,"request":{"title":"same tree","head":"tid","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"same tree","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/2","diff_url":"/acme/outcomes/pulls/2.diff","patch_url":"/acme/outcomes/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"tid","ref":"tid","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"same tree","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/2","diff_url":"/acme/outcomes/pulls/2.diff","patch_url":"/acme/outcomes/pulls/2.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"tid","ref":"tid","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":"","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/2","number":2,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"same tree","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/2","diff_url":"/acme/outcomes/pulls/2.diff","patch_url":"/acme/outcomes/pulls/2.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"tid","ref":"tid","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":3,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls","auth":"bot-scoped","status":201,"request":{"title":"contained","head":"cont","base":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"contained","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/3","diff_url":"/acme/outcomes/pulls/3.diff","patch_url":"/acme/outcomes/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"cont","ref":"cont","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":24,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":1,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"contained","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/3","diff_url":"/acme/outcomes/pulls/3.diff","patch_url":"/acme/outcomes/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"cont","ref":"cont","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"},"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/3","number":3,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"contained","body":"","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":0,"deletions":0,"changed_files":0,"html_url":"/acme/outcomes/pulls/3","diff_url":"/acme/outcomes/pulls/3.diff","patch_url":"/acme/outcomes/pulls/3.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"cont","ref":"cont","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":4,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ok1","body":"body ok1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/outcomes/pulls/4","diff_url":"/acme/outcomes/pulls/4.diff","patch_url":"/acme/outcomes/pulls/4.patch","mergeable":true,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":5,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"ok1","ref":"ok1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":5,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/4","number":4,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR ok1","body":"body ok1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":2,"deletions":0,"changed_files":2,"html_url":"/acme/outcomes/pulls/4","diff_url":"/acme/outcomes/pulls/4.diff","patch_url":"/acme/outcomes/pulls/4.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":5,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"ok1","ref":"ok1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":25,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":5,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"The PR is already merged","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cfb","body":"body cfb","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"open","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/outcomes/pulls/6","diff_url":"/acme/outcomes/pulls/6.diff","patch_url":"/acme/outcomes/pulls/6.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":8,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"cfb","ref":"cfb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":8,"open_issues_count":0,"open_pr_counter":3,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":null,"pin_order":0,"content_version":0},"strict_keys":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/outcomes/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Please try again later","url":"/api/swagger"}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":201,"request":{"state":"closed"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cfb","body":"body cfb","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/outcomes/pulls/6","diff_url":"/acme/outcomes/pulls/6.diff","patch_url":"/acme/outcomes/pulls/6.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":8,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"cfb","ref":"cfb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":8,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/outcomes/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/outcomes/pulls/6","number":6,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR cfb","body":"body cfb","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":1,"changed_files":1,"html_url":"/acme/outcomes/pulls/6","diff_url":"/acme/outcomes/pulls/6.diff","patch_url":"/acme/outcomes/pulls/6.patch","mergeable":false,"merged":false,"merged_at":null,"merge_commit_sha":null,"merged_by":null,"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":8,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"cfb","ref":"cfb","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"outcomes","full_name":"acme/outcomes","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":29,"language":"","languages_url":"/api/v1/repos/acme/outcomes/languages","html_url":"/acme/outcomes","url":"/api/v1/repos/acme/outcomes","link":"","ssh_url":"ssh:///acme/outcomes.git","clone_url":"/acme/outcomes.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":8,"open_issues_count":0,"open_pr_counter":2,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/U-status-check-edges.json b/crates/forge/conformance/fixtures/1.26.2/U-status-check-edges.json index f797e550..602887a3 100644 --- a/crates/forge/conformance/fixtures/1.26.2/U-status-check-edges.json +++ b/crates/forge/conformance/fixtures/1.26.2/U-status-check-edges.json @@ -1,529 +1,15 @@ -{ - "scenario": "U", - "title": "status-check-edges", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": false, - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": false, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/checks/pulls/", - "auth": "bot-scoped", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "url": "/acme/checks/pulls/1", - "number": 1, - "user": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "title": "PR u1", - "body": "body u1", - "labels": [], - "milestone": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_reviewers_teams": [], - "state": "closed", - "draft": false, - "is_locked": false, - "comments": 0, - "review_comments": 0, - "additions": 1, - "deletions": 0, - "changed_files": 1, - "html_url": "/acme/checks/pulls/1", - "diff_url": "/acme/checks/pulls/1.diff", - "patch_url": "/acme/checks/pulls/1.patch", - "mergeable": true, - "merged": true, - "merged_at": "", - "merge_commit_sha": "", - "merged_by": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "allow_maintainer_edit": true, - "base": { - "label": "main", - "ref": "main", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "checks", - "full_name": "acme/checks", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/checks/languages", - "html_url": "/acme/checks", - "url": "/api/v1/repos/acme/checks", - "link": "", - "ssh_url": "ssh:///acme/checks.git", - "clone_url": "/acme/checks.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "head": { - "label": "u1", - "ref": "u1", - "sha": "", - "repo_id": "", - "repo": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "checks", - "full_name": "acme/checks", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/checks/languages", - "html_url": "/acme/checks", - "url": "/api/v1/repos/acme/checks", - "link": "", - "ssh_url": "ssh:///acme/checks.git", - "clone_url": "/acme/checks.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 2, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - "merge_base": "", - "due_date": null, - "created_at": "", - "updated_at": "", - "closed_at": "", - "pin_order": 0, - "content_version": 0 - }, - "volatile": [ - "mergeable" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 405, - "request": { - "Do": "merge" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "Not all required status checks successful", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/checks/pulls//merge", - "auth": "bot-scoped", - "status": 200, - "request": { - "Do": "merge" - }, - "headers": {}, - "body_text": "" - }, - { - "kind": "http", - "method": "DELETE", - "path": "/api/v1/repos/acme/checks/branch_protections/main", - "auth": "admin", - "status": 204, - "headers": {}, - "body_text": "" - } - ] -} +{"scenario":"U","title":"status-check-edges","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":false,"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":false,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/checks/pulls/","auth":"bot-scoped","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","url":"/acme/checks/pulls/1","number":1,"user":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"title":"PR u1","body":"body u1","labels":[],"milestone":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_reviewers_teams":[],"state":"closed","draft":false,"is_locked":false,"comments":0,"review_comments":0,"additions":1,"deletions":0,"changed_files":1,"html_url":"/acme/checks/pulls/1","diff_url":"/acme/checks/pulls/1.diff","patch_url":"/acme/checks/pulls/1.patch","mergeable":true,"merged":true,"merged_at":"","merge_commit_sha":"","merged_by":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"allow_maintainer_edit":true,"base":{"label":"main","ref":"main","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"checks","full_name":"acme/checks","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/checks/languages","html_url":"/acme/checks","url":"/api/v1/repos/acme/checks","link":"","ssh_url":"ssh:///acme/checks.git","clone_url":"/acme/checks.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"head":{"label":"u1","ref":"u1","sha":"","repo_id":"","repo":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"checks","full_name":"acme/checks","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/checks/languages","html_url":"/acme/checks","url":"/api/v1/repos/acme/checks","link":"","ssh_url":"ssh:///acme/checks.git","clone_url":"/acme/checks.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":2,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}},"merge_base":"","due_date":null,"created_at":"","updated_at":"","closed_at":"","pin_order":0,"content_version":0},"volatile":["mergeable"]}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":405,"request":{"Do":"merge"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"Not all required status checks successful","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/checks/pulls//merge","auth":"bot-scoped","status":200,"request":{"Do":"merge"},"headers":{},"body_text":""}, +{"kind":"http","method":"DELETE","path":"/api/v1/repos/acme/checks/branch_protections/main","auth":"admin","status":204,"headers":{},"body_text":""} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/V-smart-http-bytes.json b/crates/forge/conformance/fixtures/1.26.2/V-smart-http-bytes.json index 1027649e..cf7c7c2e 100644 --- a/crates/forge/conformance/fixtures/1.26.2/V-smart-http-bytes.json +++ b/crates/forge/conformance/fixtures/1.26.2/V-smart-http-bytes.json @@ -1,259 +1,25 @@ -{ - "scenario": "V", - "title": "smart-http-bytes", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement", - "cache-control": "no-cache, max-age=0, must-revalidate", - "expires": "Fri, 01 Jan 1980 00:00:00 GMT", - "pragma": "no-cache" - }, - "body_text": "001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n0000", - "must_contain": [ - "001e# service=git-upload-pack\n0000" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement", - "cache-control": "no-cache, max-age=0, must-revalidate", - "expires": "Fri, 01 Jan 1980 00:00:00 GMT", - "pragma": "no-cache" - }, - "body_text": "001f# service=git-receive-pack\n000000c4 refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n0000", - "must_contain": [ - "001f# service=git-receive-pack\n0000" - ], - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_text": "Unauthorized\n", - "volatile": [ - "$text" - ] - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement", - "cache-control": "no-cache, max-age=0, must-revalidate" - }, - "body_text": "001e# service=git-upload-pack\n0000000eversion 2\n001bagent=git/2.52.0-Linux\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "v2_advert_first_bytes", - "value": "001e# service=git-upload-pack\\n0000000eversion ", - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-advertisement" - }, - "body_text": "001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "v0_upload_preamble", - "value": "001e# service=git-upload-pack\\n0000", - "strict": true - }, - { - "kind": "note", - "key": "v0_upload_capabilities", - "value": "multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/", - "strict": false - }, - { - "kind": "note", - "key": "v0_upload_first_pkt_prefix", - "value": "014c", - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/info/refs?service=git-receive-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-receive-pack-advertisement" - }, - "body_text": "001f# service=git-receive-pack\n000000c4 refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n0000", - "volatile": [ - "$text" - ] - }, - { - "kind": "note", - "key": "receive_preamble", - "value": "001f# service=git-receive-pack\\n0000", - "strict": true - }, - { - "kind": "note", - "key": "receive_capabilities", - "value": "report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/", - "strict": false - }, - { - "kind": "note", - "key": "receive_first_pkt_prefix", - "value": "00c4", - "strict": false - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/HEAD", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "text/plain" - }, - "body_text": "ref: refs/heads/main\n" - }, - { - "kind": "http", - "method": "GET", - "path": "/acme/wire.git/objects/info/packs", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-result", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_prefix_hex": "30303038", - "archive_error": "not a zip or tar.gz" - }, - { - "kind": "note", - "key": "plain_upload_pack_response_head", - "value": "0008NAK\n", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "admin-tokbasic", - "status": 200, - "headers": { - "content-type": "application/x-git-upload-pack-result", - "cache-control": "max-age=0, private, must-revalidate, no-transform" - }, - "body_prefix_hex": "30303038", - "archive_error": "not a zip or tar.gz" - }, - { - "kind": "note", - "key": "gzip_upload_pack_response_head", - "value": "0008NAK\n", - "strict": true - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-receive-pack", - "auth": "none", - "status": 401, - "headers": { - "content-type": "text/plain;charset=utf-8", - "www-authenticate": "Basic realm=\"Gitea\"" - }, - "body_text": "Unauthorized\n" - }, - { - "kind": "http", - "method": "POST", - "path": "/acme/wire.git/git-upload-pack", - "auth": "dave-tokbasic", - "status": 404, - "headers": { - "content-type": "text/plain;charset=utf-8" - }, - "body_text": "Repository not found" - } - ] -} +{"scenario":"V","title":"smart-http-bytes","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement","cache-control":"no-cache, max-age=0, must-revalidate","expires":"Fri, 01 Jan 1980 00:00:00 GMT","pragma":"no-cache"},"body_text":"001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n0000","must_contain":["001e# service=git-upload-pack\n0000"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\"","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement","cache-control":"no-cache, max-age=0, must-revalidate","expires":"Fri, 01 Jan 1980 00:00:00 GMT","pragma":"no-cache"},"body_text":"001f# service=git-receive-pack\n000000c4 refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n0000","must_contain":["001f# service=git-receive-pack\n0000"],"volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\"","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_text":"Unauthorized\n","volatile":["$text"]}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement","cache-control":"no-cache, max-age=0, must-revalidate"},"body_text":"001e# service=git-upload-pack\n0000000eversion 2\n001bagent=git/2.52.0-Linux\n0013ls-refs=unborn\n0027fetch=shallow wait-for-done filter\n0012server-option\n0017object-format=sha1\n0000","volatile":["$text"]}, +{"kind":"note","key":"v2_advert_first_bytes","value":"001e# service=git-upload-pack\\n0000000eversion ","strict":true}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-advertisement"},"body_text":"001e# service=git-upload-pack\n0000014c HEAD\\0multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/2.52.0-Linux\n003d refs/heads/main\n0000","volatile":["$text"]}, +{"kind":"note","key":"v0_upload_preamble","value":"001e# service=git-upload-pack\\n0000","strict":true}, +{"kind":"note","key":"v0_upload_capabilities","value":"multi_ack thin-pack side-band side-band-64k ofs-delta shallow deepen-since deepen-not deepen-relative no-progress include-tag multi_ack_detailed allow-tip-sha1-in-want allow-reachable-sha1-in-want no-done symref=HEAD:refs/heads/main filter object-format=sha1 agent=git/","strict":false}, +{"kind":"note","key":"v0_upload_first_pkt_prefix","value":"014c","strict":false}, +{"kind":"http","method":"GET","path":"/acme/wire.git/info/refs?service=git-receive-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-receive-pack-advertisement"},"body_text":"001f# service=git-receive-pack\n000000c4 refs/heads/main\\0report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/2.52.0-Linux\n0000","volatile":["$text"]}, +{"kind":"note","key":"receive_preamble","value":"001f# service=git-receive-pack\\n0000","strict":true}, +{"kind":"note","key":"receive_capabilities","value":"report-status report-status-v2 delete-refs side-band-64k quiet atomic ofs-delta push-options object-format=sha1 agent=git/","strict":false}, +{"kind":"note","key":"receive_first_pkt_prefix","value":"00c4","strict":false}, +{"kind":"http","method":"GET","path":"/acme/wire.git/HEAD","auth":"admin-tokbasic","status":200,"headers":{"content-type":"text/plain"},"body_text":"ref: refs/heads/main\n"}, +{"kind":"http","method":"GET","path":"/acme/wire.git/objects/info/packs","auth":"admin-tokbasic","status":200,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"\n"}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-result","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_prefix_hex":"30303038","archive_error":"not a zip or tar.gz"}, +{"kind":"note","key":"plain_upload_pack_response_head","value":"0008NAK\n","strict":true}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"admin-tokbasic","status":200,"headers":{"content-type":"application/x-git-upload-pack-result","cache-control":"max-age=0, private, must-revalidate, no-transform"},"body_prefix_hex":"30303038","archive_error":"not a zip or tar.gz"}, +{"kind":"note","key":"gzip_upload_pack_response_head","value":"0008NAK\n","strict":true}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n"}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-receive-pack","auth":"none","status":401,"headers":{"content-type":"text/plain;charset=utf-8","www-authenticate":"Basic realm=\"Gitea\""},"body_text":"Unauthorized\n"}, +{"kind":"http","method":"POST","path":"/acme/wire.git/git-upload-pack","auth":"dave-tokbasic","status":404,"headers":{"content-type":"text/plain;charset=utf-8"},"body_text":"Repository not found"} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/W-protected-contents.json b/crates/forge/conformance/fixtures/1.26.2/W-protected-contents.json index 04db16ab..58a72f13 100644 --- a/crates/forge/conformance/fixtures/1.26.2/W-protected-contents.json +++ b/crates/forge/conformance/fixtures/1.26.2/W-protected-contents.json @@ -1,697 +1,13 @@ -{ - "scenario": "W", - "title": "protected-contents", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/branch_protections", - "auth": "admin", - "status": 201, - "request": { - "branch_name": "main", - "enable_push": true - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": false, - "status_check_contexts": null, - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w1-bot.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "create on main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w1-bot.txt", - "path": "w1-bot.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w1-bot.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w1-bot.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w1-bot.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create on main\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w1-admin.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "eAo=", - "message": "create on main", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w1-admin.txt", - "path": "w1-admin.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w1-admin.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w1-admin.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w1-admin.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create on main\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/pcont/contents/README.md", - "auth": "bot", - "status": 200, - "request": { - "content": "cHVzaGFibGUK", - "message": "update on main", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 9, - "encoding": "base64", - "content": "cHVzaGFibGUK", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "html_url": "/acme/pcont/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/README.md" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update on main\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PATCH", - "path": "/api/v1/repos/acme/pcont/branch_protections/main", - "auth": "admin", - "status": 200, - "request": { - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w2-bot.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "create, check unmet", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w2-bot.txt", - "path": "w2-bot.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w2-bot.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w2-bot.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w2-bot.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create, check unmet\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w2-admin.txt", - "auth": "admin", - "status": 201, - "request": { - "content": "eAo=", - "message": "create, check unmet", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w2-admin.txt", - "path": "w2-admin.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w2-admin.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w2-admin.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w2-admin.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "committer": { - "name": "", - "email": "admin@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create, check unmet\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "PUT", - "path": "/api/v1/repos/acme/pcont/contents/README.md", - "auth": "bot", - "status": 200, - "request": { - "content": "YWdhaW4K", - "message": "update, check unmet", - "sha": "", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "README.md", - "path": "README.md", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 6, - "encoding": "base64", - "content": "YWdhaW4K", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "html_url": "/acme/pcont/src/branch/main/README.md", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/README.md", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/README.md?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/README.md" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "update, check unmet\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "git", - "name": "ff-push-enable-push-status-unmet", - "cmd": "git push origin HEAD:refs/heads/main", - "ok": true, - "output": "remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/pcont.git\n .. HEAD -> main" - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/pcont/contents/w3-bot.txt", - "auth": "bot", - "status": 201, - "request": { - "content": "eAo=", - "message": "create, check met", - "branch": "main" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "content": { - "name": "w3-bot.txt", - "path": "w3-bot.txt", - "sha": "", - "last_commit_sha": "", - "last_committer_date": "", - "last_author_date": "", - "type": "file", - "size": 2, - "encoding": "base64", - "content": "eAo=", - "target": null, - "url": "/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main", - "html_url": "/acme/pcont/src/branch/main/w3-bot.txt", - "git_url": "/api/v1/repos/acme/pcont/git/blobs/", - "download_url": "/acme/pcont/raw/branch/main/w3-bot.txt", - "submodule_git_url": null, - "_links": { - "self": "/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main", - "git": "/api/v1/repos/acme/pcont/git/blobs/", - "html": "/acme/pcont/src/branch/main/w3-bot.txt" - } - }, - "commit": { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "", - "html_url": "/acme/pcont/commit/", - "author": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "committer": { - "name": "bot", - "email": "bot@example.invalid", - "date": "" - }, - "parents": [ - { - "url": "/api/v1/repos/acme/pcont/git/commits/", - "sha": "", - "created": "" - } - ], - "message": "create, check met\n", - "tree": { - "url": "/api/v1/repos/acme/pcont/git/trees/", - "sha": "", - "created": "" - } - }, - "verification": { - "verified": false, - "reason": "gpg.error.not_signed_commit", - "signature": "", - "signer": null, - "payload": "" - } - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/pcont/branch_protections/main", - "auth": "admin", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "branch_name": "main", - "rule_name": "main", - "priority": 1, - "enable_push": true, - "enable_push_whitelist": false, - "push_whitelist_usernames": [], - "push_whitelist_teams": [], - "push_whitelist_deploy_keys": false, - "enable_force_push": false, - "enable_force_push_allowlist": false, - "force_push_allowlist_usernames": [], - "force_push_allowlist_teams": [], - "force_push_allowlist_deploy_keys": false, - "enable_merge_whitelist": false, - "merge_whitelist_usernames": [], - "merge_whitelist_teams": [], - "enable_status_check": true, - "status_check_contexts": [ - "ci/test" - ], - "required_approvals": 0, - "enable_approvals_whitelist": false, - "approvals_whitelist_username": [], - "approvals_whitelist_teams": [], - "block_on_rejected_reviews": false, - "block_on_official_review_requests": false, - "block_on_outdated_branch": false, - "dismiss_stale_approvals": false, - "ignore_stale_approvals": false, - "require_signed_commits": false, - "protected_file_patterns": "", - "unprotected_file_patterns": "", - "block_admin_merge_override": false, - "created_at": "", - "updated_at": "" - } - } - ] -} +{"scenario":"W","title":"protected-contents","error":null,"exchanges":[ +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/branch_protections","auth":"admin","status":201,"request":{"branch_name":"main","enable_push":true},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":false,"status_check_contexts":null,"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w1-bot.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"create on main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w1-bot.txt","path":"w1-bot.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w1-bot.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w1-bot.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w1-bot.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w1-bot.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create on main\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w1-admin.txt","auth":"admin","status":201,"request":{"content":"eAo=","message":"create on main","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w1-admin.txt","path":"w1-admin.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w1-admin.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w1-admin.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w1-admin.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w1-admin.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create on main\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/pcont/contents/README.md","auth":"bot","status":200,"request":{"content":"cHVzaGFibGUK","message":"update on main","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":9,"encoding":"base64","content":"cHVzaGFibGUK","target":null,"url":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","html_url":"/acme/pcont/src/branch/main/README.md","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/README.md"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"update on main\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PATCH","path":"/api/v1/repos/acme/pcont/branch_protections/main","auth":"admin","status":200,"request":{"enable_status_check":true,"status_check_contexts":["ci/test"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w2-bot.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"create, check unmet","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w2-bot.txt","path":"w2-bot.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w2-bot.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w2-bot.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w2-bot.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w2-bot.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create, check unmet\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w2-admin.txt","auth":"admin","status":201,"request":{"content":"eAo=","message":"create, check unmet","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w2-admin.txt","path":"w2-admin.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w2-admin.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w2-admin.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w2-admin.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w2-admin.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"","email":"admin@example.invalid","date":""},"committer":{"name":"","email":"admin@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create, check unmet\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"PUT","path":"/api/v1/repos/acme/pcont/contents/README.md","auth":"bot","status":200,"request":{"content":"YWdhaW4K","message":"update, check unmet","sha":"","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"README.md","path":"README.md","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":6,"encoding":"base64","content":"YWdhaW4K","target":null,"url":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","html_url":"/acme/pcont/src/branch/main/README.md","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/README.md","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/README.md?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/README.md"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"update, check unmet\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"git","name":"ff-push-enable-push-status-unmet","cmd":"git push origin HEAD:refs/heads/main","ok":true,"output":"remote: . Processing 1 references \nremote: Processed 1 references in total \nTo /acme/pcont.git\n .. HEAD -> main"}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/pcont/contents/w3-bot.txt","auth":"bot","status":201,"request":{"content":"eAo=","message":"create, check met","branch":"main"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"content":{"name":"w3-bot.txt","path":"w3-bot.txt","sha":"","last_commit_sha":"","last_committer_date":"","last_author_date":"","type":"file","size":2,"encoding":"base64","content":"eAo=","target":null,"url":"/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main","html_url":"/acme/pcont/src/branch/main/w3-bot.txt","git_url":"/api/v1/repos/acme/pcont/git/blobs/","download_url":"/acme/pcont/raw/branch/main/w3-bot.txt","submodule_git_url":null,"_links":{"self":"/api/v1/repos/acme/pcont/contents/w3-bot.txt?ref=main","git":"/api/v1/repos/acme/pcont/git/blobs/","html":"/acme/pcont/src/branch/main/w3-bot.txt"}},"commit":{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":"","html_url":"/acme/pcont/commit/","author":{"name":"bot","email":"bot@example.invalid","date":""},"committer":{"name":"bot","email":"bot@example.invalid","date":""},"parents":[{"url":"/api/v1/repos/acme/pcont/git/commits/","sha":"","created":""}],"message":"create, check met\n","tree":{"url":"/api/v1/repos/acme/pcont/git/trees/","sha":"","created":""}},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""}}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/pcont/branch_protections/main","auth":"admin","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"branch_name":"main","rule_name":"main","priority":1,"enable_push":true,"enable_push_whitelist":false,"push_whitelist_usernames":[],"push_whitelist_teams":[],"push_whitelist_deploy_keys":false,"enable_force_push":false,"enable_force_push_allowlist":false,"force_push_allowlist_usernames":[],"force_push_allowlist_teams":[],"force_push_allowlist_deploy_keys":false,"enable_merge_whitelist":false,"merge_whitelist_usernames":[],"merge_whitelist_teams":[],"enable_status_check":true,"status_check_contexts":["ci/test"],"required_approvals":0,"enable_approvals_whitelist":false,"approvals_whitelist_username":[],"approvals_whitelist_teams":[],"block_on_rejected_reviews":false,"block_on_official_review_requests":false,"block_on_outdated_branch":false,"dismiss_stale_approvals":false,"ignore_stale_approvals":false,"require_signed_commits":false,"protected_file_patterns":"","unprotected_file_patterns":"","block_admin_merge_override":false,"created_at":"","updated_at":""}} +]} diff --git a/crates/forge/conformance/fixtures/1.26.2/X-auth-forms.json b/crates/forge/conformance/fixtures/1.26.2/X-auth-forms.json index c5f0cd6c..c78a472f 100644 --- a/crates/forge/conformance/fixtures/1.26.2/X-auth-forms.json +++ b/crates/forge/conformance/fixtures/1.26.2/X-auth-forms.json @@ -1,1609 +1,36 @@ -{ - "scenario": "X", - "title": "auth-forms", - "error": null, - "exchanges": [ - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot", - "status": 201, - "request": { - "state": "success", - "context": "auth-0" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-0", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-bearer", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-bearer", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-bearer", - "status": 201, - "request": { - "state": "success", - "context": "auth-1" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-1", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-token-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-token-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-token-password", - "status": 201, - "request": { - "state": "success", - "context": "auth-2" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-2", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-token-user", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-token-user", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-token-user", - "status": 201, - "request": { - "state": "success", - "context": "auth-3" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-3", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-oauth2", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-oauth2", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-oauth2", - "status": 201, - "request": { - "state": "success", - "context": "auth-4" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-4", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-other-name", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-other-name", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-other-name", - "status": 201, - "request": { - "state": "success", - "context": "auth-5" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-5", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bot-basic-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "bot@example.invalid", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bot-basic-password", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "owner": { - "id": "", - "login": "acme", - "login_name": "", - "source_id": "", - "full_name": "Acme", - "email": "", - "avatar_url": "/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6", - "html_url": "/acme", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "private", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "acme" - }, - "name": "authrepo", - "full_name": "acme/authrepo", - "description": "", - "empty": false, - "private": true, - "fork": false, - "template": false, - "mirror": false, - "size": 23, - "language": "", - "languages_url": "/api/v1/repos/acme/authrepo/languages", - "html_url": "/acme/authrepo", - "url": "/api/v1/repos/acme/authrepo", - "link": "", - "ssh_url": "ssh:///acme/authrepo.git", - "clone_url": "/acme/authrepo.git", - "original_url": "", - "website": "", - "stars_count": 0, - "forks_count": 0, - "watchers_count": 1, - "branch_count": 1, - "open_issues_count": 0, - "open_pr_counter": 0, - "release_counter": 0, - "default_branch": "main", - "archived": false, - "created_at": "", - "updated_at": "", - "archived_at": "", - "permissions": { - "admin": false, - "push": true, - "pull": true - }, - "has_code": true, - "has_issues": true, - "internal_tracker": { - "enable_time_tracker": true, - "allow_only_contributors_to_track_time": true, - "enable_issue_dependencies": true - }, - "has_wiki": true, - "has_pull_requests": true, - "has_projects": true, - "projects_mode": "all", - "has_releases": true, - "has_packages": true, - "has_actions": false, - "ignore_whitespace_conflicts": false, - "allow_merge_commits": true, - "allow_rebase": true, - "allow_rebase_explicit": true, - "allow_squash_merge": true, - "allow_fast_forward_only_merge": true, - "allow_rebase_update": true, - "allow_manual_merge": false, - "autodetect_manual_merge": false, - "default_delete_branch_after_merge": false, - "default_merge_style": "merge", - "default_allow_maintainer_edit": true, - "avatar_url": "", - "internal": false, - "mirror_interval": "", - "object_format_name": "sha1", - "mirror_updated": "", - "topics": [], - "licenses": [] - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bot-basic-password", - "status": 201, - "request": { - "state": "success", - "context": "auth-6" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "status": "success", - "target_url": "", - "description": "", - "url": "/api/v1/repos/acme/authrepo/statuses/", - "context": "auth-6", - "creator": { - "id": "", - "login": "bot", - "login_name": "", - "source_id": "", - "full_name": "", - "email": "3+bot@noreply.localhost", - "avatar_url": "/avatars/588cf1ed573d796ba072435cf9899ab3", - "html_url": "/bot", - "language": "", - "is_admin": false, - "last_login": "", - "created": "", - "restricted": false, - "active": false, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "bot" - }, - "created_at": "", - "updated_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bad-bearer", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bad-bearer", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bad-bearer", - "status": 401, - "request": { - "state": "success", - "context": "auth-7" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "bad-basic-token-user", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/repos/acme/authrepo", - "auth": "bad-basic-token-user", - "status": 401, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/repos/acme/authrepo/statuses/", - "auth": "bad-basic-token-user", - "status": 401, - "request": { - "state": "success", - "context": "auth-8" - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "invalid username, password or token", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/user", - "auth": "siteowner-pw", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "login": "siteowner", - "login_name": "siteowner", - "source_id": "", - "full_name": "", - "email": "siteowner@example.invalid", - "avatar_url": "/avatars/870bfdc3421389d1a95662814583521b", - "html_url": "/siteowner", - "language": "", - "is_admin": true, - "last_login": "", - "created": "", - "restricted": false, - "active": true, - "prohibit_login": false, - "location": "", - "website": "", - "description": "", - "visibility": "public", - "followers_count": 0, - "following_count": 0, - "starred_repos_count": 0, - "username": "siteowner" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "siteowner-pw", - "status": 201, - "request": { - "name": "by-site-admin-password", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "id": "", - "name": "by-site-admin-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - } - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/bot/tokens", - "auth": "siteowner-pw", - "status": 200, - "headers": { - "content-type": "application/json;charset=utf-8", - "x-total-count": "3" - }, - "body": [ - { - "id": "", - "name": "by-site-admin-password", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:repository" - ], - "created_at": "", - "last_used_at": "" - }, - { - "id": "", - "name": "scoped", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "read:organization", - "write:repository", - "read:user" - ], - "created_at": "", - "last_used_at": "" - }, - { - "id": "", - "name": "all", - "sha1": "", - "token_last_eight": "", - "scopes": [ - "all" - ], - "created_at": "", - "last_used_at": "" - } - ], - "volatile": [ - "id", - "name", - "scopes" - ] - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/bot/tokens", - "auth": "admin", - "status": 401, - "request": { - "name": "by-admin-token", - "scopes": [ - "read:repository" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "auth required", - "url": "/api/swagger" - } - }, - { - "kind": "http", - "method": "POST", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro-as-password", - "status": 403, - "request": { - "name": "minted-by-readonly-token", - "scopes": [ - "all" - ] - }, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[write:user], token scope=read:repository", - "url": "/api/swagger" - } - }, - { - "kind": "note", - "key": "readonly_token_as_password_status", - "value": 403, - "strict": true - }, - { - "kind": "http", - "method": "GET", - "path": "/api/v1/users/alice/tokens", - "auth": "alice-ro-as-password", - "status": 403, - "headers": { - "content-type": "application/json;charset=utf-8" - }, - "body": { - "message": "token does not have at least one of required scope(s), required=[read:user], token scope=read:repository", - "url": "/api/swagger" - }, - "volatile": [ - "id", - "name", - "scopes" - ] - } - ] -} +{"scenario":"X","title":"auth-forms","error":null,"exchanges":[ +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot","status":201,"request":{"state":"success","context":"auth-0"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-0","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-bearer","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-bearer","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-bearer","status":201,"request":{"state":"success","context":"auth-1"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-1","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-token-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-token-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-token-password","status":201,"request":{"state":"success","context":"auth-2"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-2","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-token-user","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-token-user","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-token-user","status":201,"request":{"state":"success","context":"auth-3"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-3","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-oauth2","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-oauth2","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-oauth2","status":201,"request":{"state":"success","context":"auth-4"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-4","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-other-name","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-other-name","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-other-name","status":201,"request":{"state":"success","context":"auth-5"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-5","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bot-basic-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"bot@example.invalid","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bot-basic-password","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","owner":{"id":"","login":"acme","login_name":"","source_id":"","full_name":"Acme","email":"","avatar_url":"/avatars/53bce4f1dfa0fe8e7ca126f91b35d3a6","html_url":"/acme","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"acme"},"name":"authrepo","full_name":"acme/authrepo","description":"","empty":false,"private":true,"fork":false,"template":false,"mirror":false,"size":23,"language":"","languages_url":"/api/v1/repos/acme/authrepo/languages","html_url":"/acme/authrepo","url":"/api/v1/repos/acme/authrepo","link":"","ssh_url":"ssh:///acme/authrepo.git","clone_url":"/acme/authrepo.git","original_url":"","website":"","stars_count":0,"forks_count":0,"watchers_count":1,"branch_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"main","archived":false,"created_at":"","updated_at":"","archived_at":"","permissions":{"admin":false,"push":true,"pull":true},"has_code":true,"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"has_projects":true,"projects_mode":"all","has_releases":true,"has_packages":true,"has_actions":false,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"allow_fast_forward_only_merge":true,"allow_rebase_update":true,"allow_manual_merge":false,"autodetect_manual_merge":false,"default_delete_branch_after_merge":false,"default_merge_style":"merge","default_allow_maintainer_edit":true,"avatar_url":"","internal":false,"mirror_interval":"","object_format_name":"sha1","mirror_updated":"","topics":[],"licenses":[]}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bot-basic-password","status":201,"request":{"state":"success","context":"auth-6"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","status":"success","target_url":"","description":"","url":"/api/v1/repos/acme/authrepo/statuses/","context":"auth-6","creator":{"id":"","login":"bot","login_name":"","source_id":"","full_name":"","email":"3+bot@noreply.localhost","avatar_url":"/avatars/588cf1ed573d796ba072435cf9899ab3","html_url":"/bot","language":"","is_admin":false,"last_login":"","created":"","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"bot"},"created_at":"","updated_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bad-bearer","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bad-bearer","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bad-bearer","status":401,"request":{"state":"success","context":"auth-7"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"bad-basic-token-user","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/repos/acme/authrepo","auth":"bad-basic-token-user","status":401,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/repos/acme/authrepo/statuses/","auth":"bad-basic-token-user","status":401,"request":{"state":"success","context":"auth-8"},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"invalid username, password or token","url":"/api/swagger"}}, +{"kind":"http","method":"GET","path":"/api/v1/user","auth":"siteowner-pw","status":200,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","login":"siteowner","login_name":"siteowner","source_id":"","full_name":"","email":"siteowner@example.invalid","avatar_url":"/avatars/870bfdc3421389d1a95662814583521b","html_url":"/siteowner","language":"","is_admin":true,"last_login":"","created":"","restricted":false,"active":true,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"siteowner"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"siteowner-pw","status":201,"request":{"name":"by-site-admin-password","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"id":"","name":"by-site-admin-password","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""}}, +{"kind":"http","method":"GET","path":"/api/v1/users/bot/tokens","auth":"siteowner-pw","status":200,"headers":{"content-type":"application/json;charset=utf-8","x-total-count":"3"},"body":[{"id":"","name":"by-site-admin-password","sha1":"","token_last_eight":"","scopes":["read:repository"],"created_at":"","last_used_at":""},{"id":"","name":"scoped","sha1":"","token_last_eight":"","scopes":["read:organization","write:repository","read:user"],"created_at":"","last_used_at":""},{"id":"","name":"all","sha1":"","token_last_eight":"","scopes":["all"],"created_at":"","last_used_at":""}],"volatile":["id","name","scopes"]}, +{"kind":"http","method":"POST","path":"/api/v1/users/bot/tokens","auth":"admin","status":401,"request":{"name":"by-admin-token","scopes":["read:repository"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"auth required","url":"/api/swagger"}}, +{"kind":"http","method":"POST","path":"/api/v1/users/alice/tokens","auth":"alice-ro-as-password","status":403,"request":{"name":"minted-by-readonly-token","scopes":["all"]},"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[write:user], token scope=read:repository","url":"/api/swagger"}}, +{"kind":"note","key":"readonly_token_as_password_status","value":403,"strict":true}, +{"kind":"http","method":"GET","path":"/api/v1/users/alice/tokens","auth":"alice-ro-as-password","status":403,"headers":{"content-type":"application/json;charset=utf-8"},"body":{"message":"token does not have at least one of required scope(s), required=[read:user], token scope=read:repository","url":"/api/swagger"},"volatile":["id","name","scopes"]} +]} diff --git a/crates/forge/conformance/forge-check.sh b/crates/forge/conformance/forge-check.sh index 2fdf7e0f..e3798bde 100755 --- a/crates/forge/conformance/forge-check.sh +++ b/crates/forge/conformance/forge-check.sh @@ -5,6 +5,8 @@ set -euo pipefail here="$(cd "$(dirname "$0")" && pwd)" root="$(cd "$here/../../.." && pwd)" +# Offline: the fixture writer round-trips and every stored fixture is in canonical compact form. +python3 -I "$here/run.py" selftest cargo build --quiet --manifest-path "$root/Cargo.toml" -p scl-forge bin="${CARGO_TARGET_DIR:-$root/target}/debug/sc-forge" data="$(mktemp -d)" diff --git a/crates/forge/conformance/run.py b/crates/forge/conformance/run.py index a778fc1b..81b88f6b 100644 --- a/crates/forge/conformance/run.py +++ b/crates/forge/conformance/run.py @@ -910,6 +910,16 @@ def scan_fixtures(out, secret_values): return hits +def dump_fixture(obj, f): + """Write a scenario fixture compactly: the header keys on one line, then one exchange per line, so a + diff still reads per exchange but the file is roughly half the size of indented JSON.""" + head = {k: v for k, v in obj.items() if k != "exchanges"} + h = J.dumps(head, separators=(",", ":"))[:-1] + f.write(h + (',' if head else '') + '"exchanges":[\n') + f.write(",\n".join(J.dumps(e, separators=(",", ":")) for e in obj["exchanges"])) + f.write("\n]}\n") + + def run_all(c, only, out=None, fixtures=None, departures=(), pending=None): """Run every scenario in order (they read earlier state); `only` filters what is reported/written. @@ -983,8 +993,7 @@ def run_all(c, only, out=None, fixtures=None, departures=(), pending=None): if c.mode == "record": os.makedirs(out, exist_ok=True) with open(os.path.join(out, fname), "w") as f: - J.dump({"scenario": sid, "title": slug, "error": err, "exchanges": c.ex}, f, indent=2) - f.write("\n") + dump_fixture({"scenario": sid, "title": slug, "error": err, "exchanges": c.ex}, f) summary.append((sid, slug, "ERROR" if err else "ok", [err] if err else [], len(c.ex), dt)) continue lines, nfail = [], 0 @@ -1136,6 +1145,41 @@ def cmd_show(a): return 0 +def cmd_selftest(a): + """Offline checks of the fixture writer: it round-trips awkward values, and every stored fixture is exactly + what `dump_fixture` would write (so a hand-edited or re-indented file is caught).""" + import io + sample = {"scenario": "Z", "title": "t", "error": "line1\nline2 \u00e4 \"q\"", "exchanges": [ + {"kind": "http", "method": "GET", "path": "/a?b=1&c=\u00e4", "status": 200, "body": {"k": [1, 2.5, None, True, "x\ty"]}}, + {"kind": "note", "key": "n", "value": {"nested": {"a": []}}}]} + for obj in (sample, dict(sample, exchanges=[])): + buf = io.StringIO() + dump_fixture(obj, buf) + text = buf.getvalue() + assert J.loads(text) == obj, "round trip" + assert text.endswith("]}\n"), "ends the object on its own line" + n = len(obj["exchanges"]) + assert text.count("\n") == (n + 2 if n else 3), "header line, one line per exchange, closing line" + assert all("\n" not in J.dumps(e) for e in obj["exchanges"]) + bad = [] + for d in sorted(os.listdir(a.fixtures_root)): + full = os.path.join(a.fixtures_root, d) + if not os.path.isdir(full): + continue + for fn in sorted(os.listdir(full)): + if not fn.endswith(".json") or fn == "meta.json": + continue + raw = open(os.path.join(full, fn)).read() + buf = io.StringIO() + dump_fixture(J.loads(raw), buf) + if buf.getvalue() != raw: + bad.append(f"{d}/{fn}") + for b in bad: + print(f"not in canonical compact form: {b}") + print("selftest ok" if not bad else f"selftest FAILED: {len(bad)} file(s)") + return 1 if bad else 0 + + def main(): ap = argparse.ArgumentParser(prog="run.py") sub = ap.add_subparsers(dest="cmd", required=True) @@ -1158,13 +1202,15 @@ def main(): p = sub.add_parser("diff") p.add_argument("a") p.add_argument("b") + p = sub.add_parser("selftest", help="offline checks of the fixture writer and the stored fixtures") + p.add_argument("--fixtures-root", dest="fixtures_root", default=os.path.join(os.path.dirname(os.path.abspath(__file__)), "fixtures")) p = sub.add_parser("show") p.add_argument("dir") p.add_argument("--only") p.add_argument("--body", action="store_true") p.add_argument("--limit", type=int, default=600) a = ap.parse_args() - sys.exit({"record": cmd_run, "check": cmd_run, "diff": cmd_diff, "show": cmd_show}[a.cmd](a)) + sys.exit({"record": cmd_run, "check": cmd_run, "diff": cmd_diff, "show": cmd_show, "selftest": cmd_selftest}[a.cmd](a)) # =========================================================================== scenarios