[ckan-dev] Update Single Resource Field via API
Nigel Babu
nigel.babu at okfn.org
Fri Feb 7 08:15:55 UTC 2014
Hello Kristi,
Can you try doing a resource_show, modifying the dict, and then pushing it
back via resource_update?
Nigel Babu
Developer | @nigelbabu <https://twitter.com/nigelbabu>
The Open Knowledge Foundation <http://okfn.org/>
Empowering through Open Knowledge
http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/> | Newsletter<http://okfn.org/about/newsletter>
CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform
On 7 February 2014 10:16, kristi powell <y2kristi at hotmail.com> wrote:
> Hello...
>
> I am trying to update a single field at the resource level via the API.
> I'm using the update_resource method. In the body I have a json object
> for example: "{"key":"value"}" but it's returning an error "Conflict."
>
> How can I change the value of just the single field without rewriting the
> entire resource?
>
> Thanks,
>
> Kristi
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140207/f7e4f79c/attachment-0003.html>
More information about the ckan-dev
mailing list