https
GET
api.github.com
None
/repos/PyGithub/PyGithub/rulesets?includes_parents=true&per_page=1
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Tue, 04 Feb 2025 15:24:09 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"7b5b033aa68278604d08ee7e746bd32decbf308c356048863e545662476f4939"'), ('github-authentication-token-expiration', '2025-02-21 11:42:01 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('Link', '<https://api.github.com/repositories/924735381/rulesets?includes_parents=true&per_page=1&page=2>; rel="next", <https://api.github.com/repositories/924735381/rulesets?includes_parents=true&per_page=1&page=2>; rel="last"'), ('x-accepted-github-permissions', 'metadata=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4996'), ('X-RateLimit-Reset', '1738686203'), ('X-RateLimit-Used', '4'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-GitHub-Request-Id', '5D36:90F98:6E8F:72E3:67A23119')]
[{"id":3474546,"name":"main protection","target":"branch","source_type":"Repository","source":"PyGithub/PyGithub","enforcement":"active","node_id":"RRS_lACqUmVwb3NpdG9yec43HleVzgA1BHI","_links":{"self":{"href":"https://api.github.com/repos/PyGithub/PyGithub/rulesets/3474546"},"html":{"href":"https://github.com/PyGithub/PyGithub/rules/3474546"}},"created_at":"2025-01-30T22:27:33.194+01:00","updated_at":"2025-01-30T22:27:33.194+01:00"}]

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/rulesets?includes_parents=true
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Tue, 04 Feb 2025 15:24:10 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"ebb68e7e2337e15777c9c1a78aebb74f62394f1a61c27886d9ba219dc9072edf"'), ('github-authentication-token-expiration', '2025-02-21 11:42:01 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'metadata=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4995'), ('X-RateLimit-Reset', '1738686203'), ('X-RateLimit-Used', '5'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-GitHub-Request-Id', 'FDA4:109D0A:A6AF:AC6C:67A23119')]
[{"id":3474546,"name":"main protection","target":"branch","source_type":"Repository","source":"PyGithub/PyGithub","enforcement":"active","node_id":"RRS_lACqUmVwb3NpdG9yec43HleVzgA1BHI","_links":{"self":{"href":"https://api.github.com/repos/PyGithub/PyGithub/rulesets/3474546"},"html":{"href":"https://github.com/PyGithub/PyGithub/rules/3474546"}},"created_at":"2025-01-30T22:27:33.194+01:00","updated_at":"2025-01-30T22:27:33.194+01:00"},{"id":3474551,"name":"require signed commits","target":"branch","source_type":"Repository","source":"PyGithub/PyGithub","enforcement":"active","node_id":"RRS_lACqUmVwb3NpdG9yec43HleVzgA1BHc","_links":{"self":{"href":"https://api.github.com/repos/PyGithub/PyGithub/rulesets/3474551"},"html":{"href":"https://github.com/PyGithub/PyGithub/rules/3474551"}},"created_at":"2025-01-30T22:29:09.256+01:00","updated_at":"2025-01-30T22:29:09.256+01:00"}]

https
GET
api.github.com
None
/repos/PyGithub/PyGithub/rulesets/3474546
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('Date', 'Tue, 04 Feb 2025 15:24:10 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', 'W/"fe040d2d371df1a76ab4f413c8712f59b01d9ee2b218488af0806718007d6b54"'), ('github-authentication-token-expiration', '2025-02-21 11:42:01 +0100'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'metadata=read'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4994'), ('X-RateLimit-Reset', '1738686203'), ('X-RateLimit-Used', '6'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Content-Encoding', 'gzip'), ('Transfer-Encoding', 'chunked'), ('Server', 'github.com'), ('X-GitHub-Request-Id', '4A41:E028B:229A:2478:67A2311A')]
{"id":3474546,"name":"main protection","target":"branch","source_type":"Repository","source":"PyGithub/PyGithub","enforcement":"active","conditions":{"ref_name":{"exclude":[],"include":["refs/heads/master", "refs/heads/main"]}},"rules":[{"type":"deletion"},{"type":"non_fast_forward"},{"type":"creation"},{"type":"update","parameters":{"update_allows_fetch_and_merge":true}},{"type":"required_signatures"},{"type":"pull_request","parameters":{"required_approving_review_count":0,"dismiss_stale_reviews_on_push":false,"require_code_owner_review":false,"require_last_push_approval":false,"required_review_thread_resolution":false,"automatic_copilot_code_review_enabled":false,"allowed_merge_methods":["merge","squash","rebase"]}}],"node_id":"RRS_lACqUmVwb3NpdG9yec43HleVzgA1BHI","created_at":"2025-01-30T22:27:33.194+01:00","updated_at":"2025-01-30T22:27:33.194+01:00","bypass_actors":[{"actor_id":5,"actor_type":"RepositoryRole","bypass_mode":"always"}],"current_user_can_bypass":"always","_links":{"self":{"href":"https://api.github.com/repos/PyGithub/PyGithub/rulesets/3474546"},"html":{"href":"https://github.com/PyGithub/PyGithub/rules/3474546"}}}
