Extend 'metadatablocks/{block_id}' endpoint JSON output to include 'isRequired', 'typeClass' and 'displayOrder' fields #10216
Labels
pm.GREI-d-2.7.1
NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows
pm.GREI-d-2.7.2
NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows
Size: 3
A percentage of a sprint. 2.1 hours.
SPA
These changes are required for the Dataverse SPA
User Role: API User
Makes use of APIs
Milestone
Overview of the Feature Request
The goal is to extend the API endpoint /api/metadatablocks/{block_id} to include the following fields in its response:
The second param is necessary for the SPA, and the first one not only for the SPA but also for any other frontend application that aims to create a dataset.
The third one is necessary for dataset creation, since it is a property included for each metadata field value in the json sent to the backend via POST.
What kind of user is the feature intended for?
API User
What inspired the request?
What existing behavior do you want changed?
None
Any brand new behavior do you want to add to Dataverse?
New fields in 'metadatablocks/{block_id}' response
Any open or closed issues related to this feature request?
The text was updated successfully, but these errors were encountered: