I'm querying this dataset using ckan 2.0 api
http://data.buenosaires.gob.ar/api/3/action/datastore_search?resource_id=4dcec0c7-7cee-4ff6-ac83-7d92b39b3f69
Everything works fine, it returns me all the records in the dataset
Now I'm trying to add a filters condition, like this
http://data.buenosaires.gob.ar/api/3/action/datastore_search?resource_id=4dcec0c7-7cee-4ff6-ac83-7d92b39b3f69&filters={"ubicacion": "Puerto Madero"}
but it gives me the following error:
[...]
"success": false,
"error": {
"__type": "Validation Error",
"filters": [
"Not a json object"
]
}
I also tried encoding the value, but I get the same error
The strange thing is that I couldn't find a working example using filters (which makes me really doubt if there's anybody out there really using the API)
Anybod out there can provide me a working example?