--- http_interactions: - request: method: post uri: https://my.datacentred.io/api/roles body: encoding: UTF-8 string: '{"role":{"name":"New Role"}}' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - Token token=access_key:secret_key Content-Type: - application/json User-Agent: - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Content-Type: - application/vnd.datacentred.api+json; charset=utf-8 Etag: - W/"b0c5f9b8af2bb8a318f7e5653fe71359" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 83a56fa6-9c83-4cc6-8252-f7b6428bb49b X-Runtime: - '0.122490' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"role":{"id":"74aab3e2-4d08-4875-8522-244c2261717d","name":"New Role","admin":false,"permissions":[],"created_at":"2017-09-06T09:31:45Z","updated_at":"2017-09-06T09:31:45Z","links":[{"href":"https://my.datacentred.io/api/roles/74aab3e2-4d08-4875-8522-244c2261717d","rel":"self"},{"href":"https://my.datacentred.io/api/schemas/role","rel":"schema"}]}}' http_version: recorded_at: Wed, 06 Sep 2017 09:31:45 GMT - request: method: put uri: https://my.datacentred.io/api/roles/74aab3e2-4d08-4875-8522-244c2261717d/users/06eacbafda355a927f50f304db3af132 body: encoding: UTF-8 string: '' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - Token token=e9d2d4cd37adf1634e2a65b9e18a8fcb:821fac118e7675f28fa42ab79ace57de Content-Type: - application/json User-Agent: - Faraday v0.9.2 Content-Length: - '0' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 204 message: No Content headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Cache-Control: - no-cache X-Request-Id: - 11fd4048-8cc8-4feb-acaf-142dbaf23028 X-Runtime: - '0.126202' body: encoding: UTF-8 string: '' http_version: recorded_at: Wed, 06 Sep 2017 09:31:45 GMT - request: method: get uri: https://my.datacentred.io/api/roles/74aab3e2-4d08-4875-8522-244c2261717d/users body: encoding: US-ASCII string: '' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - Token token=e9d2d4cd37adf1634e2a65b9e18a8fcb:821fac118e7675f28fa42ab79ace57de Content-Type: - application/json User-Agent: - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Content-Type: - application/vnd.datacentred.api+json; charset=utf-8 Etag: - W/"a49ddef61fd02a4859e54c61f0d506bb" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - bde5d70f-981a-4912-adb4-c681460ee7d3 X-Runtime: - '0.099862' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"users":[{"id":"06eacbafda355a927f50f304db3af132","email":"eugenia.grieff@datacentred.co.uk","first_name":"Eugenia","last_name":"Grieff","created_at":"2017-07-20T13:06:20Z","updated_at":"2017-07-20T13:06:20Z","links":[{"href":"https://my.datacentred.io/api/users/06eacbafda355a927f50f304db3af132","rel":"self"},{"href":"https://my.datacentred.io/api/schemas/user","rel":"schema"}]}]}' http_version: recorded_at: Wed, 06 Sep 2017 09:31:45 GMT - request: method: delete uri: https://my.datacentred.io/api/roles/74aab3e2-4d08-4875-8522-244c2261717d/users/06eacbafda355a927f50f304db3af132 body: encoding: US-ASCII string: '' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - Token token=e9d2d4cd37adf1634e2a65b9e18a8fcb:821fac118e7675f28fa42ab79ace57de Content-Type: - application/json User-Agent: - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 204 message: No Content headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Cache-Control: - no-cache X-Request-Id: - 773a9d03-8ddb-4622-aad4-cc59d80ae969 X-Runtime: - '0.115497' body: encoding: UTF-8 string: '' http_version: recorded_at: Wed, 06 Sep 2017 09:31:46 GMT - request: method: get uri: https://my.datacentred.io/api/roles/74aab3e2-4d08-4875-8522-244c2261717d/users body: encoding: US-ASCII string: '' headers: Accept: - application/vnd.datacentred.api+json; version=1 Authorization: - Token token=e9d2d4cd37adf1634e2a65b9e18a8fcb:821fac118e7675f28fa42ab79ace57de Content-Type: - application/json User-Agent: - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Api-Version: - '1' Content-Type: - application/vnd.datacentred.api+json; charset=utf-8 Etag: - W/"adac7b84dc3b7394d8385aa0c65fe27a" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 58780bf4-9334-43cf-9377-8622e6a491f2 X-Runtime: - '0.099676' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"users":[]}' http_version: recorded_at: Wed, 06 Sep 2017 09:31:46 GMT recorded_with: VCR 2.8.0