{"base_path":null,"components":null,"consumes":"","definitions":{"Column":{"description":"列信息","properties":{"column_name":{"description":"列名","example":"c1","maxLength":767,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-\\+*\\\\(), \\u4e00-\\u9fa5]+$","type":"string"},"column_type":{"description":"列类型,包括array bigint binary boolean char date decimal double float int interval map set smallint string struct timestamp tinyint union varchar","maxLength":65535,"minLength":1,"type":"string"},"comment":{"description":"列描述信息","maxLength":4000,"pattern":".*","type":"string"}},"required":["column_name","column_type"],"type":"object"},"ErrorMessage":{"description":"失败时返回的错误对象","properties":{"common_error_code":{"description":"CBC公共错误码","example":"CMM.1008","maxLength":36,"minLength":1,"type":"string"},"error_code":{"description":"错误码","example":"lakeformation.00010003","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","example":"failed","maxLength":4096,"minLength":2,"type":"string"},"solution_msg":{"description":"解决方案描述","example":"Please use correct instance id.","maxLength":4096,"minLength":2,"type":"string"}},"required":["error_code","error_msg"],"type":"object"},"PagedInfo":{"description":"分页返回信息","properties":{"current_count":{"description":"本次返回的对象个数","format":"int32","maximum":2000,"minimum":0,"type":"integer"},"next_marker":{"description":"下一页查询地址","example":"006f492b-xxxx","maxLength":32,"type":"string"},"previous_marker":{"description":"上一页查询地址","example":"003e6eba-xxxx","maxLength":32,"type":"string"}},"required":["current_count","next_marker","previous_marker"],"type":"object"},"PagedListTableMeta":{"description":"列举表元数据","properties":{"page_info":{"$ref":"#/definitions/PagedInfo"},"table_metas":{"items":{"$ref":"#/definitions/TableMeta"},"type":"array"}},"title":"PagedListTableBrief","type":"object"},"TableMeta":{"description":"表描述信息","properties":{"catalog_name":{"description":"表名","maxLength":256,"minLength":1,"pattern":"[a-zA-Z0-9_]+","type":"string"},"columns":{"description":"分区列以外的所有字段。","items":{"$ref":"#/definitions/Column"},"maxItems":10000,"minItems":0,"type":"array"},"comments":{"description":"表描述信息","maxLength":2048,"pattern":".*","type":"string"},"database_name":{"description":"数据库名字","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_]*$","type":"string"},"partition_keys":{"description":"分区列的信息。","items":{"$ref":"#/definitions/Column"},"maxItems":100,"minItems":0,"type":"array"},"table_name":{"description":"表名字","maxLength":256,"minLength":1,"pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_]*$","type":"string"},"table_type":{"description":"表类型","enum":["MANAGED_TABLE","EXTERNAL_TABLE","VIRTUAL_VIEW","MATERIALIZED_VIEW"],"type":"string"}},"required":["catalog_name","comments","database_name","table_name","table_type"],"title":"TableBrief","type":"object"}},"description":null,"group_id":"bf0ce8340d8b4439b53683607ef0d87f","host":"lakeformation.cn-north-4.myhuaweicloud.com","id":"d3879af2d5254d5aaeb756df9578adb4","info_version":"v1","method":"get","name":"ListTableMeta","parameters":{},"paths":{"/v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/tables":{"get":{"deprecated":false,"description":"通过数据库通配符和表通配符,找到符合条件的表并返回表的描述信息。","operationId":"ListTableMeta","parameters":[{"description":"租户token","in":"header","items":{"type":"string"},"name":"X-Auth-Token","required":true,"type":"array"},{"description":"项目id","in":"path","maxLength":64,"minLength":1,"name":"project_id","pattern":"^[a-z0-9]+$","required":true,"type":"string"},{"description":"实例Id","in":"path","name":"instance_id","pattern":"^[a-zA-Z0-9-]{36}$","required":true,"type":"string"},{"description":"catalog名字","in":"path","maxLength":256,"minLength":1,"name":"catalog_name","pattern":"[a-zA-Z0-9_]+","required":true,"type":"string"},{"description":"数据库通配符","in":"query","maxLength":128,"name":"database_name_pattern","pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_|*.]*$","required":false,"type":"string"},{"description":"表名通配符","in":"query","maxLength":256,"name":"table_name_pattern","pattern":"^[a-zA-Z0-9\\u4e00-\\u9fa5_|*.]*$","required":false,"type":"string"},{"collectionFormat":"multi","description":"查询的表类型","in":"query","items":{"enum":["MANAGED_TABLE","EXTERNAL_TABLE","VIRTUAL_VIEW","MATERIALIZED_VIEW"],"type":"string"},"name":"table_types","required":false,"type":"array"},{"default":1000,"description":"返回的条目数量","format":"int32","in":"query","maximum":2000,"minimum":1,"name":"limit","required":false,"type":"integer"},{"description":"查询的起始记录ID","in":"query","maxLength":256,"name":"marker","required":false,"type":"string"},{"default":false,"description":"是否查询上一页","in":"query","name":"reverse_page","required":false,"type":"boolean","x-annotations":["@UsNoConstraint(reason = \"Boolean类型无需校验\")"],"x-imports":["com.huawei.us.validator.annotation.UsNoConstraint;"]}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"page_info":{"current_count":2},"table_metas":[{"catalog_name":"hive","comments":"","database_name":"default","table_name":"tbla","table_type":"MANAGED_TABLE"},{"catalog_name":"hive","comments":"","database_name":"default","table_name":"tblb","table_type":"MANAGED_TABLE"}]}},"schema":{"$ref":"#/definitions/PagedListTableMeta"}},"400":{"description":"Bad Request","examples":{"application/json":{"error_code":"common.01000001","error_msg":"failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"401":{"description":"Unauthorized","examples":{"application/json":"{\n \"error_code\": 'APIG.1002',\n \"error_msg\": 'Incorrect token or token resolution failed'\n}"}},"403":{"description":"Forbidden","examples":{"application/json":{"error":{"code":"403","message":"X-Auth-Token is invalid in the request","title":"Forbidden"},"error_code":"403","error_msg":"X-Auth-Token is invalid in the request","title":"Forbidden"}}},"404":{"description":"Not Found","examples":{"application/json":{"error_code":"common.01000001","error_msg":"response status exception, code: 404"}},"schema":{"$ref":"#/definitions/ErrorMessage"}},"408":{"description":"Request Timeout","examples":{"application/json":{"error_code":"common.00000408","error_msg":"timeout exception occurred"}}},"500":{"description":"Internal Server Error","examples":{"application/json":{"error_code":"common.00000500","error_msg":"internal error"}},"schema":{"$ref":"#/definitions/ErrorMessage"}}},"summary":"分页获取表的描述信息","tags":["Table"],"x-apiexplorer-hide":"N","x-is-registered":"Y","x-order":0,"x-request-examples-url-1":"/v1/{project_id}/instances/{instance_id}/catalogs/{catalog_name}/databases/tables","x-support-sdk":"Y"}}},"product_short":"LakeFormation","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"分页获取表的描述信息","tags":"数据表管理","uri":null,"version":"2.0"}