Closed DavidLeoni closed 8 years ago
Tried to implement it, but curl example in documentation on dati.trentino dev instance just doesn't work. Ckan stubbornly requires a JSON in the post body, I have to throw the towel for now.
the curl example works on demo.ckan.org, though.
Probably you can do it with a simply Post Request
I have implemented a working example based solely on the Apache HttpClient. I will try to contribute back, but my Java knowledge is not that good. Take care of small quirks the API has.
Seems like this is a highly requested feature :-)
From forks I see @bobeal has already implemented something in Jackan:
https://github.com/bobeal/jackan/commit/7b715e8e7d31c118f4b1a78a5695379f9433a9c4
If anybody wants to take the final stab at ckan upload quirks, you can find the contribution guidelines here !
Hello,
Indeed, I implemented something quick and dirty for a demonstration but planned to clean and finalize the code and contribute it. Probably in the next two weeks (I'm on holidays for the current week).
So, that's ok for me for the final stab :-)
Regards,
Benoit.
Hello,
To keep you informed, I started working back on it today. I created a new branch, to be based on the stable branch-0.4 branch.
I plan to have something ready for a PR during this week.
Regards,
Benoit.
Implementing file uploads doesn't seem difficult (see http://docs.ckan.org/en/ckan-2.2/filestore.html), although it's not a priority for now.