Mercurial > hg > LGDataverses
comparison scripts/api/data-deposit/create-dataset @ 10:a50cf11e5178
Rewrite LGDataverse completely upgrading to dataverse4.0
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 08 Sep 2015 17:00:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:5926d6419569 | 10:a50cf11e5178 |
---|---|
1 #!/bin/bash | |
2 . scripts/search/export-keys | |
3 SERVER=localhost:8181 | |
4 DATAVERSE_ALIAS=trees | |
5 curl -s --insecure --data-binary "@doc/sphinx-guides/source/api/sword-atom-entry.xml" -H "Content-Type: application/atom+xml" -u $SPRUCEKEY: https://$SERVER/dvn/api/data-deposit/v1/swordv2/collection/dataverse/$DATAVERSE_ALIAS \ | |
6 | xmllint -format - |