From e5a1ccff8a28bb9979d11525466ae58b94ef7d1c Mon Sep 17 00:00:00 2001 From: Ian Murray Date: Mon, 21 May 2012 10:18:32 +0100 Subject: [PATCH] Moved section about GETable actions --- doc/apiv3.rst | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/doc/apiv3.rst b/doc/apiv3.rst index 9f7db24e670..a76c6be6e00 100644 --- a/doc/apiv3.rst +++ b/doc/apiv3.rst @@ -57,25 +57,8 @@ Examples:: curl http://test.ckan.net/api/action/package_list -d '{}' curl http://test.ckan.net/api/action/package_show -d '{"id": "fd788e57-dce4-481c-832d-497235bf9f78"}' -Actions -======= - -.. automodule:: ckan.logic.action.get - :members: - -.. automodule:: ckan.logic.action.create - :members: - -.. automodule:: ckan.logic.action.update - :members: - -.. automodule:: ckan.logic.action.delete - :members: - -In case of doubt, refer to the code of the logic actions, which is found in the CKAN source in the ``ckan/logic/action`` directory. - GET-able Actions ----------------- +................ Actions defined in get.py can also be accessed with a GET request **in addition** to the POST method described just above. @@ -112,6 +95,23 @@ consequence of this, currently the *resource_search*, *tag_search* and Also, it is worth bearing this limitation in mind when creating your own actions via the `IActions` interface. +Actions +======= + +.. automodule:: ckan.logic.action.get + :members: + +.. automodule:: ckan.logic.action.create + :members: + +.. automodule:: ckan.logic.action.update + :members: + +.. automodule:: ckan.logic.action.delete + :members: + +In case of doubt, refer to the code of the logic actions, which is found in the CKAN source in the ``ckan/logic/action`` directory. + Responses =========