##// END OF EJS Templates
Added instruction on enabling the API access to web views
marcink -
r1812:320dec24 beta
parent child Browse files
Show More
@@ -11,6 +11,13 b' with JSON protocol both ways. An url to '
11 11 <your_server>/_admin/api
12 12
13 13
14 API access can also be turned on for each view decorated with `@LoginRequired`
15 decorator. To enable API access simple change standard login decorator into
16 `@LoginRequired(api_access=True)`. After such a change view can be accessed
17 by adding a GET parameter to url `?api_key=<api_key>`. By default it's only
18 enabled on RSS/ATOM feed views.
19
20
14 21 All clients are required to send JSON-RPC spec JSON data::
15 22
16 23 {
General Comments 0
You need to be logged in to leave comments. Login now