[ 
https://issues.apache.org/jira/browse/KYLIN-6053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930071#comment-17930071
 ] 

Guoliang Sun commented on KYLIN-6053:
-------------------------------------

h3. Dev Design

Extend the `getTableListAPI` to add parameters for supporting queries of 
internal table details. The completed API is as follows:  

URL: 
`/api/internal_tables/?project=\{project}&need_details=\{true}&table=\{table}&database=\{database}`
  

Method: GET  

URL Parameters:
 * `database` (string): The database name to view (optional, supports fuzzy 
matching).  
 * `table` (string): The internal table name to view (optional, supports fuzzy 
matching).  
 * `project` (string): Project name (required).  
 * `need_details` (boolean): Whether to include internal table details 
(optional, `true` for enabled, `false` for disabled, default is `false`).  
 * `page_offset` (int): Pagination offset (optional, default is 0).  
 * `page_size` (int): Pagination size (optional, default is 10).  
 * `is_fuzzy` (boolean): Whether to enable fuzzy matching for table names 
(optional, `true` for enabled, `false` for disabled, default is `false`).

> Add OpenAPI for viewing the details of a specified inner table
> --------------------------------------------------------------
>
>                 Key: KYLIN-6053
>                 URL: https://issues.apache.org/jira/browse/KYLIN-6053
>             Project: Kylin
>          Issue Type: Improvement
>    Affects Versions: 5.0.0
>            Reporter: Guoliang Sun
>            Assignee: Guoliang Sun
>            Priority: Major
>             Fix For: 5.0.2
>
>
> OpenAPI supports viewing internal table details, such as column names, field 
> types, partition columns, and other information.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to