Sha256: c4afc38f1f181f072a40202686f173066b8dec9d9b178730adecc50e508fcc52

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://test:test@mds.datacite.org/metadata
    body:
      encoding: UTF-8
      string: |
        <resource xmlns="http://datacite.org/schema/kernel-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd">
        <identifier identifierType="DOI">10.5072/my_test</identifier>
        <creators>
        <creator>
        <creatorName>First, Last</creatorName>
        </creator>
        </creators>
        <titles>
        <title>For testing</title>
        </titles>
        <publisher>ABC</publisher>
        <publicationYear>2013</publicationYear>
        <subjects>
        <subject>Assessment</subject>
        <subject>Information Literacy</subject>
        <subject>Engineering</subject>
        </subjects>
        <language>eng</language>
        <resourceType resourceTypeGeneral="Dataset">Dataset</resourceType>
        <version>1</version>
        <descriptions>
        <description descriptionType="Abstract">
        A test
        </description>
        </descriptions>
        </resource>
    headers:
      Accept:
      - "*/*; q=0.5, application/xml"
      Accept-Encoding:
      - gzip, deflate
      Content-Type:
      - application/xml;charset=UTF-8
      Content-Length:
      - '821'
      User-Agent:
      - Ruby
  response:
    status:
      code: 201
      message: Created
    headers:
      Date:
      - Tue, 04 Nov 2014 13:50:10 GMT
      Pragma:
      - no-cache
      Expires:
      - Thu, 01 Jan 1970 00:00:00 GMT
      Cache-Control:
      - no-cache
      - no-store
      Location:
      - https://mds.datacite.org/metadata/10.5072/my_test
      Content-Type:
      - application/xml;charset=UTF-8
      Content-Length:
      - '20'
    body:
      encoding: UTF-8
      string: OK (10.5072/my_test)
    http_version:
  recorded_at: Tue, 04 Nov 2014 13:50:13 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datacite_doi_ify-1.0.0 spec/cassettes/upload_metadata/creates_new_version_of_metadata.yml
datacite_doi_ify-0.0.1 spec/cassettes/upload_metadata/creates_new_version_of_metadata.yml