From 234572e359588e535c00a85715bec4450b7ff77d Mon Sep 17 00:00:00 2001 From: Steffen Gebert Date: Tue, 24 Mar 2015 21:21:13 +0100 Subject: [PATCH] Docs: Fix RPC URL The RPC URL should be `/rpc/?` and not `/rpc?` according to https://groups.google.com/d/msg/gitblit/Ajp2gR3B2bM/AXg6wIf21eIJ --- src/site/rpc.mkd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/site/rpc.mkd b/src/site/rpc.mkd index de4ed471..4b065bf0 100644 --- a/src/site/rpc.mkd +++ b/src/site/rpc.mkd @@ -131,7 +131,7 @@ Use *SET_REPOSITORY_TEAM_PERMISSIONS* instead. ### Example: LIST_REPOSITORIES -**url**: https://localhost/rpc?req=LIST_REPOSITORIES +**url**: https://localhost/rpc/?req=LIST_REPOSITORIES **response body**: Map<String, RepositoryModel> where the map key is the clone url of the repository ```json @@ -183,7 +183,7 @@ Use *SET_REPOSITORY_TEAM_PERMISSIONS* instead. The original repository name is specified in the *name* url parameter. The new name is set within the JSON object. -**url**: https://localhost/rpc?req=EDIT_REPOSITORY&name=libraries/xmlapache.git +**url**: https://localhost/rpc/?req=EDIT_REPOSITORY&name=libraries/xmlapache.git **post body**: RepositoryModel ```json @@ -211,7 +211,7 @@ The original repository name is specified in the *name* url parameter. The new ``` ### Example: LIST_USERS -**url**: https://localhost/rpc?req=LIST_USERS +**url**: https://localhost/rpc/?req=LIST_USERS **response body**: List<UserModel> ```json @@ -237,7 +237,7 @@ The original repository name is specified in the *name* url parameter. The new ``` ### Example: LIST_SETTINGS -**url**: https://localhost/rpc?req=LIST_SETTINGS +**url**: https://localhost/rpc/?req=LIST_SETTINGS **response body**: ServerSettings ```json @@ -268,7 +268,7 @@ The original repository name is specified in the *name* url parameter. The new ``` ### Example: LIST_STATUS -**url**: https://localhost/rpc?req=LIST_STATUS +**url**: https://localhost/rpc/?req=LIST_STATUS **response body**: ServerStatus ```json -- 2.39.5