[ckan-dev] data api question

James Casbon casbon at gmail.com
Fri Mar 30 14:58:07 UTC 2012


Hi CKAN,

Go to gold prices:
http://thedatahub.org/dataset/gold-prices/resource/b9aae52b-b082-4159-b46f-7bb9c158d013

Click 'data api button', tells me to use
"http://thedatahub.org/api/data/b9aae52b-b082-4159-b46f-7bb9c158d013"

$ curl -g "http://thedatahub.org/api/data/b9aae52b-b082-4159-b46f-7bb9c158d013/"
No handler found for uri
[/ckan-www.ckan.net/b9aae52b-b082-4159-b46f-7bb9c158d013/] and method
[GET]

$ curl -g "http://thedatahub.org/api/data/b9aae52b-b082-4159-b46f-7bb9c158d013/_search"
{"error":"ActionRequestValidationException[Validation Failed: 1:
search source is missing;]","status":500}

Am I missing something?

-- 
James
http://casbon.me/




More information about the ckan-dev mailing list