You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/14 08:26:26 UTC

[GitHub] [pulsar] yjshen commented on a change in pull request #4520: [REST API Doc]Sink API refinement

yjshen commented on a change in pull request #4520: [REST API Doc]Sink API refinement
URL: https://github.com/apache/pulsar/pull/4520#discussion_r293707069
 
 

 ##########
 File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/SinksBase.java
 ##########
 @@ -167,14 +290,18 @@ public SinkConfig getSinkInfo(final @PathParam("tenant") String tenant,
             response = SinkStatus.class
     )
     @ApiResponses(value = {
-            @ApiResponse(code = 400, message = "Invalid request"),
-            @ApiResponse(code = 403, message = "The requester doesn't have admin permissions"),
-            @ApiResponse(code = 404, message = "The sink doesn't exist")
+            @ApiResponse(code = 400, message = "Invalid get status request"),
+            @ApiResponse(code = 401, message = "The client is not authorized to perform this operation"),
+            @ApiResponse(code = 404, message = "The sink doesn't exist"),
+            @ApiResponse(code = 503, message = "Function worker service is now initializing. Please try again later."),
 
 Review comment:
   done.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services