Metadata Store Application

Provides an application for handling Data Object Identifier at CNES
This application provides 3 API:

Resources

/dois

Methods

GET

Retrieves the DOI collection

available response status and representations:

    STATUS 500 : Interface problem between Datacite and DOI-Server

POST

POST will mint new DOI if specified DOI doesn't exist. This method will attempt to update URL if you specify existing DOI. Standard domains and quota restrictions check will be performed. A Datacentre's doiQuotaUsed will be increased by 1. A new record in Datasets will be created.

request header parameters
parameter value description

selectedRole

string

A user can select one role when he is associated to several roles

acceptable request representations:

available response status and representations:

/dois/{doiName}

Methods

GET

Get the landing page related to a given DOI

request template parameters
parameter value description

doiName

string (required)

DOI name

available response status and representations:

/metadata

Methods

POST

This request stores new version of metadata. The request body must contain a valid XML.

request header parameters
parameter value description

selectedRole

string

A user can select one role when he is associated to several roles

acceptable request representations:

available response status and representations:

/metadata/{doiName}

Methods

DELETE

Delete a specific metadata

request template parameters
parameter value description

doiName

string (required)

DOI name

request header parameters
parameter value description

selectedRole

string

A user can select one role when he is associated to several roles

available response status and representations:

GET

Get a specific metadata

request template parameters
parameter value description

doiName

string (required)

DOI name

available response status and representations:

/media/{doiName}

Methods

GET

Get a specific media for a given DOI

request template parameters
parameter value description

doiName

string (required)

DOI name

available response status and representations:

POST

POST will add/update media type/urls pairs to a DOI. Standard domain restrictions check will be performed.

request header parameters
parameter value description

selectedRole

string

A user can select one role when he is associated to several roles

acceptable request representations:

available response status and representations:

    STATUS 400 : DOI not provided or one or more of the specified mime-types or urls are invalid (e.g. non supported mime-type, not allowed url domain, etc.)

Representations

DOI collection representation (text/uri-list)

This request returns a list of all DOIs for the requesting datacentre. There is no guaranteed order.

Empty representation (text/plain)

No contain

application/x-www-form-urlencoded

plain parameters
parameter value description

doi

string (required)

DOI name

url

string (required)

URL of the landing page

header parameters
parameter value description

selectedRole

string

A user can select one role when he is associated to several roles

Explain representation (text/plain)

short explanation of status code e.g. CREATED, HANDLE_ALREADY_EXISTS etc

Body representation (text/plain - )

short explanation of status code

short explanation of status code

short explanation of status code

XML Schema

Source:

DOI Representation (text/plain)

This request returns an URL associated with a given DOI.

application/xml (default:Resource)

DataCite metadata

XML Schema

Source:

header parameters
parameter value description

selectedRole

string

A user can select one role when he is associated to several roles

Media representation (text/plain)

This request returns a key-value list of media types/urls for a given DOI name

application/x-www-form-urlencoded

plain parameters
parameter value description

{mediaType}

string (repeating)

Fixed: {url}

(key/value) = (mediaType/url)

header parameters
parameter value description

selectedRole

string

A user can select one role when he is associated to several roles