[ckan-dev] ckan API for organizations
Alex (Maxious) Sadleir
maxious at gmail.com
Mon Jan 29 10:27:14 UTC 2018
Simply append commands after the ? like id, separated by ampersand &
where appropriate.
eg. when using all_fields, it is also useful to use limit and offset
to split the results into managable queries
https://demo.ckan.org/api/3/action/organization_list?all_fields=True&limit=10&offset=0
https://demo.ckan.org/api/3/action/organization_list?all_fields=True&limit=10&offset=10
https://demo.ckan.org/api/3/action/organization_list?all_fields=True&limit=10&offset=20
etc.
On Mon, Jan 29, 2018 at 8:39 PM, <Hildegard.GERLACH at ec.europa.eu> wrote:
> Hi,
>
> I would like to know if there is an API with which I can get directly all
> the information about the organizations.
>
> I found these:
> - http://www.mydomain.com/api/3/action/organization_list and
>
> - http://www.mydomain.com/api/3/action/organization_show?id=....
>
> I couldn't find the command to get directly all the fields of an an
> organization, even if here
>
> http://docs.ckan.org/en/latest/api/#ckan.logic.action.get.organization_list
>
> seems to be a parameter which would do this
> all_fields (boolean) – return group dictionaries instead of just names.
>
> but I don't know how to apply it to the api command.
>
> Any help appreciated, thanks.
>
> Hilde
>
> _______________________________________________
> 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
>
More information about the ckan-dev
mailing list