orcid_client 0.3.3 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.env.example +1 -1
- data/Gemfile.lock +85 -81
- data/lib/orcid_client/api.rb +1 -1
- data/lib/orcid_client/base.rb +3 -2
- data/lib/orcid_client/external_identifier.rb +1 -1
- data/lib/orcid_client/notification.rb +1 -1
- data/lib/orcid_client/version.rb +1 -1
- data/lib/orcid_client/work.rb +6 -5
- data/orcid_client.gemspec +3 -3
- data/resources/README.md +131 -0
- data/resources/{common_2.0/common-2.0.xsd → common_2.1/common-2.1.xsd} +2 -2
- data/resources/{common_2.0/samples/common-2.0.xml → common_2.1/samples/common-2.1.xml} +2 -2
- data/resources/{notification_2.0 → notification_2.1}/README.md +10 -10
- data/resources/{notification_2.0/notification-custom-2.0.xsd → notification_2.1/notification-custom-2.1.xsd} +1 -1
- data/resources/{notification_2.0/notification-permission-2.0.xsd → notification_2.1/notification-permission-2.1.xsd} +3 -3
- data/resources/{notification_2.0/samples/notification-custom-2.0.xml → notification_2.1/samples/notification-custom-2.1.xml} +2 -2
- data/resources/{notification_2.0/samples/notification-permission-2.0.xml → notification_2.1/samples/notification-permission-2.1.xml} +2 -2
- data/resources/orcid-error-1.0.xsd +69 -0
- data/resources/{record_2.0 → record_2.1}/README.md +154 -155
- data/resources/{record_2.0/activities-2.0.xsd → record_2.1/activities-2.1.xsd} +6 -6
- data/resources/{record_2.0/address-2.0.xsd → record_2.1/address-2.1.xsd} +1 -1
- data/resources/{record_2.0/bulk-2.0.xsd → record_2.1/bulk-2.1.xsd} +2 -2
- data/resources/{record_2.0/education-2.0.xsd → record_2.1/education-2.1.xsd} +1 -1
- data/resources/{record_2.0/email-2.0.xsd → record_2.1/email-2.1.xsd} +1 -1
- data/resources/{record_2.0/employment-2.0.xsd → record_2.1/employment-2.1.xsd} +1 -1
- data/resources/{record_2.0/error-2.0.xsd → record_2.1/error-2.1.xsd} +0 -0
- data/resources/{record_2.0/funding-2.0.xsd → record_2.1/funding-2.1.xsd} +1 -1
- data/resources/{record_2.0/history-2.0.xsd → record_2.1/history-2.1.xsd} +1 -1
- data/resources/{record_2.0/keyword-2.0.xsd → record_2.1/keyword-2.1.xsd} +1 -1
- data/resources/{record_2.0/other-name-2.0.xsd → record_2.1/other-name-2.1.xsd} +1 -1
- data/resources/{record_2.0/peer-review-2.0.xsd → record_2.1/peer-review-2.1.xsd} +2 -2
- data/resources/{record_2.0/peer-review-guide-v2.0.md → record_2.1/peer-review-guide-v2.1.md} +17 -17
- data/resources/{record_2.0/person-2.0.xsd → record_2.1/person-2.1.xsd} +9 -9
- data/resources/{record_2.0/person-external-identifier-2.0.xsd → record_2.1/person-external-identifier-2.1.xsd} +1 -1
- data/resources/{record_2.0/personal-details-2.0.xsd → record_2.1/personal-details-2.1.xsd} +3 -3
- data/resources/{record_2.0/preferences-2.0.xsd → record_2.1/preferences-2.1.xsd} +1 -1
- data/resources/{record_2.0/record-2.0.xsd → record_2.1/record-2.1.xsd} +11 -11
- data/resources/{record_2.0/researcher-url-2.0.xsd → record_2.1/researcher-url-2.1.xsd} +1 -1
- data/resources/{record_2.0/samples/read_samples/activities-2.0.xml → record_2.1/samples/read_samples/activities-2.1.xml} +12 -12
- data/resources/{record_2.0/samples/read_samples/address-2.0.xml → record_2.1/samples/read_samples/address-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/addresses-2.0.xml → record_2.1/samples/read_samples/addresses-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/biography-2.0.xml → record_2.1/samples/read_samples/biography-2.1.xml} +2 -2
- data/resources/{record_2.0 → record_2.1}/samples/read_samples/bulk-work-error.xml +2 -2
- data/resources/{record_2.0/samples/read_samples/credit-name-2.0.xml → record_2.1/samples/read_samples/credit-name-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/education-2.0.xml → record_2.1/samples/read_samples/education-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/education-full-2.0.xml → record_2.1/samples/read_samples/education-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/educations-2.0.xml → record_2.1/samples/read_samples/educations-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/read_samples/email-2.0.xml → record_2.1/samples/read_samples/email-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/emails-2.0.xml → record_2.1/samples/read_samples/emails-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/employment-2.0.xml → record_2.1/samples/read_samples/employment-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/employment-full-2.0.xml → record_2.1/samples/read_samples/employment-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/employments-2.0.xml → record_2.1/samples/read_samples/employments-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/read_samples/error-2.0.xml → record_2.1/samples/read_samples/error-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/external-identifier-2.0.xml → record_2.1/samples/read_samples/external-identifier-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/external-identifiers-2.0.xml → record_2.1/samples/read_samples/external-identifiers-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/funding-2.0.xml → record_2.1/samples/read_samples/funding-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/funding-full-2.0.xml → record_2.1/samples/read_samples/funding-full-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/fundings-2.0.xml → record_2.1/samples/read_samples/fundings-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/read_samples/history-2.0.xml → record_2.1/samples/read_samples/history-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/keyword-2.0.xml → record_2.1/samples/read_samples/keyword-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/keywords-2.0.xml → record_2.1/samples/read_samples/keywords-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/name-2.0.xml → record_2.1/samples/read_samples/name-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/other-name-2.0.xml → record_2.1/samples/read_samples/other-name-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/other-names-2.0.xml → record_2.1/samples/read_samples/other-names-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/peer-review-2.0.xml → record_2.1/samples/read_samples/peer-review-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/peer-review-full-2.0.xml → record_2.1/samples/read_samples/peer-review-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/peer-reviews-2.0.xml → record_2.1/samples/read_samples/peer-reviews-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/person-2.0.xml → record_2.1/samples/read_samples/person-2.1.xml} +7 -7
- data/resources/{record_2.0/samples/read_samples/personal-details-2.0.xml → record_2.1/samples/read_samples/personal-details-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/preferences-2.0.xml → record_2.1/samples/read_samples/preferences-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/read_samples/record-2.0.xml → record_2.1/samples/read_samples/record-2.1.xml} +14 -14
- data/resources/{record_2.0/samples/read_samples/researcher-url-2.0.xml → record_2.1/samples/read_samples/researcher-url-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/researcher-urls-2.0.xml → record_2.1/samples/read_samples/researcher-urls-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/search-2.0.xml → record_2.1/samples/read_samples/search-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/read_samples/work-2.0.xml → record_2.1/samples/read_samples/work-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/work-full-2.0.xml → record_2.1/samples/read_samples/work-full-2.1.xml} +3 -3
- data/resources/{record_2.0/samples/read_samples/works-2.0.xml → record_2.1/samples/read_samples/works-2.1.xml} +4 -4
- data/resources/{record_2.0/samples/write_sample/address-2.0.xml → record_2.1/samples/write_samples/address-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/bulk-work-2.0.json → record_2.1/samples/write_samples/bulk-work-2.1.json} +0 -0
- data/resources/{record_2.0/samples/write_sample/bulk-work-2.0.xml → record_2.1/samples/write_samples/bulk-work-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/education-2.0.xml → record_2.1/samples/write_samples/education-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/employment-2.0.xml → record_2.1/samples/write_samples/employment-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/external-identifier-2.0.xml → record_2.1/samples/write_samples/external-identifier-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/funding-2.0.xml → record_2.1/samples/write_samples/funding-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/keyword-2.0.xml → record_2.1/samples/write_samples/keyword-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/other-name-2.0.xml → record_2.1/samples/write_samples/other-name-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/peer-review-full-2.0.xml → record_2.1/samples/write_samples/peer-review-full-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/peer-review-simple-2.0.xml → record_2.1/samples/write_samples/peer-review-simple-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/researcher-url-2.0.xml → record_2.1/samples/write_samples/researcher-url-2.1.xml} +1 -1
- data/resources/{record_2.0/samples/write_sample/work-full-2.0.xml → record_2.1/samples/write_samples/work-full-2.1.xml} +2 -2
- data/resources/{record_2.0/samples/write_sample/work-simple-2.0.xml → record_2.1/samples/write_samples/work-simple-2.1.xml} +1 -1
- data/resources/{record_2.0/search-2.0.xsd → record_2.1/search-2.1.xsd} +1 -1
- data/resources/{record_2.0/work-2.0.xsd → record_2.1/work-2.1.xsd} +2 -2
- data/resources/xml.xsd +286 -0
- data/spec/api_spec.rb +9 -9
- data/spec/author_spec.rb +1 -1
- data/spec/external_identifier_spec.rb +2 -2
- data/spec/fixtures/external_identifier.xml +1 -1
- data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/delete/should_delete_external_identifier.yml +6 -6
- data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/post/should_create_external_identifier.yml +8 -8
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/delete/should_delete_notification.yml +11 -15
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/get/should_get_notification.yml +10 -15
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/post/should_create_notification.yml +48 -57
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/delete/should_delete_work.yml +6 -6
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/get/should_get_works.yml +6 -614
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/post/should_create_work.yml +48 -55
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/put/should_update_work.yml +51 -62
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/data.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_data.yml +41 -50
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml +51 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/literal.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/multiple_titles.yml +51 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/valid.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/with_ORCID_IDs.yml +55 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/data.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/publication_date.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_ORCID_IDs_for_contributors.yml +55 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_data.yml +41 -52
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_from_DataCite_test_system.yml +41 -60
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_type_data-set.yml +51 -52
- data/spec/fixtures/work.xml +1 -1
- data/spec/notification_spec.rb +3 -3
- data/spec/work_spec.rb +16 -17
- metadata +100 -103
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://app.datacite.org/prefixes/10.5281
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Maremma - https://github.com/datacite/maremma
|
11
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
13
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
14
14
|
response:
|
@@ -16,58 +16,45 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
Access-Control-Allow-Methods:
|
22
|
-
- GET, POST, OPTIONS
|
23
|
-
Access-Control-Allow-Origin:
|
24
|
-
- "*"
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
19
|
+
Date:
|
20
|
+
- Wed, 11 Apr 2018 14:51:13 GMT
|
29
21
|
Content-Type:
|
30
22
|
- application/vnd.api+json; charset=utf-8
|
31
|
-
|
32
|
-
-
|
33
|
-
Etag:
|
34
|
-
- W/"0411b3916b13b0c38e2c133d6e9905e2"
|
35
|
-
Server:
|
36
|
-
- openresty/1.11.2.2
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
37
25
|
Status:
|
38
26
|
- 200 OK
|
27
|
+
X-Anonymous-Consumer:
|
28
|
+
- 'true'
|
29
|
+
Cache-Control:
|
30
|
+
- max-age=0, private, must-revalidate
|
39
31
|
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Powered-By:
|
46
|
-
- Phusion Passenger 5.1.4
|
32
|
+
- Accept-Encoding, Origin
|
47
33
|
X-Request-Id:
|
48
|
-
-
|
34
|
+
- 2fea4356-59fa-4b52-bb6e-8c4059a62ecf
|
35
|
+
Etag:
|
36
|
+
- W/"3b41a01c57187b7335cf5546198aa22b"
|
49
37
|
X-Runtime:
|
50
|
-
- '0.
|
51
|
-
X-
|
52
|
-
-
|
53
|
-
|
54
|
-
-
|
55
|
-
Connection:
|
56
|
-
- keep-alive
|
38
|
+
- '0.012180'
|
39
|
+
X-Powered-By:
|
40
|
+
- Phusion Passenger 5.2.3
|
41
|
+
Server:
|
42
|
+
- nginx/1.12.2 + Phusion Passenger 5.2.3
|
57
43
|
body:
|
58
|
-
encoding:
|
59
|
-
string:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
eyJkYXRhIjp7ImlkIjoiMTAuNTI4MSIsInR5cGUiOiJwcmVmaXhlcyIsImF0dHJpYnV0ZXMiOnsicmVnaXN0cmF0aW9uLWFnZW5jeSI6IkRhdGFDaXRlIiwiY3JlYXRlZCI6IjIwMTAtMDEtMDFUMDA6MDA6MDAuMDAwWiIsInVwZGF0ZWQiOm51bGx9LCJyZWxhdGlvbnNoaXBzIjp7ImNsaWVudHMiOnsiZGF0YSI6W3siaWQiOiJjZXJuLnplbm9kbyIsInR5cGUiOiJjbGllbnRzIn1dfSwicHJvdmlkZXJzIjp7ImRhdGEiOlt7ImlkIjoiY2VybiIsInR5cGUiOiJwcm92aWRlcnMifV19fX0sImluY2x1ZGVkIjpbeyJpZCI6ImNlcm4uemVub2RvIiwidHlwZSI6ImNsaWVudHMiLCJhdHRyaWJ1dGVzIjp7Im5hbWUiOiJaRU5PRE8gLSBSZXNlYXJjaC4gU2hhcmVkLiIsInN5bWJvbCI6IkNFUk4uWkVOT0RPIiwieWVhciI6MjAxMywi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EMgZXhwZXJpbWVudHMuXG5cbkZ1cnRoZXJtb3JlLCBDRVJOIGlzIGFsc28gcHJvdmlkaW5nIERPSXMgdG8gWkVOT0RPLCBhIG11bHRpZGlzY2lwbGluYXJ5IGRhdGEgcmVwb3NpdG9yeSBmb3IgdGhlIOKAnGxvbmcgdGFpbOKAnSBvZiByZXNlYXJjaCByZXN1bHRzLiBJdCBhbGxvd3MgcmVzZWFyY2hlcnMgdG8gc2hhcmUgYW5kIHByZXNlcnZlIHRoZWlyIG91dHB1dCBpbmRlcGVuZGVudCBvZiBzaXplLCB0eXBlIG9mIG1hdGVyaWFsIG9yIGRpc2NpcGxpbmUuIiwiY291bnRyeSI6IkNIIiwibG9nby11cmwiOiJodHRwczovL2Fzc2V0cy5kYXRhY2l0ZS5vcmcvaW1hZ2VzL21lbWJlcnMvY2Vybi5wbmciLCJpbnN0aXR1dGlvbi10eXBlIjpudWxsLCJpcy1hY3RpdmUiOnRydWUsImhhcy1wYXNzd29yZCI6dHJ1ZSwiam9pbmVkIjoiMjAxNC0wMy0yNSIsImNyZWF0ZWQiOiIyMDE0LTA0LTEwVDEzOjQxOjQ0LjAwMFoiLCJ1cGRhdGVkIjoiMjAxOC0wNC0xMVQwMjoyNTo1MS4wMDBaIn0sInJlbGF0aW9uc2hpcHMiOnsiY2xpZW50cyI6eyJtZXRhIjp7fX0sInByZWZpeGVzIjp7Im1ldGEiOnt9fX19XX0=
|
60
47
|
http_version:
|
61
|
-
recorded_at:
|
48
|
+
recorded_at: Wed, 11 Apr 2018 14:51:13 GMT
|
62
49
|
- request:
|
63
50
|
method: get
|
64
|
-
uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.5281/zenodo.59983&wt=json
|
51
|
+
uri: https://search.datacite.org/api?fl=doi,url,xml,state,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5281/zenodo.59983&wt=json
|
65
52
|
body:
|
66
53
|
encoding: US-ASCII
|
67
54
|
string: ''
|
68
55
|
headers:
|
69
56
|
User-Agent:
|
70
|
-
- Maremma - https://github.com/datacite/maremma
|
57
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
71
58
|
Accept:
|
72
59
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
73
60
|
response:
|
@@ -75,23 +62,27 @@ http_interactions:
|
|
75
62
|
code: 200
|
76
63
|
message: OK
|
77
64
|
headers:
|
78
|
-
|
79
|
-
-
|
80
|
-
Access-Control-Allow-Origin:
|
81
|
-
- "*"
|
65
|
+
Date:
|
66
|
+
- Wed, 11 Apr 2018 14:51:13 GMT
|
82
67
|
Content-Type:
|
83
68
|
- application/json;charset=UTF-8
|
84
|
-
Date:
|
85
|
-
- Tue, 20 Jun 2017 08:53:06 GMT
|
86
|
-
Server:
|
87
|
-
- openresty/1.11.2.2
|
88
69
|
Connection:
|
89
70
|
- keep-alive
|
71
|
+
Server:
|
72
|
+
- nginx/1.10.3 (Ubuntu)
|
73
|
+
Access-Control-Allow-Origin:
|
74
|
+
- "*"
|
75
|
+
Access-Control-Allow-Methods:
|
76
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
77
|
+
Access-Control-Allow-Headers:
|
78
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
79
|
+
Access-Control-Expose-Headers:
|
80
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
90
81
|
body:
|
91
|
-
encoding:
|
92
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
82
|
+
encoding: ASCII-8BIT
|
83
|
+
string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"CERN.ZENODO","xml":"PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz4KPHJlc291cmNlIHhtbG5zO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7L3AmZ3Q7CgombHQ7dWwmZ3Q7CiZsdDtsaSZndDtjb21wYXRpYmlsaXR5IHdpdGggb21uaWF1dGgtb2F1dGgyIDEuNC4wLiBUaGFua3MgdG8gcHVsbCByZXF1ZXN0ICZsdDthIGhyZWY9Imh0dHBzOi8vZ2l0aHViLmNvbS9kYXRhY2l0ZS9vbW5pYXV0aC1vcmNpZC9wdWxsLzciJmd0OyM3Jmx0Oy9hJmd0OyBieSAmbHQ7YSBocmVmPSJodHRwczovL2dpdGh1Yi5jb20vZWxlYW5vcmFraCImZ3Q7ZWxlYW5vcmFraCZsdDsvYSZndDsuJmx0Oy9saSZndDsKJmx0Oy91bCZndDs8L2Rlc2NyaXB0aW9uPgogIDwvZGVzY3JpcHRpb25zPgo8L3Jlc291cmNlPgo=","allocator_symbol":"CERN","minted":"2016-08-11T04:47:51Z","state":"findable","updated":"2017-05-30T02:43:22Z","doi":"10.5281/ZENODO.59983"}]}}
|
93
84
|
|
94
85
|
'
|
95
86
|
http_version:
|
96
|
-
recorded_at:
|
97
|
-
recorded_with: VCR
|
87
|
+
recorded_at: Wed, 11 Apr 2018 14:51:13 GMT
|
88
|
+
recorded_with: VCR 4.0.0
|
data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://app.datacite.org/prefixes/10.5061
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Maremma - https://github.com/datacite/maremma
|
11
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
13
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
14
14
|
response:
|
@@ -16,58 +16,55 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
Access-Control-Allow-Methods:
|
22
|
-
- GET, POST, OPTIONS
|
23
|
-
Access-Control-Allow-Origin:
|
24
|
-
- "*"
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
19
|
+
Date:
|
20
|
+
- Wed, 11 Apr 2018 14:51:13 GMT
|
29
21
|
Content-Type:
|
30
22
|
- application/vnd.api+json; charset=utf-8
|
31
|
-
|
32
|
-
-
|
33
|
-
Etag:
|
34
|
-
- W/"1eb3f4f371821b1becc6cd25a71755ce"
|
35
|
-
Server:
|
36
|
-
- openresty/1.11.2.2
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
37
25
|
Status:
|
38
26
|
- 200 OK
|
27
|
+
X-Anonymous-Consumer:
|
28
|
+
- 'true'
|
29
|
+
Cache-Control:
|
30
|
+
- max-age=0, private, must-revalidate
|
39
31
|
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Powered-By:
|
46
|
-
- Phusion Passenger 5.1.4
|
32
|
+
- Accept-Encoding, Origin
|
47
33
|
X-Request-Id:
|
48
|
-
-
|
34
|
+
- cecda0a5-9781-46e8-aaf3-d52d9c51500e
|
35
|
+
Etag:
|
36
|
+
- W/"b75a81435d8ed404b5bc02952d4e6b94"
|
49
37
|
X-Runtime:
|
50
|
-
- '0.
|
51
|
-
X-
|
52
|
-
-
|
53
|
-
|
54
|
-
-
|
55
|
-
Connection:
|
56
|
-
- keep-alive
|
38
|
+
- '0.015509'
|
39
|
+
X-Powered-By:
|
40
|
+
- Phusion Passenger 5.2.3
|
41
|
+
Server:
|
42
|
+
- nginx/1.12.2 + Phusion Passenger 5.2.3
|
57
43
|
body:
|
58
|
-
encoding:
|
59
|
-
string: '{"data":{"id":"10.5061","type":"prefixes","attributes":{"registration-agency":"DataCite","
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
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","symbol":"CDL.DRYAD","year":2013,"contact-name":"Greg
|
46
|
+
Janee","contact-email":"gjanee@ucop.edu","domains":"*","url":null,"is-active":true,"has-password":false,"created":"2013-02-19T17:42:03Z","updated":"2018-04-11T02:30:15Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"cdl","type":"providers","attributes":{"name":"California
|
47
|
+
Digital Library","symbol":"CDL","website":"http://ezid.cdlib.org","contact-name":"Greg
|
48
|
+
Janee","contact-email":"gjanee@ucop.edu","phone":"+1-510-987-0469","description":"California
|
49
|
+
Digital Library (CDL) handles scholarly information at every stage of its
|
50
|
+
life. CDL provides technology and expertise to help the University of California
|
51
|
+
(UC) collect, publish, access, and preserve its full range of information
|
52
|
+
resources. CDL partners with organizations outside the UCs on far-reaching
|
53
|
+
problems.\n\nCDL offers DataCite DOIs to University of California scholars
|
54
|
+
and researchers via the EZID service. EZID is also available as a general
|
55
|
+
identifier service to help educational, non-profit, governmental and commercial
|
56
|
+
clients create and manage globally unique identifiers for data and other sources.","country":"US","logo-url":"https://assets.datacite.org/images/members/cdl.png","institution-type":null,"is-active":true,"has-password":true,"joined":"2009-12-01","created":"2010-01-01T00:00:00.000Z","updated":"2018-04-11T02:25:51.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
|
60
57
|
http_version:
|
61
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 11 Apr 2018 14:51:13 GMT
|
62
59
|
- request:
|
63
60
|
method: get
|
64
|
-
uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.5061/dryad.781pv&wt=json
|
61
|
+
uri: https://search.datacite.org/api?fl=doi,url,xml,state,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.5061/dryad.781pv&wt=json
|
65
62
|
body:
|
66
63
|
encoding: US-ASCII
|
67
64
|
string: ''
|
68
65
|
headers:
|
69
66
|
User-Agent:
|
70
|
-
- Maremma - https://github.com/datacite/maremma
|
67
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
71
68
|
Accept:
|
72
69
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
73
70
|
response:
|
@@ -75,25 +72,27 @@ http_interactions:
|
|
75
72
|
code: 200
|
76
73
|
message: OK
|
77
74
|
headers:
|
78
|
-
|
79
|
-
-
|
80
|
-
Access-Control-Allow-Origin:
|
81
|
-
- "*"
|
75
|
+
Date:
|
76
|
+
- Wed, 11 Apr 2018 14:51:14 GMT
|
82
77
|
Content-Type:
|
83
78
|
- application/json;charset=UTF-8
|
84
|
-
Date:
|
85
|
-
- Tue, 20 Jun 2017 08:53:09 GMT
|
86
|
-
Server:
|
87
|
-
- openresty/1.11.2.2
|
88
|
-
Content-Length:
|
89
|
-
- '4751'
|
90
79
|
Connection:
|
91
80
|
- keep-alive
|
81
|
+
Server:
|
82
|
+
- nginx/1.10.3 (Ubuntu)
|
83
|
+
Access-Control-Allow-Origin:
|
84
|
+
- "*"
|
85
|
+
Access-Control-Allow-Methods:
|
86
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
87
|
+
Access-Control-Allow-Headers:
|
88
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
89
|
+
Access-Control-Expose-Headers:
|
90
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
92
91
|
body:
|
93
|
-
encoding:
|
94
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
92
|
+
encoding: ASCII-8BIT
|
93
|
+
string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"CDL.DRYAD","url":"http://datadryad.org/resource/doi:10.5061/dryad.781pv","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6bWV0cz0iaHR0cDovL3d3dy5sb2MuZ292L01FVFMvIiB4bWxuczpkc3BhY2U9Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkaW09Imh0dHA6Ly93d3cuZHNwYWNlLm9yZy94bWxucy9kc3BhY2UvZGltIiB4bWxuczpkcnlhZD0iaHR0cDovL3B1cmwub3JnL2RyeWFkL3Rlcm1zLyIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtNCBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC00L21ldGFkYXRhLnhzZCI+CiAgPGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNTA2MS9EUllBRC43ODFQVjwvaWRlbnRpZmllcj4KICA8dmVyc2lvbj4xPC92ZXJzaW9uPgogIDxjcmVhdG9ycz4KICAgIDxjcmVhdG9yPgogICAgICA8Y3JlYXRvck5hbWU+UGl3b3dhciwgSGVhdGhlciBBLjwvY3JlYXRvck5hbWU+CiAgICA8L2NyZWF0b3I+CiAgICA8Y3JlYXRvcj4KICAgICAgPGNyZWF0b3J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eXBlPSJET0kiIHJlbGF0aW9uVHlwZT0iSXNSZWZlcmVuY2VkQnkiPjEwLjc3MTcvUEVFUkouMTc1PC9yZWxhdGVkSWRlbnRpZmllcj4KICAgIDxyZWxhdGVkSWRlbnRpZmllciByZWxhdGVkSWRlbnRpZmllclR5cGU9IkRPSSIgcmVsYXRpb25UeXBlPSJJc1N1cHBsZW1lbnRUbyI+MTAuNzcxNy9QRUVSSi4xNzU8L3JlbGF0ZWRJZGVudGlmaWVyPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iUE1JRCIgcmVsYXRpb25UeXBlPSJJc1JlZmVyZW5jZWRCeSI+MjQxMDk1NTk8L3JlbGF0ZWRJZGVudGlmaWVyPgogICAgPHJlbGF0ZWRJZGVudGlmaWVyIHJlbGF0ZWRJZGVudGlmaWVyVHlwZT0iUE1JRCIgcmVsYXRpb25UeXBlPSJJc1N1cHBsZW1lbnRUbyI+MjQxMDk1NTk8L3JlbGF0ZWRJZGVudGlmaWVyPgogIDwvcmVsYXRlZElkZW50aWZpZXJzPgogIDxyaWdodHNMaXN0PgogICAgPHJpZ2h0cyByaWdodHNVUkk9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL3B1YmxpY2RvbWFpbi96ZXJvLzEuMC8iLz4KICA8L3JpZ2h0c0xpc3Q+CjwvcmVzb3VyY2U+","allocator_symbol":"CDL","minted":"2013-09-20T17:29:35Z","state":"findable","updated":"2017-07-14T03:35:54Z","doi":"10.5061/DRYAD.781PV"}]}}
|
95
94
|
|
96
95
|
'
|
97
96
|
http_version:
|
98
|
-
recorded_at:
|
99
|
-
recorded_with: VCR
|
97
|
+
recorded_at: Wed, 11 Apr 2018 14:51:14 GMT
|
98
|
+
recorded_with: VCR 4.0.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://app.datacite.org/prefixes/10.1594
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Maremma - https://github.com/datacite/maremma
|
11
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
13
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
14
14
|
response:
|
@@ -16,58 +16,45 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
Access-Control-Allow-Methods:
|
22
|
-
- GET, POST, OPTIONS
|
23
|
-
Access-Control-Allow-Origin:
|
24
|
-
- "*"
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
19
|
+
Date:
|
20
|
+
- Wed, 11 Apr 2018 21:28:18 GMT
|
29
21
|
Content-Type:
|
30
22
|
- application/vnd.api+json; charset=utf-8
|
31
|
-
|
32
|
-
-
|
33
|
-
Etag:
|
34
|
-
- W/"0f8a68f3c1e4c153cec8ed895fc58aa4"
|
35
|
-
Server:
|
36
|
-
- openresty/1.11.2.2
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
37
25
|
Status:
|
38
26
|
- 200 OK
|
27
|
+
X-Anonymous-Consumer:
|
28
|
+
- 'true'
|
29
|
+
Cache-Control:
|
30
|
+
- max-age=0, private, must-revalidate
|
39
31
|
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Powered-By:
|
46
|
-
- Phusion Passenger 5.1.4
|
32
|
+
- Accept-Encoding, Origin
|
47
33
|
X-Request-Id:
|
48
|
-
-
|
34
|
+
- 0aa28245-1037-4384-9afe-1efdbd309bbe
|
35
|
+
Etag:
|
36
|
+
- W/"f7fd44bd7780b56614f71d61901fd6cc"
|
49
37
|
X-Runtime:
|
50
|
-
- '0.
|
51
|
-
X-
|
52
|
-
-
|
53
|
-
|
54
|
-
-
|
55
|
-
Connection:
|
56
|
-
- keep-alive
|
38
|
+
- '0.016353'
|
39
|
+
X-Powered-By:
|
40
|
+
- Phusion Passenger 5.2.3
|
41
|
+
Server:
|
42
|
+
- nginx/1.12.2 + Phusion Passenger 5.2.3
|
57
43
|
body:
|
58
|
-
encoding:
|
59
|
-
string:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
eyJkYXRhIjp7ImlkIjoiMTAuMTU5NCIsInR5cGUiOiJwcmVmaXhlcyIsImF0dHJpYnV0ZXMiOnsicmVnaXN0cmF0aW9uLWFnZW5jeSI6IkRhdGFDaXRlIiwiY3JlYXRlZCI6IjIwMTAtMDEtMDFUMDA6MDA6MDAuMDAwWiIsInVwZGF0ZWQiOm51bGx9LCJyZWxhdGlvbnNoaXBzIjp7ImNsaWVudHMiOnsiZGF0YSI6W3siaWQiOiJ0aWIud2RjYyIsInR5cGUiOiJjbGllbnRzIn0seyJpZCI6InRpYi5nZnoiLCJ0eXBlIjoiY2xpZW50cyJ9LHsiaWQiOiJ0aWIudWJmciIsInR5cGUiOiJjbGllbnRzIn0seyJpZCI6InRpYi5sZGVvIiwidHlwZSI6ImNsaWVudHMifSx7ImlkIjoidGliLmVzciIsInR5cGUiOiJjbGllbnRzIn0seyJpZCI6InRpYi5wYW5nYWVhIiwidHlwZSI6ImNsaWVudHMifSx7ImlkIjoidGliLndkY3JzYXQiLCJ0eXBlIjoiY2xpZW50cyJ9XX0sInByb3ZpZGVycyI6eyJkYXRhIjpbeyJpZCI6InRpYiIsInR5cGUiOiJwcm92aWRlcnMifV19fX0sImluY2x1ZGVkIjpbeyJpZCI6InRpYi53ZGNjIiwidHlwZSI6ImNsaWVudHMiLCJhdHRyaWJ1dGVzIjp7Im5hbWUiOiJXb3J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G1lbWJlcnMgb2YgRGF0YUNpdGUgYW5kIGlzIGN1cnJlbnRseSB0aGUgQnVzaW5lc3MgT2ZmaWNlLiBXZSBwcm92aWRlIERPSSByZWdpc3RyYXRpb24gc2VydmljZXMgZm9yIGFsbCBHZXJtYW4gZGF0YSBjZW50cmVzIGluIHRoZSBmaWVsZHMgb2YgZW5naW5lZXJpbmcsIGFyY2hpdGVjdHVyZSwgY2hlbWlzdHJ5LCBpbmZvcm1hdGlvbiB0ZWNobm9sb2d5LCBtYXRoZW1hdGljcyBhbmQgcGh5c2ljcy4gT3VyIGN1cnJlbnQgZm9jdXMgaXMgb24gcHJvdmlkaW5nIERPSSBuYW1lcyBmb3IgcHJpbWFyeSBkYXRhIGFuZCBncmV5IGxpdGVyYXR1cmUuIiwiY291bnRyeSI6IkRFIiwibG9nby11cmwiOiJodHRwczovL2Fzc2V0cy5kYXRhY2l0ZS5vcmcvaW1hZ2VzL21lbWJlcnMvdGliLnBuZyIsImluc3RpdHV0aW9uLXR5cGUiOm51bGwsImlzLWFjdGl2ZSI6dHJ1ZSwiaGFzLXBhc3N3b3JkIjp0cnVlLCJqb2luZWQiOiIyMDA5LTEyLTAxIiwiY3JlYXRlZCI6IjIwMTAtMDEtMDFUMDA6MDA6MDAuMDAwWiIsInVwZGF0ZWQiOiIyMDE4LTA0LTExVDAyOjI1OjUwLjAwMFoifSwicmVsYXRpb25zaGlwcyI6eyJjbGllbnRzIjp7Im1ldGEiOnt9fSwicHJlZml4ZXMiOnsibWV0YSI6e319fX1dfQ==
|
60
47
|
http_version:
|
61
|
-
recorded_at:
|
48
|
+
recorded_at: Wed, 11 Apr 2018 21:28:18 GMT
|
62
49
|
- request:
|
63
50
|
method: get
|
64
|
-
uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.1594/pangaea.745083&wt=json
|
51
|
+
uri: https://search.datacite.org/api?fl=doi,url,xml,state,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.1594/pangaea.745083&wt=json
|
65
52
|
body:
|
66
53
|
encoding: US-ASCII
|
67
54
|
string: ''
|
68
55
|
headers:
|
69
56
|
User-Agent:
|
70
|
-
- Maremma - https://github.com/datacite/maremma
|
57
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
71
58
|
Accept:
|
72
59
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
73
60
|
response:
|
@@ -75,25 +62,27 @@ http_interactions:
|
|
75
62
|
code: 200
|
76
63
|
message: OK
|
77
64
|
headers:
|
78
|
-
|
79
|
-
-
|
80
|
-
Access-Control-Allow-Origin:
|
81
|
-
- "*"
|
65
|
+
Date:
|
66
|
+
- Wed, 11 Apr 2018 21:28:18 GMT
|
82
67
|
Content-Type:
|
83
68
|
- application/json;charset=UTF-8
|
84
|
-
Date:
|
85
|
-
- Tue, 20 Jun 2017 08:53:18 GMT
|
86
|
-
Server:
|
87
|
-
- openresty/1.11.2.2
|
88
|
-
Content-Length:
|
89
|
-
- '1942'
|
90
69
|
Connection:
|
91
70
|
- keep-alive
|
71
|
+
Server:
|
72
|
+
- nginx/1.10.3 (Ubuntu)
|
73
|
+
Access-Control-Allow-Origin:
|
74
|
+
- "*"
|
75
|
+
Access-Control-Allow-Methods:
|
76
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
77
|
+
Access-Control-Allow-Headers:
|
78
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
79
|
+
Access-Control-Expose-Headers:
|
80
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
92
81
|
body:
|
93
|
-
encoding:
|
94
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
82
|
+
encoding: ASCII-8BIT
|
83
|
+
string: '{"responseHeader":{"status":0,"QTime":2},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symb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29sbGVjdGVkIj4yMDA5LTA1LTAyVDE0OjAwOjAwLzIwMDktMDYtMjhUMDA6MDA6MDA8L2RhdGU+PC9kYXRlcz48bGFuZ3VhZ2U+ZW5nPC9sYW5ndWFnZT48cmVzb3VyY2VUeXBlIHJlc291cmNlVHlwZUdlbmVyYWw9IkNvbGxlY3Rpb24iPkNvbGxlY3Rpb24gb2YgRGF0YXNldHM8L3Jlc291cmNlVHlwZT48c2l6ZXM+PHNpemU+MTAgZGF0YXNldHM8L3NpemU+PC9zaXplcz48Zm9ybWF0cz48Zm9ybWF0PmFwcGxpY2F0aW9uL3ppcDwvZm9ybWF0PjwvZm9ybWF0cz48cmlnaHRzTGlzdD48cmlnaHRzIHJpZ2h0c1VSST0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbGljZW5zZXMvYnkvMy4wLyI+Q3JlYXRpdmUgQ29tbW9ucyBBdHRyaWJ1dGlvbiAzLjAgVW5wb3J0ZWQgKENDLUJZKTwvcmlnaHRzPjwvcmlnaHRzTGlzdD48Z2VvTG9jYXRpb25zPjxnZW9Mb2NhdGlvbj48Z2VvTG9jYXRpb25Cb3g+NzguOTQwMDAwMDAwMDAwMDEgMTEuOSA3OC45NjAwMDAwMDAwMDAwMSAxMi4wNzwvZ2VvTG9jYXRpb25Cb3g+PC9nZW9Mb2NhdGlvbj48L2dlb0xvY2F0aW9ucz48L3Jlc291cmNlPg==","allocator_symbol":"TIB","minted":"2010-10-21T01:06:41Z","state":"findable","updated":"2016-04-01T18:28:38Z","doi":"10.1594/PANGAEA.745083"}]}}
|
95
84
|
|
96
85
|
'
|
97
86
|
http_version:
|
98
|
-
recorded_at:
|
99
|
-
recorded_with: VCR
|
87
|
+
recorded_at: Wed, 11 Apr 2018 21:28:18 GMT
|
88
|
+
recorded_with: VCR 4.0.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://app.datacite.org/prefixes/10.6084
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Maremma - https://github.com/datacite/maremma
|
11
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
12
12
|
Accept:
|
13
13
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
14
14
|
response:
|
@@ -16,58 +16,55 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
-
|
20
|
-
-
|
21
|
-
Access-Control-Allow-Methods:
|
22
|
-
- GET, POST, OPTIONS
|
23
|
-
Access-Control-Allow-Origin:
|
24
|
-
- "*"
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
|
-
Cache-Control:
|
28
|
-
- max-age=0, private, must-revalidate
|
19
|
+
Date:
|
20
|
+
- Wed, 11 Apr 2018 21:28:18 GMT
|
29
21
|
Content-Type:
|
30
22
|
- application/vnd.api+json; charset=utf-8
|
31
|
-
|
32
|
-
-
|
33
|
-
Etag:
|
34
|
-
- W/"58c74e33ab541adc084b3eaeb81a81fd"
|
35
|
-
Server:
|
36
|
-
- openresty/1.11.2.2
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
37
25
|
Status:
|
38
26
|
- 200 OK
|
27
|
+
X-Anonymous-Consumer:
|
28
|
+
- 'true'
|
29
|
+
Cache-Control:
|
30
|
+
- max-age=0, private, must-revalidate
|
39
31
|
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Powered-By:
|
46
|
-
- Phusion Passenger 5.1.4
|
32
|
+
- Accept-Encoding, Origin
|
47
33
|
X-Request-Id:
|
48
|
-
-
|
34
|
+
- b4618b2a-236c-46f9-a1bb-ccb74b112ade
|
35
|
+
Etag:
|
36
|
+
- W/"037620475cb95b310294968ab16bc87d"
|
49
37
|
X-Runtime:
|
50
|
-
- '0.
|
51
|
-
X-
|
52
|
-
-
|
53
|
-
|
54
|
-
-
|
55
|
-
Connection:
|
56
|
-
- keep-alive
|
38
|
+
- '0.012611'
|
39
|
+
X-Powered-By:
|
40
|
+
- Phusion Passenger 5.2.3
|
41
|
+
Server:
|
42
|
+
- nginx/1.12.2 + Phusion Passenger 5.2.3
|
57
43
|
body:
|
58
|
-
encoding:
|
59
|
-
string: '{"data":{"id":"10.6084","type":"prefixes","attributes":{"registration-agency":"DataCite","
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: '{"data":{"id":"10.6084","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2011-12-09T07:47:16.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"figshare.ars","type":"clients"}]},"providers":{"data":[{"id":"figshare","type":"providers"}]}}},"included":[{"id":"figshare.ars","type":"clients","attributes":{"name":"figshare
|
46
|
+
Academic Research System","symbol":"FIGSHARE.ARS","year":2016,"contact-name":"Gavrila
|
47
|
+
Daniel","contact-email":"danielduduta@figshare.com","domains":"figshare.com","url":null,"is-active":true,"has-password":true,"created":"2016-10-12T13:42:35Z","updated":"2018-04-11T02:30:38Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"figshare","type":"providers","attributes":{"name":"figshare","symbol":"FIGSHARE","website":"https://figshare.com","contact-name":"Daniel
|
48
|
+
Gavrila","contact-email":"danielduduta@figshare.com","phone":"+44 (0) 20 7418
|
49
|
+
5573","description":"figshare is a repository where users can make all of
|
50
|
+
their research outputs available in a citable, shareable and discoverable
|
51
|
+
manner.\n\nfigshare allows users to upload any file format to be previewed
|
52
|
+
in the browser so that any research output, from posters and presentations
|
53
|
+
to datasets and code, can be disseminated in a way that the current scholarly
|
54
|
+
publishing model does not allow.\n\nOur mission is to change the face of academic
|
55
|
+
publishing with the improved dissemination and discoverability and reusability
|
56
|
+
of all scholarly research.","country":"GB","logo-url":"https://assets.datacite.org/images/members/figshare.png","institution-type":null,"is-active":true,"has-password":true,"joined":"2016-09-12","created":"2016-10-04T12:19:14.000Z","updated":"2018-04-11T02:25:51.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
|
60
57
|
http_version:
|
61
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 11 Apr 2018 21:28:18 GMT
|
62
59
|
- request:
|
63
60
|
method: get
|
64
|
-
uri: https://search.datacite.org/api?fl=doi,xml,media,minted,updated&q=doi:10.6084/m9.figshare.1537331.v1&wt=json
|
61
|
+
uri: https://search.datacite.org/api?fl=doi,url,xml,state,allocator_symbol,datacentre_symbol,media,minted,updated&q=doi:10.6084/m9.figshare.1537331.v1&wt=json
|
65
62
|
body:
|
66
63
|
encoding: US-ASCII
|
67
64
|
string: ''
|
68
65
|
headers:
|
69
66
|
User-Agent:
|
70
|
-
- Maremma - https://github.com/datacite/maremma
|
67
|
+
- Maremma 4.0.5 - https://github.com/datacite/maremma
|
71
68
|
Accept:
|
72
69
|
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
73
70
|
response:
|
@@ -75,25 +72,27 @@ http_interactions:
|
|
75
72
|
code: 200
|
76
73
|
message: OK
|
77
74
|
headers:
|
78
|
-
|
79
|
-
-
|
80
|
-
Access-Control-Allow-Origin:
|
81
|
-
- "*"
|
75
|
+
Date:
|
76
|
+
- Wed, 11 Apr 2018 21:28:19 GMT
|
82
77
|
Content-Type:
|
83
78
|
- application/json;charset=UTF-8
|
84
|
-
Date:
|
85
|
-
- Tue, 20 Jun 2017 08:53:20 GMT
|
86
|
-
Server:
|
87
|
-
- openresty/1.11.2.2
|
88
|
-
Content-Length:
|
89
|
-
- '1402'
|
90
79
|
Connection:
|
91
80
|
- keep-alive
|
81
|
+
Server:
|
82
|
+
- nginx/1.10.3 (Ubuntu)
|
83
|
+
Access-Control-Allow-Origin:
|
84
|
+
- "*"
|
85
|
+
Access-Control-Allow-Methods:
|
86
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
87
|
+
Access-Control-Allow-Headers:
|
88
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
89
|
+
Access-Control-Expose-Headers:
|
90
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
|
92
91
|
body:
|
93
|
-
encoding:
|
94
|
-
string: '{"responseHeader":{"status":0,"QTime":
|
92
|
+
encoding: ASCII-8BIT
|
93
|
+
string: '{"responseHeader":{"status":0,"QTime":2},"response":{"numFound":1,"start":0,"docs":[{"datacentre_symbol":"FIGSHARE.ARS","url":"https://figshare.com/articles/Bone_Regeneration_Using_Hydroxyapatite_Crystals_for_Periapical_Lesion/1537331/1","xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJlc291cmNlIHhtbG5zPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRwOi8vZGF0YWNpdGUub3JnL3NjaGVtYS9rZXJuZWwtMyBodHRwOi8vc2NoZW1hLmRhdGFjaXRlLm9yZy9tZXRhL2tlcm5lbC0zL21ldGFkYXRhLnhzZCI+PGlkZW50aWZpZXIgaWRlbnRpZmllclR5cGU9IkRPSSI+MTAuNjA4NC9NOS5GSUdTSEFSRS4xNTM3MzMxLlYxPC9pZGVudGlmaWVyPjx0aXRsZXM+PHRpdGxlPkJvbmUgUmVnZW5lcmF0aW9uIFVzaW5nIEh5ZHJveHlhcGF0aXRlIENyeXN0YWxzIGZvciBQZXJpYXBpY2FsIExlc2lvbjwvdGl0bGU+PC90aXRsZXM+PHB1Ymxpc2hlcj5GaWdzaGFyZTwvcHVibGlzaGVyPjxwdWJsaWNhdGlvblllYXI+MjAxNTwvcHVibGljYXRpb25ZZWFyPjxyZXNvdXJjZVR5cGUgcmVzb3VyY2VUeXBlR2VuZXJhbD0iRGF0YXNldCI+RGF0YXNldDwvcmVzb3VyY2VUeXBlPjxyaWdodHNMaXN0PjxyaWdodHMgcmlnaHRzVVJJPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9saWNlbnNlcy9ieS8zLjAvdXMvIj5DQy1CWTwvcmlnaHRzPjwvcmlnaHRzTGlzdD48Y3JlYXRvcnM+PGNyZWF0b3I+PGNyZWF0b3JOYW1lPklvc3Igam91cm5hbHM8L2NyZWF0b3JOYW1lPjwvY3JlYXRvcj48Y3JlYXRvcj48Y3JlYXRvck5hbWU+RHIuIFJvaGl0IEFyb3JhLCBNRFM8L2NyZWF0b3JOYW1lPjwvY3JlYXRvcj48Y3JlYXRvcj48Y3JlYXRvck5hbWU+RHIuIFNoYWx5YSBSYWoqLk1EUzwvY3JlYXRvck5hbWU+PC9jcmVhdG9yPjwvY3JlYXRvcnM+PC9yZXNvdXJjZT4=","allocator_symbol":"FIGSHARE","minted":"2016-01-20T04:04:29Z","state":"findable","updated":"2016-01-20T04:04:29Z","doi":"10.6084/M9.FIGSHARE.1537331.V1"}]}}
|
95
94
|
|
96
95
|
'
|
97
96
|
http_version:
|
98
|
-
recorded_at:
|
99
|
-
recorded_with: VCR
|
97
|
+
recorded_at: Wed, 11 Apr 2018 21:28:19 GMT
|
98
|
+
recorded_with: VCR 4.0.0
|