forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve tests, start testing codeMeta20
- Loading branch information
Showing
2 changed files
with
101 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
## Metadata Blocks Can Be Associated with Dataset Types | ||
|
||
Metadata blocks (e.g. "codemeta") can now be associated with dataset types (e.g. "software") using new superuser APIs. | ||
Metadata blocks (e.g. "geospatial") can now be associated with dataset types (e.g. "software") using new superuser APIs. | ||
|
||
This will have the following effects for the APIs used by the new Dataverse UI: | ||
|
||
- The list of fields shown when creating a dataset will include fields marked as "displayoncreate" (in the tsv/database) for metadata blocks (e.g. "codemeta") that are associated with the dataset type (e.g. "software") that is passed to the API. | ||
- The metadata blocks shown when editing a dataset will include metadata blocks (e.g. "codemeta") that are associated with the dataset type (e.g. "software") that is passed to the API. | ||
- The list of fields shown when creating a dataset will include fields marked as "displayoncreate" (in the tsv/database) for metadata blocks (e.g. "geospatial") that are associated with the dataset type (e.g. "software") that is passed to the API. | ||
- The metadata blocks shown when editing a dataset will include metadata blocks (e.g. "geospatial") that are associated with the dataset type (e.g. "software") that is passed to the API. | ||
|
||
The Computational Workflow block is still considered experimental, but to test with it, you can load it like this: | ||
|
||
curl "http://localhost:8080/api/admin/datasetfield/load" -H "Content-type: text/tab-separated-values" -X POST --upload-file scripts/api/data/metadatablocks/codemeta.tsv | ||
|
||
For more information, see the guides and #10519. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters