--- http_interactions: - request: method: get uri: https://api.datacite.org/prefixes/10.22002 body: encoding: US-ASCII string: '' headers: User-Agent: - Maremma - https://github.com/datacite/maremma Accept: - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5 response: status: code: 200 message: OK headers: Date: - Fri, 12 Jan 2018 18:11:18 GMT Content-Type: - application/vnd.api+json; charset=utf-8 Connection: - keep-alive Status: - 200 OK X-Anonymous-Consumer: - 'true' Cache-Control: - max-age=0, private, must-revalidate Vary: - Accept-Encoding Etag: - W/"00d8969c9fcc61dfeb1b2a3edbdb2f8e" X-Runtime: - '0.018061' X-Request-Id: - b2f057f5-d86c-4f44-afba-471ed7037399 X-Powered-By: - Phusion Passenger 5.1.12 Server: - nginx/1.12.2 + Phusion Passenger 5.1.12 Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET, POST, PATCH, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization Access-Control-Expose-Headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization body: encoding: ASCII-8BIT string: !binary |- eyJkYXRhIjp7ImlkIjoiMTAuMjIwMDIiLCJ0eXBlIjoicHJlZml4ZXMiLCJhdHRyaWJ1dGVzIjp7InJlZ2lzdHJhdGlvbi1hZ2VuY3kiOiJEYXRhQ2l0ZSIsImNyZWF0ZWQiOiIyMDE2LTA1LTMxVDE0OjAyOjMyLjAwMFoiLCJ1cGRhdGVkIjpudWxsfSwicmVsYXRpb25zaGlwcyI6eyJjbGllbnRzIjp7ImRhdGEiOlt7ImlkIjoidGluZC5jYWx0ZWNoIiwidHlwZSI6ImNsaWVudHMifV19LCJwcm92aWRlcnMiOnsiZGF0YSI6W3siaWQiOiJ0aW5kIiwidHlwZSI6InByb3ZpZGVycyJ9XX19fSwia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recorded_at: Fri, 12 Jan 2018 18:11:20 GMT - request: method: get uri: https://api.test.datacite.org/dois/10.22002/d1.694?include=client,provider body: encoding: US-ASCII string: '' headers: User-Agent: - Maremma - https://github.com/datacite/maremma Accept: - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5 response: status: code: 200 message: OK headers: Date: - Fri, 12 Jan 2018 18:11:22 GMT Content-Type: - application/vnd.api+json; charset=utf-8 Connection: - keep-alive Status: - 200 OK X-Anonymous-Consumer: - 'true' Cache-Control: - max-age=0, private, must-revalidate Vary: - Accept-Encoding Etag: - W/"86ba73d74ecdef190ed868022940e8ba" X-Runtime: - '0.056634' X-Request-Id: - b979005e-d574-4231-a84d-5984bdd06d08 X-Powered-By: - Phusion Passenger 5.1.12 Server: - nginx/1.12.2 + Phusion Passenger 5.1.12 Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET, POST, PATCH, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization Access-Control-Expose-Headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization body: encoding: UTF-8 string: '{"data":{"id":"10.22002/d1.694","type":"dois","attributes":{"doi":"10.22002/d1.694","identifier":"https://handle.test.datacite.org/10.22002/d1.694","url":null,"author":{"name":"Tester"},"title":"Test license","container-title":"CaltechDATA","description":null,"resource-type-subtype":"Dataset","license":null,"version":2,"related-identifier":[],"schema-version":"http://datacite.org/schema/kernel-4","state":"inactive","is-active":true,"xml":"PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPHJlc291\ncmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hl\nbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0Y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J3d3cuZ29v\nZ2xlLmNvbSI+Y2MtemVybzwvcmlnaHRzPgogIDwvcmlnaHRzTGlzdD4KPC9y\nZXNvdXJjZT4=\n","published":"2018-01-12","registered":"2018-01-12T14:42:51.000Z","updated":"2018-01-12T14:42:51.000Z"},"relationships":{"client":{"data":{"id":"tind.cal","type":"clients"}},"provider":{"data":{"id":"tind","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"tind.cal","type":"clients","attributes":{"name":"California Institute of Technology","symbol":"TIND.CAL","year":2016,"contact-name":"tech@tind.io","contact-email":"tech@tind.io","domains":"tind.io","is-active":true,"password":"yes","created":"2016-10-25T15:16:46Z","updated":"2017-12-02T22:49:14Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"tind","type":"providers","attributes":{"name":"TIND Technologies","symbol":"TIND","year":2016,"contact-name":"Alexander Nietzold","contact-email":"alexander@tind.io","logo-url":"https://assets.datacite.org/images/members/tind.png","is-active":true,"password":"yes","created":"2016-06-08T18:16:18.000Z","updated":"2017-12-02T22:48:26.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}' http_version: recorded_at: Fri, 12 Jan 2018 18:11:23 GMT recorded_with: VCR 3.0.3