我正在尝试对 Socrata 中私有的数据集运行过滤器。我曾尝试通过浏览器并使用 SoQL 进行操作,但它不起作用。
https://xxxxx/resource/xxxx-xxxx.json ?$where=product like '%test%'
当我在浏览器中向以下 URL 发出请求时。它在没有任何过滤的情况下将所有产品退回给我。但它偶尔会抛出异常
{
"code" : "query.compiler.malformed",
"error" : true,
"message" : "Error, could not parse SoQL query \"select * from #xxx-xxxx where product like '%new%'\"",
"data" : {
"query" : "select * from #tatp-bcb2 where product like '%new%'"
}
}
它是私有数据集,因此我无法从导出菜单访问特定的 API 文档。是因为数据集是私有的还是与实际 API 有关?