You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on automating more of USAID's uploads to its Development Data Library via the Socrata API, and I'm getting stuck when trying to create one or more external datasets (with a link to data on another site, no actual data uploaded). For a given dataset entity, I'm trying to set the external url in accessPoints and metadata:additionalAccessPoints:urls, but the link does not appear after creation in Socrata.
I am running into the same problem, but I am starting to doubt the functionality is available with this existing codebase. If you look at the code for Revisions.new:
The revision's JSON data has two top-level attributes, action and metadata. However, if you look at Socrata's Publishing api (which socrata-py wraps around), you'll see that in order to add an external URL, you need a third top-level attribute, href (pictured below).
I added a small amount of code to implement external datasets. Check out the Pull Request here
I'm working on automating more of USAID's uploads to its Development Data Library via the Socrata API, and I'm getting stuck when trying to create one or more external datasets (with a link to data on another site, no actual data uploaded). For a given dataset entity, I'm trying to set the external url in
accessPoints
andmetadata
:additionalAccessPoints
:urls
, but the link does not appear after creation in Socrata.Code:
................
Any tips?
The text was updated successfully, but these errors were encountered: