forked from sigmavirus24/github3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGist_create_comment.json
More file actions
1 lines (1 loc) · 7.2 KB
/
Gist_create_comment.json
File metadata and controls
1 lines (1 loc) · 7.2 KB
1
{"http_interactions": [{"request": {"body": {"encoding": "utf-8", "string": ""}, "headers": {"User-Agent": "github3.py/1.0.0a4", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "Connection": "keep-alive", "Accept-Charset": "utf-8", "Content-Type": "application/json", "Authorization": "Basic <BASIC_AUTH>"}, "method": "GET", "uri": "https://api.github.com/gists/f396190a0d0047be791b"}, "response": {"body": {"encoding": "utf-8", "base64_string": "H4sIAAAAAAAAA+1YW4/aOBT+K1FeAtpAnBuQSFX/wmrVfdmZCvkW8G5wIsfJlFL++x47GTpQmC2Ruk9EAhI75/O5fsfm4LaqdHN3q3Xd5EGAazHfCL1tyZxWu2AjGt0ERZwtwgxhxBBKloQvs5C4vltU6p9mPVI+sNKAAsvshB6PM8gDkmBgyA1dwaZ13ZblhbrGvrf2XpM284DeIzTb8QhbvRuzvvG0KHnj5gdQotHmIZzXe/Ns7iXecTD8bMp39b42o7iuS0GxFpUMvszqvd5WEgBLLDct3pg3fn8dU/jltm1twxWtpOZS28RoxGaHO6HaJkqu5kcAcMGCFElEccqWcRLGhJAIhzQiyyKLGMWrGKdLzpcstXl2sst3G/EVVAtXGdihWgn6c4htgcuGm4SxaoDqddUIY1njfHAmke8kvrPwnZXvhGj6LJ8l44Wzw/W6AIjJRMDzF9/pcNny6TR/lg5conDsOHw7J7hhzswrrlslHS/3nN960V5uGLdg/cjrt+fN/66EnMDC5mMX9x0u2x1XYMfEQ/bCmBBKvenUPZrc6s2P5orcCKuduhFW1ZL9eVD/6Ed+QUhRmqK4SOI4RkWYLViBlxSlSUbDjKQhKqJihbMio6eQDooPIU3j90O6wxSCee6jZ/k20E/ngf5sAg1S8wYSXU88bzoHr89fgMPWfWRZ5XzrfEd8MxGCeJ/A5kLSsmX8oyP64HVm6T7SZoBLZn66Zwl3NqiO57lHiFfdEqiq7xmpuMnQNTZJGaEwmaFwFoefUJzHKEfpXxCctmZn76QztJpF2acwztM0TyPzDuMNVaI2KQ1AMGC4DVIdSj8CBChBN5dAYt8nRrPvCdl3qxdpgA9uWW2EWfhtbYMShlajBK1i5Lu4wxqry1XtYBMPRHpJFW3QS3/sPiQAt1EDiKVr45n3GpABa87YBiSuEumpZ12oX1RlWb0AyqXW553ux4WgQw2SsGR/L+RmJApIHoJKbzk4D0w6GkeY3no3nJU62OpaC2ZwGnC+guy704/BIAdqmQQ4HgLF68oCtuSUh/creCYNaJXaYCm+2hZ0PxpIm02CUe1+YSsF0rwzRXS3g3qxQ1Ar0WG6N65RnHLRgbNHQl7IA+LQp/80xW0an+ZrzHamDm27A7LpN0r502dIfIh6paDzPx0GOnhU7QU9PKp2VJ09qvb1yHOlEYyp2g46Tt/H4by0ikhBIh5TzCkJM47iKFtFRbJcIApzSbRknEL592eZW1uJVZ4kZptAt7B752vgb93aU4GuNIZDHOyWMWP9jtg+MV5yS7tujoBI3m0Qtq9c38n/tAFH/0FL9nR0JYcem4kx7f9BS7+MlharOCMkK+Acx1iYRXBsozhDwFIpjMQE/utJKWXZf9LS6wnn/6alnzbgCDuny78Rjv8C6naGmfkSAAA=", "string": ""}, "headers": {"Server": "GitHub.com", "Date": "Mon, 25 Dec 2017 19:39:18 GMT", "Content-Type": "application/json; charset=utf-8", "Transfer-Encoding": "chunked", "Status": "200 OK", "X-RateLimit-Limit": "5000", "X-RateLimit-Remaining": "4999", "X-RateLimit-Reset": "1514234358", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "ETag": "W/\"2b89cb089cb2bfd33aba02dab5033297\"", "Last-Modified": "Mon, 20 Nov 2017 20:04:48 GMT", "X-GitHub-Media-Type": "github.v3; param=full; format=json", "Access-Control-Expose-Headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "Access-Control-Allow-Origin": "*", "Content-Security-Policy": "default-src 'none'", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Content-Type-Options": "nosniff", "X-Frame-Options": "deny", "X-XSS-Protection": "1; mode=block", "X-Runtime-rack": "0.091090", "Content-Encoding": "gzip", "X-GitHub-Request-Id": "ACA0:8326:61575FA:B069404:5A4153E6"}, "status": {"code": 200, "message": "OK"}, "url": "https://api.github.com/gists/f396190a0d0047be791b"}, "recorded_at": "2017-12-25T19:39:18"}, {"request": {"body": {"encoding": "utf-8", "string": "{\"body\": \"```ruby\\n mac.split('').map.with_index do |v, i|\\n positions.include?(i) ? ':' + v : v\\n end\\n ```\"}"}, "headers": {"User-Agent": "github3.py/1.0.0a4", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "Connection": "keep-alive", "Accept-Charset": "utf-8", "Content-Type": "application/json", "Content-Length": "156", "Authorization": "Basic <BASIC_AUTH>"}, "method": "POST", "uri": "https://api.github.com/gists/f396190a0d0047be791b/comments"}, "response": {"body": {"encoding": "utf-8", "string": "{\"url\":\"https://api.github.com/gists/f396190a0d0047be791b/comments/2304179\",\"id\":2304179,\"user\":{\"login\":\"gh3test\",\"id\":2354350,\"avatar_url\":\"https://avatars2.githubusercontent.com/u/2354350?v=4\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/gh3test\",\"html_url\":\"https://github.com/gh3test\",\"followers_url\":\"https://api.github.com/users/gh3test/followers\",\"following_url\":\"https://api.github.com/users/gh3test/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/gh3test/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/gh3test/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/gh3test/subscriptions\",\"organizations_url\":\"https://api.github.com/users/gh3test/orgs\",\"repos_url\":\"https://api.github.com/users/gh3test/repos\",\"events_url\":\"https://api.github.com/users/gh3test/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/gh3test/received_events\",\"type\":\"User\",\"site_admin\":false},\"author_association\":\"NONE\",\"created_at\":\"2017-12-25T19:39:18Z\",\"updated_at\":\"2017-12-25T19:39:18Z\",\"body_html\":\"<div class=\\\"highlight highlight-source-ruby\\\"><pre> mac.split(<span class=\\\"pl-s\\\"><span class=\\\"pl-pds\\\">'</span><span class=\\\"pl-pds\\\">'</span></span>).map.with_index <span class=\\\"pl-k\\\">do</span> |<span class=\\\"pl-smi\\\">v</span>, <span class=\\\"pl-smi\\\">i</span>|\\n positions.include?(i) <span class=\\\"pl-k\\\">?</span> <span class=\\\"pl-s\\\"><span class=\\\"pl-pds\\\">'</span>:<span class=\\\"pl-pds\\\">'</span></span> <span class=\\\"pl-k\\\">+</span> v : v\\n <span class=\\\"pl-k\\\">end</span>\\n <span class=\\\"pl-s\\\"><span class=\\\"pl-pds\\\">`</span><span class=\\\"pl-pds\\\">`</span><span class=\\\"pl-pds\\\">`</span></span></pre></div>\",\"body_text\":\"mac.split('').map.with_index do |v, i|\\n positions.include?(i) ? ':' + v : v\\n end\\n ```\",\"body\":\"```ruby\\n mac.split('').map.with_index do |v, i|\\n positions.include?(i) ? ':' + v : v\\n end\\n ```\"}"}, "headers": {"Server": "GitHub.com", "Date": "Mon, 25 Dec 2017 19:39:18 GMT", "Content-Type": "application/json; charset=utf-8", "Content-Length": "2030", "Status": "201 Created", "X-RateLimit-Limit": "5000", "X-RateLimit-Remaining": "4998", "X-RateLimit-Reset": "1514234358", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "ETag": "\"98992f48d455d9b5d8c386cbad81a743\"", "Location": "https://api.github.com/gists/f396190a0d0047be791b/comments/2304179", "X-GitHub-Media-Type": "github.v3; param=full; format=json", "Access-Control-Expose-Headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "Access-Control-Allow-Origin": "*", "Content-Security-Policy": "default-src 'none'", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Content-Type-Options": "nosniff", "X-Frame-Options": "deny", "X-XSS-Protection": "1; mode=block", "X-Runtime-rack": "0.068901", "X-GitHub-Request-Id": "ACA0:8326:6157615:B069434:5A4153E6"}, "status": {"code": 201, "message": "Created"}, "url": "https://api.github.com/gists/f396190a0d0047be791b/comments"}, "recorded_at": "2017-12-25T19:39:18"}], "recorded_with": "betamax/0.8.0"}