https
POST
api.github.com
None
/repos/PyGithub/PyGithub/deployments
{'Accept': 'application/vnd.github.ant-man-preview+json', 'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"ref": "743f5a58b0bce91c4eab744ff7e39dfca9e6e8a5", "task": "deploy", "auto_merge": false, "required_contexts": [], "payload": {"test": true}, "environment": "test", "description": "Test deployment", "transient_environment": true, "production_environment": false}
201
[('Date', 'Mon, 31 Aug 2020 07:21:10 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Content-Length', '1691'), ('Server', 'GitHub.com'), ('Status', '201 Created'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With, Accept-Encoding'), ('ETag', '"495f04c40f50b78b91de2a29a8918207"'), ('Last-Modified', 'Mon, 31 Aug 2020 07:21:10 GMT'), ('X-OAuth-Scopes', 'repo_deployment'), ('X-Accepted-OAuth-Scopes', ''), ('Location', 'https://api.github.com/repos/PyGithub/PyGithub/deployments/263877258'), ('X-GitHub-Media-Type', 'github.ant-man-preview; format=json'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4993'), ('X-RateLimit-Reset', '1598861786'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, 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', '1; mode=block'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('X-GitHub-Request-Id', 'FB51:2C9E:D80A0F2:105065C6:5F4CA4E6')]
{"url":"https://api.github.com/repos/PyGithub/PyGithub/deployments/263877258","id":263877258,"node_id":"MDEwOkRlcGxveW1lbnQyNjM4NzcyNTg=","sha":"743f5a58b0bce91c4eab744ff7e39dfca9e6e8a5","ref":"743f5a58b0bce91c4eab744ff7e39dfca9e6e8a5","task":"deploy","payload":{"test":true},"original_environment":"test","environment":"test","description":"Test deployment","creator":{"login":"pascal-hofmann","id":2102878,"node_id":"MDQ6VXNlcjIxMDI4Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/2102878?v=4","gravatar_id":"","url":"https://api.github.com/users/pascal-hofmann","html_url":"https://github.com/pascal-hofmann","followers_url":"https://api.github.com/users/pascal-hofmann/followers","following_url":"https://api.github.com/users/pascal-hofmann/following{/other_user}","gists_url":"https://api.github.com/users/pascal-hofmann/gists{/gist_id}","starred_url":"https://api.github.com/users/pascal-hofmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascal-hofmann/subscriptions","organizations_url":"https://api.github.com/users/pascal-hofmann/orgs","repos_url":"https://api.github.com/users/pascal-hofmann/repos","events_url":"https://api.github.com/users/pascal-hofmann/events{/privacy}","received_events_url":"https://api.github.com/users/pascal-hofmann/received_events","type":"User","site_admin":false},"created_at":"2020-08-31T07:21:10Z","updated_at":"2020-08-31T07:21:10Z","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/deployments/263877258/statuses","repository_url":"https://api.github.com/repos/PyGithub/PyGithub","transient_environment":true,"production_environment":false,"performed_via_github_app":null}
