fixtures/vcr_cassettes/harvest_data_setup/project_assignment_castle_building.yml
---
http_interactions:
- request:
method: post
uri: https://api.harvestapp.com/v2/projects/19919748/user_assignments
body:
encoding: UTF-8
string: '{"project_id":"19919748","user_id":"2527915","project":{"id":"19919748"},"user":{"id":"2527915"}}'
headers:
User-Agent:
- Harvesting Ruby Gem
Authorization:
- Bearer $HARVEST_ACCESS_TOKEN
Harvest-Account-Id:
- "$HARVEST_ACCOUNT_ID"
Connection:
- close
Content-Type:
- application/json; charset=UTF-8
Host:
- api.harvestapp.com
response:
status:
code: 201
message: Created
headers:
Server:
- nginx
Date:
- Fri, 25 Jan 2019 18:31:11 GMT
Content-Type:
- application/json; charset=utf-8
Transfer-Encoding:
- chunked
Connection:
- close
Status:
- 201 Created
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
X-Download-Options:
- noopen
X-Permitted-Cross-Domain-Policies:
- none
Referrer-Policy:
- strict-origin-when-cross-origin
Cache-Control:
- no-cache, no-store
P3p:
- 'CP="Our privacy policy is available online: https://www.getharvest.com/services/privacy-policy"'
X-App-Server:
- app7
X-Robots-Tag:
- noindex, nofollow
Content-Security-Policy:
- 'report-uri /csp_reports; default-src *; img-src * data:; font-src data: cache.harvestapp.com
https://js.intercomcdn.com; script-src ''self'' ''unsafe-inline'' ''unsafe-eval''
https://*.google-analytics.com https://*.nr-data.net https://ajax.googleapis.com
cache.harvestapp.com https://js-agent.newrelic.com https://platform.twitter.com
https://www.google.com https://www.googleadservices.com https://www.googletagmanager.com
https://connect.facebook.net https://googleads.g.doubleclick.net https://app.intercom.io
https://widget.intercom.io https://js.intercomcdn.com https://cdn.plaid.com;
style-src ''self'' ''unsafe-inline'' cache.harvestapp.com https://www.google.com'
Location:
- https://api.harvestapp.com/api/v2/projects/19919748/user_assignments/186878707
X-Request-Id:
- b5bb2aa35e08230229b999e3c8c28222
X-Runtime:
- '0.096077'
Strict-Transport-Security:
- max-age=31536000; includeSubDomains
X-Server:
- lb2
body:
encoding: UTF-8
string: '{"id":186878707,"is_project_manager":false,"is_active":true,"budget":null,"created_at":"2019-01-25T18:31:11Z","updated_at":"2019-01-25T18:31:11Z","hourly_rate":null,"project":{"id":19919748,"name":"Castle
Building","code":null},"user":{"id":2527915,"name":"John Smith"}}'
http_version:
recorded_at: Fri, 25 Jan 2019 18:31:11 GMT
recorded_with: VCR 4.0.0