IQSS / dataverse

Open source research data repository software

Home Page:http://dataverse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation Needed for retrieving multiple roles via MyData API

sekmiller opened this issue · comments

What steps does it take to reproduce the issue?
Invoke the my data api with a list of role ids as in:
curl -H "X-Dataverse-key:2b3b0a53-2740-450f-b7eb-a84551f667dc" "http://localhost:8080/api/mydata/retrieve?role_ids=1,7&dvobject_types=DataFile&published_states=Draft&per_page=12" receives a 404 error

The proper call is:
curl -H "X-Dataverse-key:2b3b0a53-2740-450f-b7eb-a84551f667dc" "http://localhost:8080/api/mydata/retrieve?role_ids=1&role_ids=7&dvobject_types=DataFile&published_states=Draft&per_page=12"

This needs to be documented see https://guides.dataverse.org/en/6.1/api/native-api.html#mydata

  • When does this issue occur?
    using my data api

  • Which page(s) does it occurs on?

  • What happens? receive unexpected 404

  • To whom does it occur (all users, curators, superusers)?

  • What did you expect to happen?

Which version of Dataverse are you using?

Any related open or closed issues to this bug report?

Screenshots:

No matter the issue, screenshots are always welcome.

To add a screenshot, please use one of the following formats and/or methods described here:

Closed in favor of: #10530