weizuo93 commented on pull request #4268:
URL: https://github.com/apache/incubator-doris/pull/4268#issuecomment-670301688


   > That would be a useful feature! But I have some suggestions:
   > 
   > 1. There may be hundreds of thousands of tablet on one BE, so it better to 
add some query parameter like `limit` or `offset` to limit the number of 
tablets returned. And use a default value, like limit 1000.
   > 2. I sorting out the RESTful API of Doris, in this PR #4261, it only 
describe the  RESTful API response body of FE, bug I thinks BE can also follow 
the rule. the response body is like:
   > 
   > ```
   >     {
   >            "msg": "OK",
   >            "code": 0,
   >            "data": {
   >                    your real result data....
   >            },
   >            "count": 0
   >      }
   > ```
   > 
   > 1. Document. Every new API need a document in both English and Chinese. 
You can put them under `administrator-guide/http-actions/`
   
   
   
   Thank you very much for your suggestions, and I think your suggestions are 
very useful. I will modify my work:
   
   (1) API Response body will follow the rule in PR #4261.
   
   (2) I will add a document in both English and Chinese to describe the new 
API.
   
   However, the purpose of our work is to view all the tablets on a BE node, it 
is necessary to return all the tablets. In addition, only the tablet id and 
schema hash are returned in the data, thus the returned data capacity is not 
large.


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to