--- http_interactions: - request: method: get uri: https://api.datacite.org/prefixes/10.5438 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: - Fri, 24 Nov 2017 22:14:09 GMT Etag: - W/"ea9b4e691cdc43f43bc403c92c7315d7" 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: - '17' X-Powered-By: - Phusion Passenger 5.1.12 X-Request-Id: - bb12732b-5530-437f-8db1-588bf5b1e497 X-Runtime: - '0.016706' Content-Length: - '1058' Connection: - keep-alive body: encoding: UTF-8 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"}]},"providers":{"data":[{"id":"datacite","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":"*","is-active":true,"created":"2011-12-07T13:43:39Z","updated":"2017-11-22T18:19:22Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"created":"2011-12-07T13:41:07.000Z","updated":"2017-11-22T18:05:20.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}' http_version: recorded_at: Fri, 24 Nov 2017 22:14:09 GMT - request: method: get uri: https://api.datacite.org/dois/10.5438/4k3m-nyvg?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: 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: - Fri, 24 Nov 2017 22:14:09 GMT Etag: - W/"0000b3e632f0211f9996e8334fc5357c" 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: - '16' X-Powered-By: - Phusion Passenger 5.1.12 X-Request-Id: - 974948d4-d05e-49ed-961c-08ed7b8ca19a X-Runtime: - '0.014780' Content-Length: - '4977' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":{"id":"10.5438/4k3m-nyvg","type":"dois","attributes":{"doi":"10.5438/4k3m-nyvg","identifier":"https://doi.org/10.5438/4k3m-nyvg","url":null,"author":{"type":"Person","id":"https://orcid.org/0000-0003-1419-2405","name":"Fenner, Martin","given-name":"Martin","family-name":"Fenner"},"title":"Eating your own Dog Food","container-title":"DataCite","description":{"type":"Abstract","text":"Eating your own dog food is a slang term to describe that an organization should itself use the products and services it provides. For DataCite this means that we should use DOIs with appropriate metadata and strategies for long-term preservation for..."},"resource-type-subtype":"BlogPosting","license":null,"version":4,"related-identifier":[{"type":"CreativeWork","id":"https://doi.org/10.5438/0000-00ss","relation-type":"IsPartOf"},{"type":"CreativeWork","id":"https://doi.org/10.5438/0012","relation-type":"References"},{"type":"CreativeWork","id":"https://doi.org/10.5438/55e5-t5c0","relation-type":"References"}],"schema-version":"http://datacite.org/schema/kernel-4","state":"findable","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291\ncmNlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hl\nbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVt\nYS9rZXJuZWwtNCIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNp\ndGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRl\nLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZp\nZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTQzOC80SzNNLU5ZVkc8L2lk\nZW50aWZpZXI+CiAgPGNyZWF0b3JzPgogICAgPGNyZWF0b3I+CiAgICAgIDxj\ncmVhdG9yTmFtZT5GZW5uZXIsIE1hcnRpbjwvY3JlYXRvck5hbWU+CiAgICAg\nIDxnaXZlbk5hbWU+TWFydGluPC9naXZlbk5hbWU+CiAgICAgIDxmYW1pbHlO\nYW1lPkZlbm5lcjwvZmFtaWx5TmFtZT4KICAgICAgPG5hbWVJZGVudGlmaWVy\nIHNjaGVtZVVSST0iaHR0cDovL29yY2lk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2016-12-19T20:49:21.000Z","updated":"2017-01-09T13:53:12.000Z"},"relationships":{"client":{"data":{"id":"datacite.datacite","type":"clients"}},"provider":{"data":{"id":"datacite","type":"providers"}},"resource-type":{"meta":{}},"media":{"meta":{}}}},"included":[{"id":"datacite.datacite","type":"clients","attributes":{"name":"DataCite","symbol":"DATACITE.DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","domains":"*","is-active":true,"created":"2011-12-07T13:43:39Z","updated":"2017-11-22T18:19:22Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"datacite","type":"providers","attributes":{"name":"DataCite","symbol":"DATACITE","year":2011,"contact-name":"DataCite","contact-email":"support@datacite.org","logo-url":"https://assets.datacite.org/images/members/datacite.png","is-active":true,"created":"2011-12-07T13:41:07.000Z","updated":"2017-11-22T18:05:20.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}' http_version: recorded_at: Fri, 24 Nov 2017 22:14:09 GMT recorded_with: VCR 3.0.3