Show More
@@ -11,6 +11,13 b' with JSON protocol both ways. An url to ' | |||||
11 | <your_server>/_admin/api |
|
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 | All clients are required to send JSON-RPC spec JSON data:: |
|
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