Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
dsapid create first user and upload datasets
# create admin user
# needs to be run via to be accepted as an authenticated administrative command
curl -v -X PUT -d '{ "name": "admin", "token": "admintoken", "type": "user", "roles": [ "s_dataset.upload", "s_dataset.manage", "s_dataset.admin" ] }'
# upload a dataset
curl -v -u admintoken: -F manifest=@image.dsmanifest -F file=@image.zfs.gz
# make an upload public
curl -v -X POST -u admintoken:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.