Closed tiborsimko closed 4 years ago
You can look at DOIs by using the search syntax doi:"value"
in the Web UI.
Programmatically, the internal REST API to look at to get record ID out of DOI is http://opendata.cern.ch/api/records/?page=1&size=20&q=doi:%2210.7483/OPENDATA.LHCB.N75T.TJPE%22
.
If there is only one record, we have our candidate. If there is zero record, the DOI does not seem to exist. If there is more than one record, something is very wrong, because each DOI should be there only once.
Once we have our record ID, we can continue as when --recid
was passed.
This works:
This does not:
To be fixed.