[ckan-dev] Data access via datastore api broken on datahub.io?
Peder Jakobsen | gmail
pjakobsen at gmail.com
Tue Jan 13 21:21:41 UTC 2015
Hi,
I can easily access data via api calls on a resource that Rufus uploaded to
datahub.io:
His dataset http://datahub.io/api/rest/dataset/imf-weo
I get resource data data back with the following call
http://datahub.io/api/3/action/datastore_searchpassing it {
"resource_id": "ea3926e3-43a8-46d0-832a-e53efd61ebb0"
}
(It's done via a python script. )
But when I try to access my own resource that I uploaded, it fails, even
though the resource is clearly there, as seen in the following json package:
http://datahub.io/api/rest/dataset/canadian-international-assistance-commitments
Making the same api call against this resource using resource
ID 'bb6cd422-8ad6-44bb-9488-bcf315e1ccb0' produces a NOT FOUND error
error": {
"message": "Not found: Resource \"bb6cd422-8ad6-44bb-9488-bcf315e1ccb0\"
was not found.",
"__type": "Not Found Error"
}
Any ideas? Is datahub.io broken?
I notice that Rufus has a green "Data API" button attached to his data
resource, but my data doesn't have that.
Thanks,
peder j.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150113/524c9cd8/attachment-0002.html>
More information about the ckan-dev
mailing list