Diamond Discovery Hub Documentation


OAI API documentation

Metadata Harvesting in DDH

DDH uses the standard OAI-PMH protocol to share the diamond journals with the external world. The DDH protocol implementation supports both Dublin Core and JMEF format. JMEF allows external systems to harvest all of the journal metadata (including the diamond criteria) in DDH

Requests

ADDRESS
https://ddh.diamas.org/oai/journals?verb=Identify
DESCRIPTION
Returns information about journals’ repository
RESPONSE
Identify object

ADDRESS
https://ddh.diamas.org/oai/journals?verb=GetRecord
DESCRIPTION
Returns single record with given identifier
RESPONSE
GetRecord object
PARAMETERS:
nametypemandatoryallowed valuesdescription
matadataPrefixdictionaryyesoai_dc or oai_jmefMetadata format in response
identifierstringyesvalid identifier of the recordIdentifier of single record to fetch

ADDRESS
https://ddh.diamas.org/oai/journals?verb=ListIdentifiers
DESCRIPTION
Returns a list of headers containing identifiers existing in the system and the last modification time of the journal with the given identifier. Optionally, the response includes a resumptionToken.
RESPONSE
ListIdentifiers object
PARAMETERS
nametypemandatoryallowed valuesdescription
matadataPrefixdictionaryyesoai_dc or oai_jmefMetadata format in response
resumptionTokenstringnoresumption token string from previous responseAllows to download another portion of data. It is sent in response to a query and expires after the time specified in the expirationDate attribute.
fromstringnodate in format YYYY-MM-DD or timestamp in format YYYY-MM-DDThh:mm:ssZLimits the response to records whose modification date/timestamp is equal to or later than the specified one
untilstringnodate in format YYYY-MM-DD or timestamp in format YYYY-MM-DDThh:mm:ssZlimits the response to records whose modification date/timestamp is equal to or earlier than the specified one
setstringnoName of the set that records will be filtered on. Currently not supported.

ADDRESS
https://ddh.diamas.org/oai/journals?verb=ListRecords
DESCRIPTION
Returns a list of records containing the headers and metadata in the selected format for all journals existing in the system. Optionally, the response includes a resumptionToken.
RESPONSE
ListRecords object
PARAMETERS
nametypemandatoryallowed valuesdescription
matadataPrefixdictionaryyesoai_dc lub oai_jmefMetadata format in response
resumptionTokenstringnoresumption token string from previous responseAllows to download another portion of data. It is sent in response to a query and expires after the time specified in the expirationDate attribute.
fromstringnodate in format YYYY-MM-DD or timestamp in format YYYY-MM-DDThh:mm:ssZLimits the response to records whose modification date/timestamp is equal to or later than the specified one
untilstringnodate in format YYYY-MM-DD or timestamp in format YYYY-MM-DDThh:mm:ssZLimits the response to records whose modification date/timestamp is equal to or earlier than the specified one
setstringnoName of the set that records will be filtered on. Currently not supported.

ADDRESS
https://ddh.diamas.org/oai/journals?verb=ListMetadataFormats
DESCRIPTION
Returns available metadata formats that can be used in response
RESPONSE
ListMetadataFormats object
PARAMETERS
nametypemandatoryallowed valuesdescription
identifierstringnovalid identifier of the recordIdentifier of single record to fetch

ADDRESS
https://ddh.diamas.org/oai/journals?verb=ListSets
DESCRIPTION
endpoint unimplemented

Responses

nametypedescription
elements:recordobjectContainer for data (header and metadata) of single journal

nametypedescription
elements:repositoryNamestringName of the DDH journal repository
baseUrlstringBase url of the journal repository
protocolVersionstringVersion of protocol used. Currently 2.0
adminEmailstringEmail address to the admins of the repository
earliestDatestampdateTimeEarliest date and time in repository records
deletedRecorddictionary„persistent”
granularitystringcurrently: YYYY-MM-DDThh:mm:ssZ
descriptionobjectObject container for elements describing the repository in details

nametypedescription
elements:headerobjectList of header objects, each header for single journal
resumptionTokenstringToken to use in case of resumption of search

nametypedescription
elements:metadataFormatobjectContainer for data describing supported metadata formats

nametypedescription
elements:recordobjectList of record objects, each record for single journal
resumptionTokenstringToken to use in case of resumption of search

nametypedescription
elements:oai-identifierobjectObject describing detailed parts of oai identifier with its example

nametypedescription
attributes:statuddictionary„deleted” – when given journal is deleted in system
elements:identifierstringJournal’s identifier in the system
datestampdateTimeJournal’s last modification timestamp

nametypedescription
elements:idstringJournal’s identifier
title-groupobjectJournal’s titles (main and others if exist)
issnstringISSN / e-ISSN of the journal
diamond-criteriaobjectJournal’s diamondity criteria
organizationsobjectJournal’s publisher and other associated organizations if exist
publication-policyobjectInformation on journal’s review proces, licences, languages
self-uristringJournal’s website url
keywordsobjectList of keywords assigned to the journal
classificationsobjectList of journal’s classifications (currently OECD-2007 is supported)

nametypedescription
elements:oai_dc:dcobjectContainer for Dublin Core metadata elements
or
journalobjectContainer for JMEF metadata elements

nametypedescription
elements:metadataPrefixdictionary„oai_dc” for Dublin Core or „oai_jmef” for JMEF format
schemastringurl to validation schema of the format
metadataNamespacestringurl to namespace of the format

nametypedescription
elements:dc:titlestringJournal’s title
dc:datedateTimeJournal’s last modification timestamp
dc:identifierstringJournal’s identifier
dc:languagedictionaryJournal’s language (ISO 639-2 code)
dc:publisherstringJournal’s publisher name
dc:relationstringJournal’s website url
dc:typedictionaryAlways „journal”
dc:subjectstringJournal’s subjects or keywords

nametypedescription
elements:schemedictionaryAlways „oai”
repositoryIdentifierstringrepository identifier, example: ddh.diamas.org
delimiterstringdelimiter character used in the identifier
sampleIdentifierstringexample: „oai:ddh.diamas.org:234

nametypedescription
elements:headerobjectContainer for identifier and last modification timestamp of the journal
metadataobjectMetadata that describes the journal in Dublin Core or JMEF format

nametypedescription
attributes:expirationDatedateTimeTimestamp describing when the resumption token expires

nametypedescription
attributes:typedictionaryddh – id used in DDH system, doi – DOI identifier

nametypedescription
elements:titlestringMain journal title
other-titlestringAdditional jourlal titles like title translations, subtitles, alternative titles or other

nametypedescription
attributes:language-iso2dictionaryLanguage code of the title

nametypedescription
attributes:language-iso2dictionaryLanguage code of the title
typedictionaryType of the title: translation, subtitle, alternative, other

nametypedescription
attributes:publication-formatdictionary„print” – for journals with ISSN number, „electronic” – for journals with e-ISSN number

nametypedescription
elements:scholarly-journalScholarly-journal according to the guidelines for scholarly journals provided by EQSIP v2
community-ownedJournal is owned by organization(s) (or parts thereof) that perform research or scholarship
open-access-with-open-licensesAll outputs of the journal carry an open license that is included in the article-level metadata
no-feesJournal do not impose a mandatory fee of any kind as a condition for publication
open-to-all-authorsThe authorship in the journal is not limited to any type of affiliation

nametypedescription
attributes:valuedictionarytrue or false

nametypedescription
attributes:valuedictionarytrue or false

nametypedescription
attributes:valuedictionarytrue or false

nametypedescription
attributes:valuedictionarytrue or false

nametypedescription
attributes:valuedictionarytrue or false

nametypedescription
elements:publisherobjectJournal’s publisher details
other-organizationobjectOther organizations associated with the journal

nametypedescription
elements:namestringJournal publisher’s name
locationobjectJournal publisher’s location details

nametypedescription
elements:countrystringJournal’s publisher or other organization location

nametypedescription
attributes:iso3dictionaryLocation country name

nametypedescription
elements:namestringother organization name

nametypedescription
elements:review-processReview process type
languagesContainer for journal’s languages
licensesobjectContainer for elements describing licences of the journal

nametypedescription
attributes:typedictionaryType of review process

nametypedescription
elements:languageLanguage of the journal

nametypedescription
attributes:iso2dictionarylanguage of the journal

nametypedescription
elements:keywordstringKeyword associated with the journal

nametypedescription
elements:classificationobjectContainer for classification of given type. Currently only OECD-2007 type is supported.

nametypedescription
attributes:typedictionaryAlways „oecd-2007”
elements:classOECD-2007 class assigned to the journal

nametypedescription
attributes:codestringOECD-2007 class code
valuestringOECD-2007 class name