##// END OF EJS Templates
docs update
marcink -
r1911:0bd97250 beta
parent child Browse files
Show More
@@ -13,10 +13,11 b' with JSON protocol both ways. An url to '
13 API ACCESS FOR WEB VIEWS
13 API ACCESS FOR WEB VIEWS
14 ++++++++++++++++++++++++
14 ++++++++++++++++++++++++
15
15
16 API access can also be turned on for each view decorated with `@LoginRequired`
16 API access can also be turned on for each web view in RhodeCode that is
17 decorator. To enable API access simple change standard login decorator into
17 decorated with `@LoginRequired` decorator. To enable API access simple change
18 `@LoginRequired(api_access=True)`. After such a change view can be accessed
18 the standard login decorator to `@LoginRequired(api_access=True)`.
19 by adding a GET parameter to url `?api_key=<api_key>`. By default it's only
19 After this change, a rhodecode view can be accessed without login by adding a
20 GET parameter `?api_key=<api_key>` to url. By default this is only
20 enabled on RSS/ATOM feed views.
21 enabled on RSS/ATOM feed views.
21
22
22
23
General Comments 0
You need to be logged in to leave comments. Login now