# HG changeset patch # User Marcin Kuzminski # Date 2012-01-17 22:13:19 # Node ID 0bd97250cd360bb37945b2a468b16060c4c037c1 # Parent f2bd5b0c10949e6d8467d3b377cf197024fc77b8 docs update diff --git a/docs/api/api.rst b/docs/api/api.rst --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -13,10 +13,11 @@ with JSON protocol both ways. An url to API ACCESS FOR WEB VIEWS ++++++++++++++++++++++++ -API access can also be turned on for each view decorated with `@LoginRequired` -decorator. To enable API access simple change standard login decorator into -`@LoginRequired(api_access=True)`. After such a change view can be accessed -by adding a GET parameter to url `?api_key=`. By default it's only +API access can also be turned on for each web view in RhodeCode that is +decorated with `@LoginRequired` decorator. To enable API access simple change +the standard login decorator to `@LoginRequired(api_access=True)`. +After this change, a rhodecode view can be accessed without login by adding a +GET parameter `?api_key=` to url. By default this is only enabled on RSS/ATOM feed views.