[ckan-dev] Is it possible to get all datasets AND metadata in a single RESTful API call ?

Nigel Babu nigel.babu at okfn.org
Sat Mar 29 03:29:15 UTC 2014


There is one API endpoint, but if you use it too much, you'll end up
hammering the CKAN server anyway (we only fixed it to use solr recently and
it's not yet in a released version):
http://master.ckan.org/api/3/action/current_dataset_list_with_resources

Nigel Babu

Developer  |  @nigelbabu <https://twitter.com/nigelbabu>

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge

http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>

 CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform


On 25 March 2014 18:37, Martin Stephenson <stephenson.martin at gmail.com>wrote:

> Hi all,
> I'm looking at the CKAN APIs and I want to know if there is a RESTful API
> call that will give me a list of all datasets including their full metadata.
> Right now I can do this by get the list of datasets, then for each dataset
> I can individually get it's full metadata and list of downloadable files.
> Is there a way to do this in a single call ? Otherwise I will really be
> hammering the CKAN server with possibly 1000's of calls to get all the
> metadata (i.e. a call per dataset) ?
> Thanks !
>
> --
>
> Martin Stephenson
> Email : stephenson.martin at gmail.com
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140329/e95b9f4b/attachment-0003.html>


More information about the ckan-dev mailing list