dev.socrata.com icon indicating copy to clipboard operation
dev.socrata.com copied to clipboard

Update contact details for a dataset through API

Open stevage opened this issue 9 years ago • 3 comments

I'm trying to write a script that uses a Google Sheet to update metadata for many datasets at once. But it doesn't really work for the contact details field.

This field appears in the [data.json](https://data.melbourne.vic.gov.au/data.json) for the whole site like this:

"contactPoint":{"@type":"vcard:Contact","fn":"<Nobody>","hasEmail":"mailto:[email protected]"},

But it doesn't appear anywhere in the JSON for the dataset itself.

So, if I simply do a PUT on the dataset .json endpoint, there's no way to include a new email contact address. Is there another way to do it?

(If not...how do cities with big open data portals, like SF, do any kind of bulk updates?)

stevage avatar Nov 11 '16 03:11 stevage

Am I asking in the wrong place? @chrismetcalf ?

stevage avatar Nov 21 '16 23:11 stevage

@stevage Checking into where that field in data.json comes from, more detail soon.

chrismetcalf avatar Nov 22 '16 02:11 chrismetcalf

@PeterAustinMoore maybe you can help answer this?

helenasw avatar Jul 10 '19 17:07 helenasw