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 was hoping to point a chart at an API, like https://city-of-ottawa-dev.apigee.net/open311/v2/requests.json inside the ArcGIS Hub. Everything inside this particular JSON request starts immediately as items inside a list. No features, no attributes keys.
The text was updated successfully, but these errors were encountered:
Hi there @khibma, currently we don't have any way to pull in an external api (non esri based) like that. But we are now adding that feature to the backlog. As an alternative you can also inline data. It would look something like:
{
"datasets": {
"data": [{}, {}, etc]
}
}
I know it's not the greatest work around, but it could potentially help in this case. As an aside inlined data can take the following formats:
Thanks @khibma - I'm going to leave this issue open as a feature request to support fetching non-esri data sources in addition to being able to inline them as @benstoltz suggests above.
The doc says you can point at JSON files, but do these static files still need to conform to a feature service like response?
Per: https://esri.github.io/cedar/examples/inlined-data.html It states the expected input needs to look like...
I was hoping to point a chart at an API, like https://city-of-ottawa-dev.apigee.net/open311/v2/requests.json inside the ArcGIS Hub. Everything inside this particular JSON request starts immediately as items inside a list. No
features
, noattributes
keys.The text was updated successfully, but these errors were encountered: