pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mme...@apache.org
Subject [pulsar] branch master updated: Fix REST API document link (#3444)
Date Mon, 28 Jan 2019 16:51:08 GMT
This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 3875220  Fix REST API document link (#3444)
3875220 is described below

commit 3875220aa4045fec0c83e997a3894b06e54a4c7f
Author: Like <like_0903@163.com>
AuthorDate: Tue Jan 29 00:51:01 2019 +0800

    Fix REST API document link (#3444)
    
    * Fix REST API document link
    
    * Fix unload namespace bundle URL
---
 site2/docs/admin-api-namespaces.md | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/site2/docs/admin-api-namespaces.md b/site2/docs/admin-api-namespaces.md
index 52ba7ab..f288b69 100644
--- a/site2/docs/admin-api-namespaces.md
+++ b/site2/docs/admin-api-namespaces.md
@@ -147,7 +147,7 @@ $ pulsar-admin namespaces set-clusters test-tenant/ns1 \
 ###### REST
 
 ```
-{@inject: endpoint POST|/admin/v2/namespaces/:tenant/:namespace/replication|operation/setNamespaceReplicationClusters}
+{@inject: endpoint|POST|/admin/v2/namespaces/:tenant/:namespace/replication|operation/setNamespaceReplicationClusters}
 ```
 
 ###### Java
@@ -173,7 +173,7 @@ cl2
 ###### REST
 
 ```
-GET /admin/v2/namespaces/{tenant}/{namespace}/replication
+{@inject: endpoint|GET|/admin/v2/namespaces/{tenant}/{namespace}/replication|operation/getNamespaceReplicationClusters}
 ```
 
 ###### Java
@@ -207,7 +207,7 @@ N/A
 ###### REST
 
 ```
-POST /admin/v2/namespaces/{tenant}/{namespace}/backlogQuota
+{@inject: endpoint|POST|/admin/v2/namespaces/{tenant}/{namespace}/backlogQuota|operation/setBacklogQuota}
 ```
 
 ###### Java
@@ -238,7 +238,7 @@ $ pulsar-admin namespaces get-backlog-quotas test-tenant/ns1
 ###### REST
 
 ```
-GET /admin/v2/namespaces/{tenant}/{namespace}/backlogQuotaMap
+{@inject: endpoint|GET|/admin/v2/namespaces/{tenant}/{namespace}/backlogQuotaMap|operation/getBacklogQuotaMap}
 ```
 
 ###### Java
@@ -264,7 +264,7 @@ N/A
 ###### REST
 
 ```
-DELETE /admin/v2/namespaces/{tenant}/{namespace}/backlogQuota
+{@inject: endpoint|DELETE|/admin/v2/namespaces/{tenant}/{namespace}/backlogQuota|operation/removeBacklogQuota}
 ```
 
 ###### Java
@@ -298,7 +298,7 @@ N/A
 ###### REST
 
 ```
-POST /admin/v2/namespaces/{tenant}/{namespace}/persistence
+{@inject: endpoint|POST|/admin/v2/namespaces/{tenant}/{namespace}/persistence|operation/setPersistence}
 ```
 
 ###### Java
@@ -330,7 +330,7 @@ $ pulsar-admin namespaces get-persistence test-tenant/ns1
 ###### REST
 
 ```
-GET /admin/v2/namespaces/{tenant}/{namespace}/persistence
+{@inject: endpoint|GET|/admin/v2/namespaces/{tenant}/{namespace}/persistence|operation/getPersistence}
 ```
 
 ###### Java
@@ -357,7 +357,7 @@ N/A
 ###### REST
 
 ```
-PUT /admin/v2/namespaces/{tenant}/{namespace}/unload
+{@inject: endpoint|PUT|/admin/v2/namespaces/{tenant}/{namespace}/{bundle}/unload|operation/unloadNamespaceBundle}
 ```
 
 ###### Java
@@ -384,7 +384,7 @@ N/A
 ###### REST
 
 ```
-POST /admin/v2/namespaces/{tenant}/{namespace}/messageTTL
+{@inject: endpoint|POST|/admin/v2/namespaces/{tenant}/{namespace}/messageTTL|operation/setNamespaceMessageTTL}
 ```
 
 ###### Java
@@ -411,13 +411,13 @@ $ pulsar-admin namespaces get-message-ttl test-tenant/ns1
 ###### REST
 
 ```
-GET /admin/v2/namespaces/{tenant}/{namespace}/messageTTL
+{@inject: endpoint|GET|/admin/v2/namespaces/{tenant}/{namespace}/messageTTL|operation/getNamespaceMessageTTL}
 ```
 
 ###### Java
 
 ```java
-admin.namespaces().getNamespaceReplicationClusters(namespace)
+admin.namespaces().getNamespaceMessageTTL(namespace)
 ```
 
 
@@ -438,7 +438,7 @@ N/A
 ###### REST
 
 ```
-PUT /admin/v2/namespaces/{tenant}/{namespace}/{bundle}/split
+{@inject: endpoint|PUT|/admin/v2/namespaces/{tenant}/{namespace}/{bundle}/split|operation/splitNamespaceBundle}
 ```
 
 ###### Java
@@ -465,7 +465,7 @@ N/A
 ###### REST
 
 ```
-POST /admin/v2/namespaces/{tenant}/{namespace}/clearBacklog
+{@inject: endpoint|POST|/admin/v2/namespaces/{tenant}/{namespace}/clearBacklog|operation/clearNamespaceBacklogForSubscription}
 ```
 
 ###### Java
@@ -492,7 +492,7 @@ N/A
 ###### REST
 
 ```
-POST /admin/v2/namespaces/{tenant}/{namespace}/{bundle}/clearBacklog
+{@inject: endpoint|POST|/admin/v2/namespaces/{tenant}/{namespace}/{bundle}/clearBacklog|operation/clearNamespaceBundleBacklogForSubscription}
 ```
 
 ###### Java
@@ -519,7 +519,7 @@ N/A
 ###### REST
 
 ```
-POST /admin/v2/namespaces/{tenant}/{namespace}/retention
+{@inject: endpoint|POST|/admin/v2/namespaces/{tenant}/{namespace}/retention|operation/setRetention}
 ```
 
 ###### Java
@@ -549,7 +549,7 @@ $ pulsar-admin namespaces get-retention test-tenant/ns1
 ###### REST
 
 ```
-GET /admin/v2/namespaces/{tenant}/{namespace}/retention
+{@inject: endpoint|GET|/admin/v2/namespaces/{tenant}/{namespace}/retention|operation/getRetention}
 ```
 
 ###### Java
@@ -577,7 +577,7 @@ $ pulsar-admin namespaces set-dispatch-rate test-tenant/ns1 \
 ###### REST
 
 ```
-POST /admin/v2/namespaces/{tenant}/{namespace}/dispatchRate
+{@inject: endpoint|POST|/admin/v2/namespaces/{tenant}/{namespace}/dispatchRate|operation/setDispatchRate}
 ```
 
 ###### Java
@@ -607,7 +607,7 @@ $ pulsar-admin namespaces get-dispatch-rate test-tenant/ns1
 ###### REST
 
 ```
-GET /admin/v2/namespaces/{tenant}/{namespace}/dispatchRate
+{@inject: endpoint|GET|/admin/v2/namespaces/{tenant}/{namespace}/dispatchRate|operation/getDispatchRate}
 ```
 
 ###### Java


Mime
View raw message