Mercurial > kallithea
changeset 1491:e63a2841714d beta
API docs update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 29 Sep 2011 03:34:01 +0300 |
parents | 76b358f81926 |
children | 5a3252dd7fd9 |
files | docs/api/api.rst |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/api/api.rst Thu Sep 29 03:23:53 2011 +0300 +++ b/docs/api/api.rst Thu Sep 29 03:34:01 2011 +0300 @@ -7,7 +7,8 @@ Starting from RhodeCode version 1.2 a simple API was implemented. There's one schema for calling all api methods. API is implemented -with JSON protocol both ways. +with JSON protocol both ways. An url to send API request in RhodeCode is +<your-server>/_admin/api Clients need to send JSON data in such format:: @@ -50,7 +51,7 @@ api_key :: - + api_key:"<api_key>" method: "pull" args: {"repo":<repo_name>}