[ckan-dev] CKAN API - Problems using config_option_update

Vladimir Mašala vladimirmasala at gmail.com
Wed Sep 2 15:20:43 UTC 2015


Hi all

I have problem with CKAN api.

When I try to update active plugins i get response

*{*

*  "help":
"http://odf-v24-2.cloudapp.net/api/3/action/help_show?name=config_option_update
<http://odf-v24-2.cloudapp.net/api/3/action/help_show?name=config_option_update>",*

*  "success": false,*

*  "error": {*

*    "message": "Configuration option(s) 'ckan.plugins' can not be
updated",*

*    "__type": "Validation Error"*

*  }*

*}*


I am calling method
*http://odf-v24-2.cloudapp.net/api/3/action/config_option_update
<http://odf-v24-2.cloudapp.net/api/3/action/config_option_update>*
with payload

*{"ckan.plugins":"stats text_view image_view recline_view recline_grid_view
recline_graph_view recline_map_view webpage_view"}*


Works fine with other params so as I understand changing this option is
forbidden by default.


What can i do to enable changing plugins via API?



Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150902/f6f2af9a/attachment-0002.html>


More information about the ckan-dev mailing list