IQSS / IQSS/dataverse

API Guide: Native API, Create Dataset endpoint uses out of date sample file, fails when used.

Open
#9,513 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

In the Native API guide
https://guides.dataverse.org/en/5.13/api/native-api.html#create-a-dataset-in-a-dataverse-collection

This file no longer matches the metadata blocks and so needs to be updated.
https://guides.dataverse.org/en/5.13/_downloads/4e04c8120d51efab20e480c6427f139c/dataset-create-new-all-default-fields.json

productionPlace needs to be multiple: true and bounding box entries are now validated so values need correction.
dataset-create-new-all-default-fields.json.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the Native API guide section for creating a dataset and compare its linked dataset-create-new-all-default-fields.json sample with the current metadata blocks. Update productionPlace to be multiple and correct the bounding box values so the sample passes validation, then verify the Create Dataset endpoint accepts it.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
api, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.