fixtures/vcr_cassettes/add_comment.yml in hackerone-client-0.8.0 vs fixtures/vcr_cassettes/add_comment.yml in hackerone-client-0.9.0
- old
+ new
@@ -1,10 +1,10 @@
---
http_interactions:
- request:
method: post
- uri: https://api.hackerone.com/v1/reports/215230/activities
+ uri: https://api.hackerone.com/v1/reports/200/activities
body:
encoding: UTF-8
string: "{\"data\":{\"type\":\"activity-comment\",\"attributes\":{\"message\":\"I
am an internal comment\",\"internal\":true}}}"
headers:
@@ -75,83 +75,5 @@
encoding: UTF-8
string: "{\"data\":{\"type\":\"activity-comment\",\"id\":\"1854710\",\"attributes\":{\"message\":\"I
am an internal comment\",\"created_at\":\"2017-07-20T19:31:19.733Z\",\"updated_at\":\"2017-07-20T19:31:19.733Z\",\"internal\":true},\"relationships\":{\"actor\":{\"data\":{\"type\":\"user\",\"id\":\"185283\",\"attributes\":{\"username\":\"oreoshake-test-token-4\",\"name\":null,\"disabled\":false,\"created_at\":\"2017-07-20T19:22:56.881Z\",\"profile_picture\":{\"62x62\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\",\"82x82\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\",\"110x110\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\",\"260x260\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\"}}}}}}}"
http_version:
recorded_at: Thu, 20 Jul 2017 19:31:19 GMT
-- request:
- method: post
- uri: https://api.hackerone.com/v1/reports/132170/activities
- body:
- encoding: UTF-8
- string: "{\"data\":{\"type\":\"activity-comment\",\"attributes\":{\"message\":\"I
- am not an internal comment\",\"internal\":false}}}"
- headers:
- Authorization:
- - Basic ==
- User-Agent:
- - Faraday v0.11.0
- Content-Type:
- - application/json
- Accept-Encoding:
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
- Accept:
- - "*/*"
- response:
- status:
- code: 201
- message: Created
- headers:
- Date:
- - Thu, 20 Jul 2017 19:31:20 GMT
- Content-Type:
- - application/json; charset=utf-8
- Transfer-Encoding:
- - chunked
- Connection:
- - keep-alive
- Set-Cookie:
- - __cfduid=d104d11a7dd0d4d546ad5de4a34ae70091500579080; expires=Fri, 20-Jul-18
- 19:31:20 GMT; path=/; Domain=api.hackerone.com; HttpOnly
- X-Request-Id:
- - d3253b5d-6f40-4070-8a49-2c9fddc85b6f
- Etag:
- - W/"5409aa55cb4b50a7801681b8f529bcfd"
- Cache-Control:
- - max-age=0, private, must-revalidate
- Strict-Transport-Security:
- - max-age=31536000; includeSubDomains; preload
- Content-Security-Policy:
- - 'default-src ''none''; base-uri ''self''; block-all-mixed-content; child-src
- www.youtube-nocookie.com; connect-src ''self'' www.google-analytics.com errors.hackerone.net;
- font-src ''self''; form-action ''self''; frame-ancestors ''none''; img-src
- ''self'' data: cover-photos.hackerone-user-content.com hackathon-photos.hackerone-user-content.com
- profile-photos.hackerone-user-content.com hackerone-attachments.s3.amazonaws.com;
- media-src ''self'' hackerone-attachments.s3.amazonaws.com; script-src ''self''
- www.google-analytics.com; style-src ''self'' ''unsafe-inline''; report-uri
- https://errors.hackerone.net/api/30/csp-report/?sentry_key=61c1e2f50d21487c97a071737701f598'
- X-Content-Type-Options:
- - nosniff
- X-Download-Options:
- - noopen
- X-Frame-Options:
- - DENY
- X-Permitted-Cross-Domain-Policies:
- - none
- X-Xss-Protection:
- - 1; mode=block
- Public-Key-Pins-Report-Only:
- - pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=";
- pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0=";
- pin-sha256="cGuxAXyFXFkWm61cF4HPWX8S0srS9j0aSqN0k4AP+4A="; pin-sha256="bIlWcjiKq1mftH/xd7Hw1JO77Cr+Gv+XYcGUQWwO+A4=";
- pin-sha256="tXD+dGAP8rGY4PW1be90cOYEwg7pZ4G+yPZmIZWPTSg="; max-age=600; includeSubDomains;
- report-uri="https://hackerone.report-uri.io/r/default/hpkp/reportOnly"
- Server:
- - cloudflare-nginx
- Cf-Ray:
- - 381857128fff7820-LAX
- body:
- encoding: UTF-8
- string: "{\"data\":{\"type\":\"activity-comment\",\"id\":\"1854711\",\"attributes\":{\"message\":\"I
- am not an internal comment\",\"created_at\":\"2017-07-20T19:31:20.181Z\",\"updated_at\":\"2017-07-20T19:31:20.181Z\",\"internal\":false},\"relationships\":{\"actor\":{\"data\":{\"type\":\"user\",\"id\":\"185283\",\"attributes\":{\"username\":\"oreoshake-test-token-4\",\"name\":null,\"disabled\":false,\"created_at\":\"2017-07-20T19:22:56.881Z\",\"profile_picture\":{\"62x62\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\",\"82x82\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\",\"110x110\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\",\"260x260\":\"/assets/avatars/default-71a302d706457f3d3a31eb30fa3e73e6cf0b1d677b8fa218eaeaffd67ae97918.png\"}}}}}}}"
- http_version:
- recorded_at: Thu, 20 Jul 2017 19:31:20 GMT
-recorded_with: VCR 3.0.3