[Iplant-api-dev] sharing an application

Cornel Ghiban ghiban at cshl.edu
Wed Oct 3 14:03:33 MST 2012


Hello API gurus,

I'm trying to share my application with the world, but I'm not sure it's 
working.

Here's what I tried:

curl -X POST -sku $iPLANT_USER:$iPLANT_TOKEN -d 
"username=public&canRead=true&canWrite=false&canExecute=false" 
https://foundation.iplantcollaborative.org/io-v1/io/share/ghiban/applications/tophat-2.0.4/lonestar

I've also used "world" as username, but no luck.

The next command returns the app data only to me (iPlant username=ghiban):

curl -X GET -sku "$iPLANT_USER:$iPLANT_TOKEN" 
https://foundation.iplantcollaborative.org/apps-v1/apps/shared/name/dnalc-tophat

Thanks,
Cornel


More information about the Iplant-api-dev mailing list