forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 5
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 IQSS#11168 from vera/edit-metadata-api-500-error
Fix 500 errors when uploading single controlled vocab or compound field values to editMetadata API
- Loading branch information
Showing
4 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
doc/sphinx-guides/source/_static/api/dataset-add-single-compound-field-metadata.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,13 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"typeName": "targetSampleSize", | ||
"value": { | ||
"targetSampleActualSize": { | ||
"typeName": "targetSampleSizeFormula", | ||
"value": "n = N*X / (X + N – 1)" | ||
} | ||
} | ||
} | ||
] | ||
} |
4 changes: 4 additions & 0 deletions
4
doc/sphinx-guides/source/_static/api/dataset-add-single-cvoc-field-metadata.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,4 @@ | ||
{ | ||
"typeName": "journalArticleType", | ||
"value": "abstract" | ||
} |
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