latestOpenAPI 3.1.02026-08-08264458.4 KB
5e35babfb8d2
datasets
Show all versions of a dataset
The <code>/versions</code> endpoint lists all versions visible to the user (or public). This is in contrast to GETting the datasets endpoint for a DOI, since it only embeds metadata for the latest visible version.
get/datasets/{doi}/versions
Path parameters
doistring required
DOI like doi:10.1000/18238577 that should be URL encoded (example: <code>doi%3A10.1000%2F18238577</code>)
Query parameters
pageinteger
Which page of results to view. Defaults to page 1.
per_pageinteger
Number of results to return on each page. Defaults to 20. Maximum allowed is 100.
Response
A list of a dataset's versions.
Example response
{
"_embedded": {
"stash:versions": [
{
"funders": [
{
"identifier": "https://ror.org/00x6h5n95",
"identifierType": "ror"
}
]
}
]
}
}