[ckan-dev] Assign an image to an organization via the API

Milica Knezevic knezevic.milica at gmail.com
Mon Jul 6 08:36:04 UTC 2015


Hi,

If I want to create an organization with an image to be displayed on the
organization’s page, how can I do that via the API? organization_create has
an (optional) field image_url which should contain the URL of the image,
but when creating an organization I want to upload and image and assign it
to organization, so I start with a file (containing the image) and no URL.
What would be the steps I need to take?

I'm working with CKAN version 2.2.1

m.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150706/11944c79/attachment-0002.html>


More information about the ckan-dev mailing list