-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10644 from IQSS/10633-create-collection-api-ext
addDataverse API endpoint extension for input levels and facet list setup
- Loading branch information
Showing
14 changed files
with
468 additions
and
90 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
The addDataverse (/api/dataverses/{identifier}) API endpoint has been extended to allow adding metadata blocks, input levels and facet ids at creation time, as the Dataverse page in create mode does in JSF. |
65 changes: 65 additions & 0 deletions
65
doc/sphinx-guides/source/_static/api/dataverse-complete-optional-params.json
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"name": "Scientific Research", | ||
"alias": "science", | ||
"dataverseContacts": [ | ||
{ | ||
"contactEmail": "[email protected]" | ||
}, | ||
{ | ||
"contactEmail": "[email protected]" | ||
} | ||
], | ||
"affiliation": "Scientific Research University", | ||
"description": "We do all the science.", | ||
"dataverseType": "LABORATORY", | ||
"metadataBlocks": { | ||
"metadataBlockNames": [ | ||
"citation", "geospatial" | ||
], | ||
"inputLevels": [ | ||
{ | ||
"datasetFieldTypeName": "geographicCoverage", | ||
"include": true, | ||
"required": true | ||
}, | ||
{ | ||
"datasetFieldTypeName": "country", | ||
"include": true, | ||
"required": true | ||
}, | ||
{ | ||
"datasetFieldTypeName": "geographicUnit", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "geographicBoundingBox", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "westLongitude", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "eastLongitude", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "northLatitude", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "southLatitude", | ||
"include": false, | ||
"required": false | ||
} | ||
], | ||
"facetIds": [ | ||
"authorName", "authorAffiliation" | ||
] | ||
} | ||
} |
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
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
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
Oops, something went wrong.