Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#9650 documenting the API call to list dataverses linked to a dataset #9655

Merged

Conversation

pkiraly
Copy link
Member

@pkiraly pkiraly commented Jun 19, 2023

What this PR does / why we need it:

It provides a documentation to an API call, which is in the code base, but not documented. The documentation will be available at the admin/dataverses-datasets.html page.

Which issue(s) this PR closes:

It is a step towards closing #9650, but it does not close it completely, it is just a baby step.

Special notes for your reviewer:

Suggestions on how to test this:

cd doc/sphinx-guides/
source venv/bin/activate
make clean
make html
firefox build/html/admin/dataverses-datasets.html 

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

It modifies the documentation only.

Is there a release notes update needed for this change?:

Additional documentation:

Before:
Screenshot from 2023-06-19 11-14-43

After:
Screenshot from 2023-06-19 11-30-16

IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Ready for Review ⏩ to Ready for QA ⏩ Jun 20, 2023
@kcondon kcondon self-assigned this Jun 20, 2023
@kcondon
Copy link
Contributor

kcondon commented Jun 20, 2023

@pkiraly There is a slight error in the example command -it should be a GET, not a PUT, or just remove -X PUT entirely:

curl -H "X-Dataverse-key: $API_TOKEN" http://$SERVER/api/datasets/$linked-dataset-id/links

@pkiraly
Copy link
Member Author

pkiraly commented Jun 20, 2023

@kcondon done

@kcondon kcondon merged commit 0032f0e into IQSS:develop Jun 20, 2023
3 checks passed
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA ✅ to Done 🚀 Jun 20, 2023
@pdurbin pdurbin added this to the 5.14 milestone Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants