--- http_interactions: - request: method: get uri: https://app.datacite.org/prefixes/10.5438 body: encoding: US-ASCII string: '' headers: User-Agent: - Maremma 4.0.5 - 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: - Sun, 01 Apr 2018 09:08:13 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, Origin X-Request-Id: - e77a729e-2f7e-4284-a59f-8f0241de4ca6 Etag: - W/"68a2667f1f09a354be7f51686f18f239" X-Runtime: - '0.013950' X-Powered-By: - Phusion Passenger 5.2.2 Server: - nginx/1.12.2 + Phusion Passenger 5.2.2 body: encoding: ASCII-8BIT string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2011-03-30T08:56:21.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"datacite.datacite","type":"clients"},{"id":"demo.datacite","type":"clients"}]},"providers":{"data":[{"id":"datacite","type":"providers"},{"id":"demo","type":"providers"}]}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","url":null,"is-active":true,"has-password":true,"created":"2011-12-07T13:43:39Z","updated":"2018-04-01T02:30:09Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"demo.datacite","type":"clients","attributes":{"name":"DataCite Staff Demo Client","symbol":"DEMO.DATACITE","year":2018,"contact-name":"DataCite Support","contact-email":"support@datacite.org","domains":"*","url":null,"is-active":true,"has-password":true,"created":"2018-03-15T12:19:33Z","updated":"2018-04-01T02:30:56Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","website":null,"contact-name":"DataCite","contact-email":"support@datacite.org","phone":null,"description":null,"country":"DE","logo-url":null,"institution-type":null,"is-active":true,"has-password":true,"joined":null,"created":"2011-12-07T13:41:07.000Z","updated":"2018-04-01T02:25:52.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}},{"id":"demo","type":"providers","attributes":{"name":"DataCite Demo Provider","symbol":"DEMO","website":null,"contact-name":"DataCite Support","contact-email":"tech@datacite.org","phone":null,"description":null,"country":"DE","logo-url":null,"institution-type":null,"is-active":true,"has-password":true,"joined":null,"created":"2010-01-01T00:00:00.000Z","updated":"2018-04-01T02:25:51.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}' http_version: recorded_at: Sun, 01 Apr 2018 09:08:13 GMT - request: method: get uri: https://search.datacite.org/api?fl=doi,url,xml,state,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5438/4k3m-nyvg&wt=json body: encoding: US-ASCII string: '' headers: User-Agent: - Maremma 4.0.5 - 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: - Sun, 01 Apr 2018 09:08:13 GMT Content-Type: - application/json;charset=UTF-8 Connection: - keep-alive Server: - nginx/1.10.3 (Ubuntu) Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET, POST, 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: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"DATACITE.DATACITE","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlb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ZWRJZGVudGlmaWVyPgogIDwvcmVsYXRlZElkZW50aWZpZXJzPgogIDx2ZXJzaW9uPjEuMDwvdmVyc2lvbj4KICA8ZGVzY3JpcHRpb25zPgogICAgPGRlc2NyaXB0aW9uIGRlc2NyaXB0aW9uVHlwZT0iQWJzdHJhY3QiPkVhdGluZyB5b3VyIG93biBkb2cgZm9vZCBpcyBhIHNsYW5nIHRlcm0gdG8gZGVzY3JpYmUgdGhhdCBhbiBvcmdhbml6YXRpb24gc2hvdWxkIGl0c2VsZiB1c2UgdGhlIHByb2R1Y3RzIGFuZCBzZXJ2aWNlcyBpdCBwcm92aWRlcy4gRm9yIERhdGFDaXRlIHRoaXMgbWVhbnMgdGhhdCB3ZSBzaG91bGQgdXNlIERPSXMgd2l0aCBhcHByb3ByaWF0ZSBtZXRhZGF0YSBhbmQgc3RyYXRlZ2llcyBmb3IgbG9uZy10ZXJtIHByZXNlcnZhdGlvbiBmb3IuLi48L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","allocator_symbol":"DATACITE","minted":"2016-12-19T20:49:21Z","state":"findable","updated":"2017-01-09T13:53:12Z","doi":"10.5438/4K3M-NYVG","media":["application/xml:https://blog.datacite.org/eating-your-own-dog-food/eating-your-own-dog-food.xml"]}]}} ' http_version: recorded_at: Sun, 01 Apr 2018 09:08:13 GMT - request: method: get uri: https://app.datacite.org/prefixes/10.0137 body: encoding: US-ASCII string: '' headers: User-Agent: - Maremma 4.0.5 - 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: 404 message: Not Found headers: Date: - Sun, 01 Apr 2018 09:08:13 GMT Content-Type: - application/json; charset=utf-8 Connection: - keep-alive Status: - 404 Not Found Cache-Control: - no-cache Vary: - Accept-Encoding, Origin X-Request-Id: - 82211b1d-396e-4e25-a701-add0d107a2e3 X-Runtime: - '0.117549' X-Powered-By: - Phusion Passenger 5.2.2 Server: - nginx/1.12.2 + Phusion Passenger 5.2.2 body: encoding: ASCII-8BIT string: '{"errors":[{"status":"404","title":"The resource you are looking for doesn''t exist."}]}' http_version: recorded_at: Sun, 01 Apr 2018 09:08:13 GMT recorded_with: VCR 3.0.3