Sha256: dbdb30fdd89a83869959e5890b3cabab46f17896e8f2e6013cac65af3b0c92f8
Contents?: true
Size: 1.52 KB
Versions: 3
Compression:
Stored size: 1.52 KB
Contents
--- 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/"7626678cc07b1ae3b09aa70d3180de56" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - a7f593a8-8bb4-47a7-9906-ee689c8ec63a X-Runtime: - '0.120183' Transfer-Encoding: - chunked body: encoding: UTF-8 string: '{"role":{"id":"b172c64b-3b52-4d1f-ac84-a20e7c7cf07a","name":"New Role","admin":false,"permissions":[],"created_at":"2017-09-05T15:30:21Z","updated_at":"2017-09-05T15:30:21Z","links":[{"href":"https://my.datacentred.io/api/roles/b172c64b-3b52-4d1f-ac84-a20e7c7cf07a","rel":"self"},{"href":"https://my.datacentred.io/api/schemas/role","rel":"schema"}]}}' http_version: recorded_at: Tue, 05 Sep 2017 15:30:21 GMT recorded_with: VCR 2.8.0
Version data entries
3 entries across 3 versions & 1 rubygems