Socrata SODA API是否提供表的最后修改日期?

时间:2014-05-15 17:17:49

标签: soda socrata

在门户网站上,每个数据集都有最后修改日期,但我没有在API文档中看到任何内容(或者对此问题的响应)。我错过了什么吗?

2 个答案:

答案 0 :(得分:3)

在标题中找到它!惊喜,这是“最后修改”

Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Thu, 15 May 2014 17:15:51 GMT
Etag: "147733f4e69d7a2e5df8690c3dbc9f63"
Last-Modified: Thu, 01 May 2014 18:46:08 UTC
Server: nginx
Transfer-Encoding: chunked
X-Socrata-Region: production
X-Soda2-Fields: ["region",":updated_at","source","location","magnitude","number_of_stations",":id","datetime",":created_at","earthquake_id","depth","version"]
X-Soda2-Legacy-Types: true
X-Soda2-Types: ["text","meta_data","text","location","number","number","meta_data","calendar_date","meta_data","text","number","text"]
X-Soda2-Warning: X-SODA2-Fields, X-SODA2-Types, and X-SODA2-Legacy-Types are deprecated

答案 1 :(得分:0)

您可以找到此信息的另一个地方是所有Socrata支持的网站上提供的/data.json API。例如,http://data.seattle.gov/data.json

这会列出网站上的每个数据集以及上次修改日期等元数据。