Mercurial > kallithea
comparison docs/api/api.rst @ 1911:0bd97250cd36 beta
docs update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 17 Jan 2012 23:13:19 +0200 |
parents | f2bd5b0c1094 |
children | 4ae17f819ee8 |
comparison
equal
deleted
inserted
replaced
1909:f2bd5b0c1094 | 1911:0bd97250cd36 |
---|---|
11 <your_server>/_admin/api | 11 <your_server>/_admin/api |
12 | 12 |
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 |
23 API ACCESS | 24 API ACCESS |
24 ++++++++++ | 25 ++++++++++ |