I cannot find any documentation on WHAT can be updated with regards to editing variable metadata as mentioned in
I downloaded the variable metadata ddi.xml file for one of my tabular data files and tried adding categories to a variable by adding the following to the ddi.xml file:
<catgry>
<catValu>0</catValu>
<labl level="category">No</labl>
</catgry>
<catgry>
<catValu>1</catValu>
<labl level="category">Yes</labl>
</catgry>
... then tried to update the variable metadata in Dataverse by uploading the updated ddi.xml file via the API call (api/edit/{fileId}). However, the API simply returned 'Nothing to update'. I don't know how else to add categories to the variable metadata and this API endpoint does not seem to recognize changes to the variable metadata files.
Has anyone else tried doing this and had success?
thank you