Cite My Data M2M Service Technical Description



Similar documents
British Library DataCite Workshop University of Glasgow, 13 June 2014 Programme

Service Guidelines. This document describes the key services and core policies underlying California Digital Library (CDL) s EZID Service.

data.bris: collecting and organising repository metadata, an institutional case study

da ra the GESIS registration agency for DOIs for research data

SYSPRO App Store: Registration Guide

Table of Contents 1. Contents...1

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

MAIL1CLICK API - rel 1.35

Audit Management Reference

Working with the British Library and DataCite A guide for Higher Education Institutions in the UK

Making Data Citable The German DOI Registration Agency for Social and Economic Data: da ra

Tableau Server Trusted Authentication

LIVE CHAT CLOUD SECURITY Everything you need to know about live chat and communicating with your customers securely

DEPLOYMENT GUIDE Version 1.1. Deploying the BIG-IP LTM v10 with Citrix Presentation Server 4.5

Secure Messaging Server Console... 2

Contents. 2 Alfresco API Version 1.0

Dell SupportAssist Version 2.0 for Dell OpenManage Essentials Quick Start Guide

DATA CITATION. what you need to know

About This Document 3. Integration and Automation Capabilities 4. Command-Line Interface (CLI) 8. API RPC Protocol 9.

Title page. Alcatel-Lucent 5620 SERVICE AWARE MANAGER 13.0 R7

DEPLOYMENT GUIDE Version 1.2. Deploying F5 with Oracle E-Business Suite 12

How To Use The Rss Feeder On Firstclass (First Class) And First Class (Firstclass) For Free

Sophos SafeGuard Native Device Encryption for Mac Administrator help. Product version: 7

vcloud Air Platform Programmer's Guide

MadCap Software. Upgrading Guide. Pulse

DEPLOYMENT GUIDE Version 2.1. Deploying F5 with Microsoft SharePoint 2010

IDAM Most frequently encountered messages / known issues document

DELIVERABLE. Grant Agreement number: Europeana Cloud: Unlocking Europe s Research via The Cloud

RoomWizard Synchronization Software Manual Installation Instructions

HRC Advanced Citrix Troubleshooting Guide. Remove all Citrix Instances from the Registry

Migrating to vcloud Automation Center 6.1

DreamFactory Security Whitepaper Customer Information about Privacy and Security

UK Access Management Federation For Education and Research Operator

Reverse Proxy Guide. Version 2.0 April 2016

Online Data Services. Security Guidelines. Online Data Services by Esri UK. Security Best Practice

SAML Single-Sign-On (SSO)

P309 - Proofpoint Encryption - Decrypting Secure Messages Business systems

Setup Guide Access Manager 3.2 SP3

Policy Guide Access Manager 3.1 SP5 January 2013

The Metadata in the Data Catalogue DBK

Last Modified June 2008

RealPresence Platform Director

The Retail Electricity Market

Customer Tips. Xerox Network Scanning TWAIN Configuration for the WorkCentre 7328/7335/7345. for the user. Purpose. Background

How To Write A Blog Post On Globus

NETWRIX EVENT LOG MANAGER

Transferring Your Internet Services

Corporate Access File Transfer Service Description Version /05/2015

Architecture and Data Flow Overview. BlackBerry Enterprise Service Version: Quick Reference

Xerox Multifunction Devices. Verify Device Settings via the Configuration Report

Facility Connect API: Setup & Troubleshooting. Version 1

FAQs, Hints and Tips

ODIN ORCID and DATACITE Interoperability Network Title

Cloudbuz at Glance. How to take control of your File Transfers!

Most common problem situations in direct message exchange

InduSoft Thin Client Setup and Troubleshooting Guide

Single Sign-On Guide for Blackbaud NetCommunity and The Patron Edge Online

Server and Direct Shared Protocols

Cloud. Hosted Exchange Administration Manual

Coveo Platform 7.0. Microsoft Dynamics CRM Connector Guide

Installation Guide ARGUS Symphony 1.6 and Business App Toolkit. 6/13/ ARGUS Software, Inc.

Integration of Hotel Property Management Systems (HPMS) with Global Internet Reservation Systems

GLS Support Guide Tips and Tricks

App Orchestration 2.5

File Transmission Methods Monday, July 14, 2014

NSi Mobile Installation Guide. Version 6.2

API documentation - 1 -

Login with Amazon. Getting Started Guide for Websites. Version 1.0

Training Module 1: Administration (logical) (for Privia version 5.9)

Novell Filr. Windows Client

Web24 Web Hosting Guide

Tenrox. Single Sign-On (SSO) Setup Guide. January, Tenrox. All rights reserved.

SafeGuard Enterprise Web Helpdesk

DFG form /15 page 1 of 8. for the Purchase of Licences funded by the DFG

Connected Data. Connected Data requirements for SSO

DEPLOY A SINGLE-SERVER OFFICE WEB APPS SERVER FARM THAT USES HTTPS

Manual POLICY PATROL SIGNATURES FOR OUTLOOK, GOOGLE APPS & OFFICE 365

SOA, case Google. Faculty of technology management Information Technology Service Oriented Communications CT30A8901.

Jiří Kadlec and Daniel P. Ames*

Publishing Reports in Tableau

Sophos Mobile Control SaaS startup guide. Product version: 6

FileMaker Server 12. Custom Web Publishing with PHP

Installing OGDI DataLab version 5 on Azure

FileMaker Server 13. Custom Web Publishing with PHP

TIBCO Spotfire Automation Services 6.5. User s Manual

EDINBURGH UNIVERSITY PRESS LIBRARIAN ADMINISTRATION USER GUIDE

SafeGuard Enterprise Web Helpdesk. Product version: 6 Document date: February 2012

How-to: Single Sign-On

SCOPE OF SERVICE Hosted Cloud Storage Service: Scope of Service

SOA Software: Troubleshooting Guide for Agents

Safeguard Ecommerce Integration / API

Integration Guide. SafeNet Authentication Service. Using SAS as an Identity Provider for Salesforce

Netwrix Auditor. Administrator's Guide. Version: /30/2015

BlackBerry Enterprise Service 10. Universal Device Service Version: Administration Guide

DEPLOYMENT GUIDE Version 1.1. Deploying F5 with Oracle Application Server 10g

An overview of configuring WebEx for single sign-on. To configure the WebEx application for single-sign on from the cloud service (an overview)

Working with the British Library and DataCite Institutional Case Studies

Tableau Server Trusted Authentication

Data Transfer Service A Migration tool to replace current X.400 messaging between NHS workflow applications

Transcription:

Cite My Data M2M Service Technical Description 1 Introduction... 2 2 How Does it Work?... 2 2.1 Integration with the Global DOI System... 2 2.2 Minting DOIs... 2 2.3 DOI Resolution... 3 3 Cite My Data M2M Service Technical Details... 4 3.1 How Do I Get Access?... 4 3.2 Authentication... 4 3.3 Client Identifiers... 5 3.4 Testing the Cite My Data M2M Service... 5 3.5 Adding Domains to Your Account... 5 3.6 DataCite Metadata Schema... 5 3.7 Cite My Data M2M Service Responses... 6 3.8 Service Availability... 7 3.9 Service Points... 7 3.10 PHP Minting Example... 9 3.11 DataCite Schema XML Example... 9

1 Introduction The Cite My Data Machine to Machine (M2M) service is a set of RESTful (Representational State Transfer) web services that allow registered clients to mint, update & retrieve ANDS Digital Object Identifiers (DOIs) that identify research data. By embedding the service within data management workflows, clients are able to treat datasets as citeable unique objects in the same way as DOI identified publications. The service ensures that a standard level of metadata is always associated with ANDS DOIs through the use of a mandatory metadata schema, while also allowing clients to further enrich descriptions through the use of non-mandatory metadata schema elements. 2 How Does it Work? 2.1 Integration with the Global DOI System The Digital Object Identifier (DOI) System provides a framework for persistent identification, managing intellectual content, managing metadata, linking customers with content suppliers, facilitating electronic commerce, and enabling automated management of media. DOI names can be used for any form of management of any data, whether commercial or non-commercial. The DOI System is an ISO International Standard which is based on the Handle System. In order to provide DOI minting services that integrate with the global DOI System an organisation must be registered as an authorised Registration Agency (RA). ANDS is a member of an established International Registration Agency called DataCite. DataCite has developed an infrastructure that supports simple and effective methods of data citation, discovery, and access. Through this Datacite membership, ANDS has become part of the Registration Agency and can offer DataCite DOI services. The ANDS Cite My Data M2M service utilises the DOI services offered through our membership with DataCite while also adding a layer of administration and business logic. DataCite addresses the issue of data accessibility by requiring that all data identified by a DataCite DOIs is publicly available (published) via a URL. This means that all DOIs minted through ANDS must resolve to a public landing page that contains information about the associated dataset and a direct link to the dataset itself. ANDS aims to integrate the Cite My Data service with the ANDS registry allowing clients to register collections and mint DOIs in a single step. 2.2 Minting DOIs How to Mint DOIs with the Cite My Data M2M Service Sign Cite My Data User Agreement Send account creation information to service@ands.org.au Implement Cite My Data service Test Cite My Data service with test prefix 10.5072 Email services@ands.org.au to have production prefixes added to your account. Mint DOIs The ANDS Cite My Data M2M service is implemented as a set of secure PHP RESTful web services backed by a Postgres database. Clients are required to register with ANDS before access to the

administrative services is granted (see section 3.1 How Do I Get Access?). Once registered, clients can programmatically call the Cite My Data M2M Service to mint and manage DOIs (see section 3.9 Service Points). All connections with the service should be made via Hypertext Transfer Protocol Secure (HTTPS). When minting a DOI, the Cite My Data M2M service requires that metadata about the data being identified is included in an XML document that conforms to the DataCite Metadata Schema (ANDS currently supports version 2.1 of the schema. See section 3.6 DataCite Metadata Schema). Clients are not required to pass through identifiers when minting DOIs as these are generated by the Cite My Data service. The mandatory set of information that needs to be passed through to mint a DOI is URL - The URL for the landing page of the dataset. (Passed as a parameter and not part of the XML metadata) Title - A name or title by which a resource is known. Creators - The main researchers involved in producing the data, or the authors of the publication, in priority order. Publisher - The holder of the data (including archives as appropriate) or institution that submitted the work. Publication Year - The year when the data was or will be made publicly available. An XML example of DataCite metadata can be found in section 3.11 DataCite Schema XML Example. Once a DOI has been minted the ANDS Cite My Data Service will give public access to the XML metadata associated with the DOI via a publically accessible service point. Note: ANDS does not update the information stored with DOIs which have been minted using the Cite My Data service. This is the responsibility of the client that minted the DOI. 2.3 DOI Resolution All ANDS DOIs must be associated with a resolvable URL pointing to a landing page for the data being identified. This means that resolving ANDS DOIs is as simple as prefixing the DOI with the DOI System s resolution service address (http://dx.doi.org/) in a browser address bar e.g. http://dx.doi.org/10.1594/pangaea.726855. It is important to understand that the Handle System (the technical infrastructure for DOIs) is a distributed network system. The consequence of this is inherent latency. DOIs have TTL (time to live) defaulted to 24 hours, so any changes will be visible to the resolution infrastructure only when the TTL expires.

3 Cite My Data M2M Service Technical Details 3.1 How Do I Get Access? Before your software can use the Cite My Data M2M service it needs to be registered as a trusted client in the ANDS database. Once this registration process is complete, HTTP requests will be serviced. There are 2 steps involved in gaining access to the Cite My Data M2M service. Step 1 The first step in gaining access to the service is to submit a signed Cite My Data Service Agreement to ANDS. The agreement details the responsibilities of ANDS and ANDS clients in the provision and use of the Cite My Data service. The agreement can be downloaded here and should be signed by someone entitled to enter into agreements on behalf of your organisation and sent to your ANDS liaison officer. Step 2 Once you have submitted a signed Cite My Data Service Agreement you will need to email services@ands.org.au with the following account creation information: DOI Account Name (A name for the Cite My Data account. Usually an organisation) IP Address or Range (This must be the IP address of the machine that will be calling the service. Ranges can be submitted by entering the start and end of the range separated by a comma) Account Contact Full Name (The name of a contact at your site ANDS should contact to discuss DOI related issues) Account Contact Email Address (Email address for the primary contact. Group mailboxes are preferred over personal email addresses as they ensure ANDS has an ongoing contact point if a client s staff member changes role or leaves.) Top Level Domains (Comma separated list of top level domains that DOI URLs will be resolved under. Remember DOI URLs must resolve to a public landing page that contains information about the associated dataset and a direct link to the dataset itself) Example DOI Account Name: ANDS Canberra IP Address: 101.101.101.101 Datacentre Contact Full Name: Joe Smith Datacentre Contact Email Address: DataCentreDOIperson@ands.org.au Top Level Domains: http://ands.org.au, http://services.ands.org.au 3.2 Authentication After ANDS has set up your Cite My Data account you will be issued with an Application Identifier (App Id). The App Id will be used along with your registered IP address for authentication with the ANDS Cite My Data service. The App Id must be passed as a parameter with all administrative service calls (mint & update). Administrative requests that do not contain correct credentials will fail with a response code of 415 : Authentication Error.

App Id example : 9b310b815997d2d3438ead565f253b0e75e970f7 3.3 Client Identifiers Upon account creation your account will be given a unique Client Identifier (Client Id). The Client Id will be used in the creation of your DOIs and will allow you to identify your DOIs and obtain accurate reporting statistics. E.g. 10.5072/05/4DD05E7F1ED6B ANDS Test DOI Prefix Client Id Meaningless but unique string 3.4 Testing the Cite My Data M2M Service While a client is integrating and testing the Cite My Data service, the only DOI prefix that will be allocated to the client s account will be the ANDS test DOI prefix (10.5072). DOIs minted using this prefix are not visible in the global DOI infrastructure and therefore do not resolve. These test DOIs are routinely deleted from the DOI database. Once the client and ANDS are satisfied that the service has been successfully implemented and tested, the client will need to email services@ands.org.au to have the production prefixes added to the their account. 3.5 Adding Domains to Your Account Additional domains can be added to your Cite My Data account by sending a request to services@ands.org.au. The email subject should be Add Domains to My Cite My Data Account and the body should contain your Account Name and a comma separated list of the domains you wish to add. 3.6 DataCite Metadata Schema DataCite has published an XML schema that defines the valid format for any metadata submissions to the dataset DOI registration system. As ANDS integrates with the DOI system via DataCite, all metadata that is passed as a parameter to one of the Cite My Data web services must adhere to this schema. ANDS currently supports version 2.1 of the schema. More information about the schema can be found at DataCite schema. 3.6.1.1 Tips for building XML metadata documents. 1. The schema must be declared in the root element as follows: <resource xmlns="http://datacite.org/schema/kernel-2.1" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://datacite.org/schema/kernel-2.1 http://schema.datacite.org/meta/kernel-2.1/metadata.xsd"> 2. Note that above uses schema.datacite.org not www.datacite.org. You can use only schemas located at http://schema.datacite.org in order to get your XML documents accepted by the Cite

My Data service. You should NOT use schemas hosted on www.datacite.org even if both seem to be version 2.1. 3. If you have problems uploading your XML documents, 3 rd party tools can be used to diagnose and validate your XML. One of many tools is http://www.validome.org/xml - just paste your XML document into the 'source code' area and press Validate. The tool highlights a location of the error. 3.7 Cite My Data M2M Service Responses The possible responses to Cite My Data M2M service requests are shown in the below table. Responses are in text HTML format. Response Response Text Response Reason Code 200 OK : DOI <identifier> was successfully minted. DOI minting request successful 200 OK : DOI <identifier> was successfully updated. DOI update request successful 200 OK : DOI <identifier> was successfully DOI deactivation request successful deactivated. 200 OK : DOI <identifier> was successfully activated. DOI activation request successful 200 DOI <doi_identifier> does not exist in the ANDS Cite My Data service The DOI you have requested metadata for does not exist in the Cite My Data service. 200 No metadata exists in the Cite My Data service No metadata exists in the Cite My 415 415 for DOI <identifier>. Authentication Error : You are not authorised to use this service. For more information or to request access to the service please contact services@ands.org.au. Authentication Error : You do not appear to be the owner of DOI <identifier>. If you believe this to be incorrect please contact services@ands.org.au. Internal Server Error : Document Load Error Data service for the requested DOI. Clients credentials (App Id, & IP) passed through in a service call do not match what s held in the Cite My Data service. See section 3.1 How Do I Get Access? and 3.2 Authentication for more information. Client attempts to change a DOI which doesn t belong to them. Syntactical error in XML document passed through in a service request. Internal Server Error : Document Validation Error The metadata you have provided to mint a new DOI has failed the schema validation. Metadata is validated against the DataCite Metadata Schema. For information about the schema and the latest version supported, please visit the ANDS website http://ands.org.au. Detailed information about the validation errors can be found below. Internal Server Error : Document Validation Error DOI metadata in XML document passed through in service request has failed the DataCite schema validation See section 3.6 DataCite Metadata Schema for more information. DOI metadata in XML document passed through in service request

Response Code Response Text The metadata you have provided to update DOI <identifier> has failed the schema validation. Metadata is validated against the DataCite Metadata Schema. For information about the schema and the latest version supported, please visit the ANDS website http://ands.org.au. Detailed information about the validation errors can be found below. Internal Server Error : URL is a mandatory value to mint a DOI Internal Server Error: There has been an unexpected error processing your DOI request. For more information please contact services@ands.org.au Internal Server Error : The ANDS Cite My Data service is currently unavailable. Please try again at a later time. If you continue to experience problems please contact services@ands.org.au. Response Reason has failed the DataCite schema validation See section 3.6 DataCite Metadata Schema for more information. URL parameter has been omitted when requesting a new DOI. See section 3.9 Service Points for more information. The Cite My Data service has encountered an unexpected error due to external dependencies. Cite My Data Service is unavailable 3.8 Service Availability Although ANDS attempts to ensure that the Cite My Data M2M service is always available, planned and unexpected outages will occur. Notice of all planned outages will be distributed via email prior to the event. For this reason it is important to keep your account contact information as up to date as possible. As ANDS is dependent on a number of external services the risk of unexpected outages are increased. It is strongly recommended that application developers ensure service outages can be catered for in their applications. 3.9 Service Points 3.9.1 Mint a DOI Description Mints a new DOI with associated metadata. Note: Identifiers for DOIs are automatically generated by the Cite My Data service and do not need to be passed as parameters in the Identifier metadata element when minting a DOI. Any text passed through in the Identifier element within the metadata will be overwritten. Service Point https://services.ands.org.au/home/dois/doi_mint.php?app_id=$app_id&url=$url Method POST Parameters Application Id URL XML Metadata (conforming to DataCite Metadata Schema) Response Text HTML format. See Cite My Data M2M Service Responses table above.

Data 3.9.2 Update a DOI Description Updates a DOI. DOI being updated must belong to the client requesting the update. The update service point allows clients to update their DOIs in 3 ways. Clients can update the URL only, metadata only, or both the URL and metadata. Service Point https://services.ands.org.au/home/dois/doi_update.php?app_id=$app_id&doi=$d OI_id Method POST Parameters Application Id DOI URL (only required if updating the URL) XML Metadata. Must contain the DOI being updated (only required if updating the metadata) Response Data Text HTML format. See Cite My Data M2M Service Responses table above. 3.9.3 Deactivate a DOI Description Deactivates metadata associated with a DOI. A DOI s metadata is active by default. Deactivating a DOI s metadata prevents the metadata from being returned by the public Request Metadata Associated with DOI service endpoint. Service Point https://services.ands.org.au/home/dois/doi_deactivate.php?app_id=$app_id&doi =$DOI_id Method GET Parameters Application Id DOI Response Data Text HTML format. See Cite My Data M2M Service Responses table above. 3.9.4 Activate a DOI Description Activates deactivated metadata associated with a given DOI. A DOI s metadata is active by default, and can only by activated if it has previously been deactivated. Activating a DOI s metadata allows the metadata to be returned by the public Request Metadata Associated with DOI service endpoint. Service Point https://services.ands.org.au/home/dois/doi_activate.php?app_id=$app_id&doi=$ DOI_id Method GET Parameters Application Id DOI Response Data Text HTML format. See Cite My Data M2M Service Responses table above. 3.9.5 Request Metadata Associated with a DOI Description Publically accessible service point which returns the metadata associated with a given DOI. Service Point https://services.ands.org.au/home/dois/doi_xml.php?doi=$doi_id Method GET

Parameters Response Data DOI Text HTML format. See Cite My Data M2M Service Responses table above. 3.10 PHP Minting Example The following example requests a new DOI using PHP and CURL. A request to update a DOI would basically be the same except the update service end point would be called. <?php // set up the following parameters to have the appropriate values $app_id= "your_privded_application_id"; $url = "the_url_of_the_data"; // set up the xml post field to contain the valid Datacite schema xml $xml = 'xml=<?xml version="1.0" encoding="utf-8"?> valid DataCite xml for this // define the call to the service $requesturi = "http://test.ands.org.au/home/dois/doi_mint.php?app_id=".$app_id."&url=".$url; // use curl to connect and run the service and receive the response $newch = curl_init(); curl_setopt($newch, CURLOPT_URL, $requesturi); curl_setopt($newch, CURLOPT_RETURNTRANSFER, true); curl_setopt($newch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($newch, CURLOPT_POSTFIELDS,$xml); $result = curl_exec($newch); $curlinfo = curl_getinfo($newch); curl_close($newch);?> if( $result ) { $resultxml = $result; } echo $resultxml; 3.11 DataCite Schema XML Example <resource xmlns="http://datacite.org/schema/kernel-2.1" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://datacite.org/schema/kernel-2.1 http://schema.datacite.org/meta/kernel-2.1/metadata.xsd"> <identifier identifiertype="doi">10.1594/wdcc/ccsrnies_sres_b2</identifier> <creators>

<creator> <creatorname>toru, Nozawa</creatorName> </creator> <creator> <creatorname>utor, Awazon</creatorName> <nameidentifier nameidentifierscheme="isni">1422 4586 3573 0476</nameIdentifier> </creator> </creators> <titles> <title>national Institute for Environmental Studies and Center for Climate System Research Japan</title> <title titletype="subtitle">a survey</title> </titles> <publisher>world Data Center for Climate (WDCC)</publisher> <publicationyear>2004</publicationyear> <subjects> <subject>earth sciences and geology</subject> <subject subjectscheme="ddc">551 Geology, hydrology, meteorology</subject> </subjects> <contributors> <contributor contributortype="datamanager"> <contributorname>pangaea</contributorname> </contributor> <contributor contributortype="contactperson"> <contributorname>doe, John</contributorName> <nameidentifier nameidentifierscheme="orcid">xyz789</nameidentifier> </contributor> </contributors> <dates> <date datetype="valid">2005-04-05</date> <date datetype="accepted">2005-01-01</date> </dates> <language>eng</language> <resourcetype resourcetypegeneral="image">animation</resourcetype> <alternateidentifiers> <alternateidentifier alternateidentifiertype="isbn">937-0- 1234-56789-X</alternateIdentifier> </alternateidentifiers> <relatedidentifiers> <relatedidentifier relatedidentifiertype="doi" relationtype="iscitedby">10.1234/testpub</relatedidentifier> <relatedidentifier relatedidentifiertype="urn" relationtype="cites">http://testing.ts/testpub</relatedidentifier> </relatedidentifiers> <sizes> <size>285 kb</size> <size>100 pages</size> </sizes> <formats> <format>text/plain</format> </formats> <version>1.0</version> <rights>open Database License [ODbL]</rights> <descriptions> <description descriptiontype="other"> The current xml-example for a DataCite record is the official example from the documentation.

<br/>please look on datacite.org to find the newest versions of sample data and schemas. </description> </descriptions> </resource>