diff options
author | James Moger <james.moger@gmail.com> | 2015-03-24 17:03:16 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2015-03-24 17:03:16 -0400 |
commit | 2fdefced2aeecc7c12f3de50f89c1590a6a088fc (patch) | |
tree | ab2261e2be628dc89bae2782e893803c99401e6a | |
parent | d49ab99ef5820e511fd3edbd5e96de96b804fad2 (diff) | |
parent | 234572e359588e535c00a85715bec4450b7ff77d (diff) | |
download | gitblit-2fdefced2aeecc7c12f3de50f89c1590a6a088fc.tar.gz gitblit-2fdefced2aeecc7c12f3de50f89c1590a6a088fc.zip |
Merge pull request #250 from StephenKing/doc-rpc
Docs: Fix RPC URL
-rw-r--r-- | src/site/rpc.mkd | 10 |
1 files 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
|