[ckan-dev] CKAN API Clients

Sean Hammond sean.hammond at okfn.org
Tue Apr 24 15:17:43 UTC 2012


> According to the documentation [1], package_show expects 'id' as an
> argument.
> But the Action API does not offer any methods that return a package 'id'.
> There seems to be a discrepancy here.

It's just that the docs aren't very clear, when they require an ID for a
package, user etc. you can pass either an ID or a name. The API docs
could do with some improvement.

> Ok, I read and re-read the filestore documentation. The following
> snippet from [2]:
> 
> "Provides credentials for doing operations on storage directly from a
> client (using web form style POSTs)."
> 
> Suggests that it should be possible to upload a file. However there
> aren't many details and no working examples.
> 
> The ckanclient lib also has some methods related to the storage api.
> However they too lack any documentation or examples.  The test classes
> in [3] also don't seem to test file uploading.

Hmm. I'll take a look into this soon and see if I can figure it out and
maybe improve the docs




More information about the ckan-dev mailing list