You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http://guides.dataverse.org/en/latest/api/dataaccess.html lists /api/access/datafile/$id (from context, $id refers to database ID of the file (reported by DB queries or api/datasets/:persistentId/ endpoint under files.dataFile.id).
curl -X GET -H "X-Dataverse-key: ${admin_key}" "${dataverse_host}/api/access/datafile/${file_db_identifier}&format=original" returns 404.
Documentation bug - curl -X GET -H "X-Dataverse-key: ${admin_key}" "${dataverse_host}/api/access/datafile/${file_db_identifier} works (on both published and unpublished data files; and for future reference X-Dataverse-key not needed for published/unrestricted files).
pameyer
changed the title
Data Access API
Data Access API documentation unclear
May 5, 2017
http://guides.dataverse.org/en/latest/api/dataaccess.html lists
/api/access/datafile/$id
(from context,$id
refers to database ID of the file (reported by DB queries orapi/datasets/:persistentId/
endpoint under files.dataFile.id).curl -X GET -H "X-Dataverse-key: ${admin_key}" "${dataverse_host}/api/access/datafile/${file_db_identifier}&format=original"
returns 404.Possibly related: #3325 , #2174.
Not currently clear if this is a documentation bug, user error, or API bug.
The text was updated successfully, but these errors were encountered: