--- http_interactions: - request: method: get uri: https://api.datacite.org/prefixes/10.5061 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: 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-Allow-Methods: - GET, POST, PATCH, PUT, DELETE, OPTIONS Access-Control-Allow-Origin: - "*" 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 Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/vnd.api+json; charset=utf-8 Date: - Mon, 25 Sep 2017 19:24:42 GMT Etag: - W/"63b070d9362acb72859bf074ab04ba65" Server: - openresty/1.11.2.2 Status: - 200 OK Vary: - Accept-Encoding Via: - kong/0.10.3 X-Anonymous-Consumer: - 'true' X-Kong-Proxy-Latency: - '0' X-Kong-Upstream-Latency: - '51' X-Powered-By: - Phusion Passenger 5.1.8 X-Request-Id: - 1319805b-66e2-4255-883f-9c0707973d46 X-Runtime: - '0.046327' Content-Length: - '1833' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":{"id":"10.5061","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2010-01-01T00:00:00.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"cdl.dryad","type":"clients"}]},"providers":{"data":[{"id":"cdl","type":"providers"}]}}},"included":[{"id":"cdl.dryad","type":"clients","attributes":{"name":"Dryad","year":2013,"contact":"Greg Janee","email":"gjanee@ucop.edu","domains":"*","is-active":true,"doi-count":[{"id":2010,"title":2010,"count":1418},{"id":2011,"title":2011,"count":2891},{"id":2012,"title":2012,"count":3845},{"id":2013,"title":2013,"count":5880},{"id":2014,"title":2014,"count":16965},{"id":2015,"title":2015,"count":18387},{"id":2016,"title":2016,"count":18955},{"id":2017,"title":2017,"count":15135}],"created":"2013-02-19T17:42:03.000Z","updated":"2017-09-24T01:44:31.000Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}}}},{"id":"cdl","type":"providers","attributes":{"name":"California Digital Library","year":2010,"contact":"Greg Janee","email":"gjanee@ucop.edu","logo-url":"https://assets.datacite.org/images/members/cdl.png","is-active":true,"doi-count":[{"id":2010,"title":2010,"count":1422},{"id":2011,"title":2011,"count":16535},{"id":2012,"title":2012,"count":119682},{"id":2013,"title":2013,"count":288016},{"id":2014,"title":2014,"count":524667},{"id":2015,"title":2015,"count":1058502},{"id":2016,"title":2016,"count":170312},{"id":2017,"title":2017,"count":620819}],"client-count":[{"id":2011,"title":2011,"count":7},{"id":2012,"title":2012,"count":51},{"id":2013,"title":2013,"count":90},{"id":2014,"title":2014,"count":119},{"id":2015,"title":2015,"count":180},{"id":2016,"title":2016,"count":215}],"created":"2010-01-01T00:00:00.000Z","updated":"2017-09-24T01:43:55.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}' http_version: recorded_at: Mon, 25 Sep 2017 19:24:42 GMT - request: method: get uri: https://search.datacite.org/api?fl=doi,xml,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5061/dryad.8515&wt=json 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: Access-Control-Allow-Methods: - GET, POST, PATCH, PUT, DELETE, OPTIONS Access-Control-Allow-Origin: - "*" Content-Type: - application/json;charset=UTF-8 Date: - Mon, 25 Sep 2017 19:24:42 GMT Server: - openresty/1.11.2.2 Content-Length: - '4111' Connection: - keep-alive body: encoding: UTF-8 string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"CDL.DRYAD","xml":"PD94bWwgdmVyc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ZElkZW50aWZpZXIgcmVsYXRlZElkZW50aWZpZXJUeXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSXNTdXBwbGVtZW50VG8iPjEwLjEzNzEvSk9VUk5BTC5QUEFULjEwMDA0NDY8L3JlbGF0ZWRJZGVudGlmaWVyPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iUE1JRCIgcmVsYXRpb25UeXBlPSJJc1JlZmVyZW5jZWRCeSI+MTk0Nzg4Nzc8L3JlbGF0ZWRJZGVudGlmaWVyPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iUE1JRCIgcmVsYXRpb25UeXBlPSJJc1N1cHBsZW1lbnRUbyI+MTk0Nzg4Nzc8L3JlbGF0ZWRJZGVudGlmaWVyPgogIDwvcmVsYXRlZElkZW50aWZpZXJzPgogIDxyaWdodHNMaXN0PgogICAgPHJpZ2h0cyByaWdodHNVUkk9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8iLz4KICA8L3JpZ2h0c0xpc3Q+CjwvcmVzb3VyY2U+","allocator_symbol":"CDL","minted":"2011-02-01T17:32:02Z","updated":"2017-09-02T07:32:23Z","doi":"10.5061/DRYAD.8515"}]}} ' http_version: recorded_at: Mon, 25 Sep 2017 19:24:42 GMT - request: method: head uri: https://doi.org/10.5061/dryad.8515 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: 303 message: See Other headers: Server: - Apache-Coyote/1.1 Vary: - Accept Location: - http://datadryad.org/resource/doi:10.5061/dryad.8515 Expires: - Mon, 25 Sep 2017 19:29:21 GMT Content-Type: - text/html;charset=utf-8 Content-Length: - '189' Date: - Mon, 25 Sep 2017 19:24:42 GMT body: encoding: UTF-8 string: '' http_version: recorded_at: Mon, 25 Sep 2017 19:24:43 GMT recorded_with: VCR 3.0.3