Mercurial > kallithea
diff docs/api/api.rst @ 4189:9793473d74be kallithea-2.2.5-rebrand
Rename helper tools (and fix inconsistent naming)
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:04:39 -0400 |
parents | 05cabd91f7c3 |
children | e73a69cb98dc |
line wrap: on
line diff
--- a/docs/api/api.rst Wed Jul 02 19:04:33 2014 -0400 +++ b/docs/api/api.rst Wed Jul 02 19:04:39 2014 -0400 @@ -79,12 +79,12 @@ ++++++++++ From version 1.4 RhodeCode adds a script that allows to easily -communicate with API. After installing RhodeCode a `rhodecode-api` script +communicate with API. After installing RhodeCode a `kallithea-api` script will be available. To get started quickly simply run:: - rhodecode-api _create_config --apikey=<youapikey> --apihost=<your.kallithea.server> + kallithea-api _create_config --apikey=<youapikey> --apihost=<your.kallithea.server> This will create a file named .config in the directory you executed it storing json config file with credentials. You can skip this step and always provide @@ -93,7 +93,7 @@ after that simply run any api command for example get_repo:: - rhodecode-api get_repo + kallithea-api get_repo calling {"api_key": "<apikey>", "id": 75, "args": {}, "method": "get_repo"} to http://127.0.0.1:5000 rhodecode said: @@ -105,7 +105,7 @@ Let's try again now giving the repoid as parameters:: - rhodecode-api get_repo repoid:rhodecode + kallithea-api get_repo repoid:rhodecode calling {"api_key": "<apikey>", "id": 39, "args": {"repoid": "rhodecode"}, "method": "get_repo"} to http://127.0.0.1:5000 rhodecode said: