Mercurial > kallithea
diff docs/api/api.rst @ 1491:e63a2841714d beta
API docs update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 29 Sep 2011 03:34:01 +0300 |
parents | ebb90cfdac83 |
children | 256e729a94cd |
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>}