latestOpenAPI 3.1.02026-08-08264458.4 KB
5e35babfb8d2
datasets
Update (overwrite) dataset metadata for DOI
This will overwrite writeable metadata for an in-progress dataset. This is an insert or update action (upsert). Be sure to URL encode the DOI (see example below). You must be <a href="https://github.com/datadryad/dryad-app/blob/main/documentation/apis/api_accounts.md">logged in</a>. Use a JSON structure as shown below. For a more full list of properties that can be sent, check the Schema below and the <a href="https://github.com/datadryad/dryad-app/blob/main/documentation/apis/sample_dataset.json" target="_blank">sample dataset object</a>.
put/datasets/{doi}
Path parameters
doistring required
DOI like doi:10.1000/18238577 that should be URL encoded (example: <code>doi%3A10.1000%2F18238577</code>)
Request body
Example request
{
"funders": [
{
"identifier": "https://ror.org/00x6h5n95",
"identifierType": "ror"
}
]
}Response
Show the dataset information that has been saved.
Example response
{
"_embedded": {
"stash:datasets": [
{
"funders": [
{
"identifier": "https://ror.org/00x6h5n95",
"identifierType": "ror"
}
]
}
]
}
}