ckan / ckanext-xloader

Express Loader - quickly load data into DataStore. A replacement for DataPusher.
GNU Affero General Public License v3.0
44 stars 50 forks source link

load data from url #117

Open jeanpommier opened 4 years ago

jeanpommier commented 4 years ago

Hi, in datastore_create documentation, it is said that you can provide an URL to the data you want to load. I've tried it, and got the error "{"__type": "Validation Error", "resource": ["The datapusher has to be enabled."]}". Is it not supported by xloader then ? Thanks

jeanpommier commented 4 years ago

[Completing my question] I've just seen it works using the UI. But using the API, I haven't managed to do it. Is there a corresponding endpoint provided by xloader ?

ThrawnCA commented 7 months ago

You should be able to pass a resource_id to the xloader_submit API to run the XLoader for that resource.