Experimental dataset JSON GET API doesn't return multi-valued fields as arrays #9495
Labels
Feature: API
GREI 6
Connect Digital Objects
Type: Bug
a defect
User Role: API User
Makes use of APIs
What steps does it take to reproduce the issue?
subject
in the citation blockGET /api/datasets/42/metadata
The multi-valued field values are not returned as arrays, e.g.
'subject': 'Medicine, Health and Life Sciences'
Side note, the non-experimental API https://guides.dataverse.org/en/latest/api/native-api.html#get-json-representation-of-a-dataset does not have this bug:
{'typeName': 'subject', 'multiple': True, 'typeClass': 'controlledVocabulary', 'value': ['Medicine, Health and Life Sciences']}
The multi-valued field values to be returned as arrays, e.g.
'subject': ['Medicine, Health and Life Sciences']
Which version of Dataverse are you using?
v5.13
Any related open or closed issues to this bug report?
/
Screenshots:
/
The text was updated successfully, but these errors were encountered: