[ckan-dev] help with the storage API

Maali, Fadi fadi.maali at deri.org
Mon May 23 17:29:51 UTC 2011


Hello,

Thanks a lot Rufus and William! I am able now to save to the storage
space. 
I am doing it through the /api/auth/form to get the form fields,
populate them then upload to Google Storage.

I will soon have a working alpha version so that I can get your
feedback.

Regards,
Fadi

> -----Original Message-----
> From: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-
> bounces at lists.okfn.org] On Behalf Of Rufus Pollock
> Sent: 23 May 2011 18:04
> To: CKAN Development Discussions
> Subject: Re: [ckan-dev] help with the storage API
> 
> Hi Fadi,
> 
> Wanted to check Will's response helped. Also presume you've seen the
> documentation:
> 
> <http://packages.python.org/ckanext-storage/>
> 
> In light of your comments sounds like the docs here could be improved
> to give clearer guidance as to what to do with the authorization
> headers once you've got them (answer: use them to post to relevant
> storage system e.g. https://commondatastorage.googleapis.com/ for
> google storage or bucketname.s3.amazonaws.com).
> 
> Rufus
> 
> On 18 May 2011 21:53, Maali, Fadi <fadi.maali at deri.org> wrote:
> > * sorry if this was sent twice *
> >
> > Hi All,
> >
> > I need to interact with the storage API from my Java program so I
> can't
> > use the existing Python library.
> >
> > Using /api/storage/auth/request/{key} I managed to get the
> authorization
> > token. I don't know how to proceed now.
> > Do I interact now directly with the Google storage API or with CKAN
> API?
> > Should I call /api/storage/auth/form and with what input?
> >
> > Help is highly appreciated!
> >
> > Thanks,
> > Fadi
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> >
> 
> 
> 
> --
> Co-Founder, Open Knowledge Foundation
> Promoting Open Knowledge in a Digital Age
> http://www.okfn.org/ - http://blog.okfn.org/
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev




More information about the ckan-dev mailing list