@Jan Range is it correct to assume that easyDataverse doesn't yet support the new dataset types feature?
Asking because my colleague Nitai uses it for a Dataverse Hermes Plugin and it's still declared a "Dataset" when looking at the metadata. https://demo.dataverse.org/dataset.xhtml?persistentId=doi:10.70122/FK2/7MQB0P
Here's the deets in the API guide: https://guides.dataverse.org/en/latest/api/native-api.html#create-a-dataset-with-a-dataset-type-software-etc
Looking at https://github.com/gdcc/easyDataverse/blob/main/easyDataverse/dataset.py I'd say it's not implemented. So we probably need to serialize to JSON and add it manually.
No, it is not implemented yet, but I am happy to add it to the Dataset class. Can you open an issue for this and I'll pick it up once I have time?
Sure. But won't be fancy, just quick and dirty. https://github.com/gdcc/easyDataverse/issues/51
I left a comment. Hope it's helpful.
Thanks for the comment! I have one question regarding the endpoint api/datasets/datasetTypes and its return type. What can I expect at the linkedMetadataBlocks property? Is it an array of strings or an object?
bleh, does openapi tell you? http://beta.dataverse.org/openapi
Did @Philip Durbin forget to add OpenAPI specs to the endpoint? :grinning_face_with_smiling_eyes:
nothing:
/datasets/datasetTypes:
get:
operationId: Datasets_getDatasetTypes
responses:
"200":
description: OK
:cry: @Juan Pablo Tosca Villanueva will kill me :cold_sweat:
it's an array of strings
Awesome, thanks a lot!
For now you can see an empty array at https://demo.dataverse.org/api/datasets/datasetTypes
Why is it empty? Shouldn't there be dataset and software?
You're talking about this?
{
"status": "OK",
"data": [
{
"id": 1,
"name": "dataset",
"linkedMetadataBlocks": []
},
{
"id": 2,
"name": "software",
"linkedMetadataBlocks": []
}
]
}
Yes. I am. Stupid me. ![]()
ha
some day we'll link up codeMeta20 or whatever it's called
Please see #community > CodeMeta
Opened a PR :raised_hands:
https://github.com/gdcc/easyDataverse/pull/52
Splendid!
Last updated: Nov 01 2025 at 14:11 UTC