curl -u $API_TOKEN: --data-binary "@path/to/atom-entry-study.xml" -H "Content-Type: application/atom+xml" https://$HOSTNAME/dvn/api/data-deposit/v1.1/swordv2/collection/dataverse/$DATAVERSE_ALIAS
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/7bc91400-2236-4ec0-98a5-2abb0f3b332d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
PhilI hope this helps. Please feel free to open an issue to fix this in the API Guide!Whoops, early on in Dataverse 4 development it was called "alias" but now it's called "identifier": http://guides.dataverse.org/en/4.8/user/dataverse-management.html#create-a-dataverse-within-the-root-dataverseFor https://dataverse.lib.virginia.edu/dataverse/uva-law the alias is "uva-law".
On Tue, Oct 10, 2017 at 5:43 PM, Sherry Lake <shla...@gmail.com> wrote:
This should be an easy answer, but I have yet to find it on any of the API pages.What is $DATAVERSE_ALIAS?as seen on this curl command:
curl -u $API_TOKEN: --data-binary "@path/to/atom-entry-study.xml" -H "Content-Type: application/atom+xml" https://$HOSTNAME/dvn/api/data-deposit/v1.1/swordv2/collection/dataverse/$DATAVERSE_ALIAS
I've "dumped" my dataverses/dataset but I cannot find an "alias" for my dataverses. The only "alias" I found in the API guides was ":root" for the root dataverse (assuming that is an alias).Can I substitute the dataverse ID for the alias? or is the ID THE alias?Thanks.Sherry
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/7bc91400-2236-4ec0-98a5-2abb0f3b332d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sherry
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsubscribe...@googlegroups.com.
To post to this group, send email to dataverse...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/7bc91400-2236-4ec0-98a5-2abb0f3b332d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Philip Durbin
Software Developer for http://dataverse.org
http://www.iq.harvard.edu/people/philip-durbin
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-community+unsub...@googlegroups.com.
To post to this group, send email to dataverse-community@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/1a223222-6099-495c-afbc-ff894f053c8a%40googlegroups.com.