Closed agbuckley closed 4 years ago
The id
field is just a shortcut, all the metadata is also available under metadata
:
metadata.control_number
metadata.dois
metadata.arxiv_eprints
.You can find more information on the different fields available under metadata
here: https://inspire-schemas.readthedocs.io/en/latest/schemas/hep.html.
I just found the DOIs one... not sure how I missed it. Thanks re. the control_number
, I didn't guess that one!
I agree the name is not great, I'll try to clarify this in the docs.
Cheers!
I am updating a tool that uses the old Inspire API XML output to retrieve metadata including the Inspire ID, arXiv ID, and DOI, from searches using any of the same as keys. But in the new format, the Inspire ID and DOI don't seem to exist in the JSON output:
id
is only the Inspire ID if theapi/literature
URL structure was used, but is the arXiv or DOI identifier if they were used as the search key;Could this canonical information be added to the JSON output... or did I miss something?! Thanks.