特定のテーブルに関連するアセットナレッジ (テーブル、フィールド、SQL 文、スニペットを含む) のページネーションリストを照会します。
操作説明
特定のテーブルに関連するアセットナレッジリストに対してページングクエリを実行します。ナレッジタイプやキーワードなどの条件で結果をフィルターできます。応答では、KnowledgeBaseVO のページング結果が返されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dms:SearchTableAssetKnowledge |
none |
*All resources.
|
なし | なし |
リクエスト構文
POST / HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DbId |
integer |
必須 |
データベース ID。 ListDatabases 操作を呼び出してデータベース ID を取得できます。 |
1*** |
| TableName |
string |
必須 |
テーブル名。 |
order_info |
| SearchKey |
string |
任意 |
ナレッジコンテンツのあいまい一致に使用される検索キーワード。 |
Order |
| ShowType |
string |
任意 |
ナレッジ表示タイプのフィルター。有効な値には、TABLE、COLUMN、SQL、SEG があります。このパラメーターが空の場合、すべてのタイプが返されます。 |
TABLE |
| Size |
integer |
任意 |
1 ページあたりに返すエントリ数。デフォルト値: 20。 |
20 |
| Offset |
integer |
任意 |
ページネーションのオフセット。デフォルト値: 0。 |
0 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答コンテンツ。 |
||
| RequestId |
string |
リクエスト ID。 |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
エラーコード。 |
UnknownError |
| ErrorMessage |
string |
エラーメッセージ。 |
UnknownError |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
| Data |
object |
ページネーションナレッジ結果。 |
|
| TotalCount |
integer |
エントリの総数。 |
100 |
| Items |
array |
ナレッジリスト。 |
|
| KnowledgeBaseVO |
テーブル名。 ListTables 操作を呼び出してこのパラメーターを取得できます。 説明
このパラメーターは、ResourceType パラメーターが META_TABLE または LOGIC_TABLE に設定されている場合に必須です。 |
[] |
例
成功レスポンス
JSONJSON
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Data": {
"TotalCount": 100,
"Items": [
{
"KnowledgeId": "TABLE-orders",
"EntityId": 1001,
"KnowledgeType": "TABLE",
"ShowType": "TABLE",
"Category": "OBJECT",
"Name": "orders",
"Summary": "Order business data",
"OldSummary": "Order data",
"Description": "Stores orders and their associated business information",
"OldDescription": "Stores order records",
"Expr": "orders",
"InstanceName": "Business database instance",
"DbName": "business_db",
"TableName": "orders",
"DbId": 101,
"Env": "product",
"GmtCreate": "2026-10-22 10:00:00",
"LevelType": "locked",
"ParseDesc": "{\"confidence\":80,\"reason\":\"Identified order business based on table structure\"}",
"RelationType": "SQL",
"Confidence": 80,
"ReasoningLogic": "Identified the order business based on the table structure and column comments",
"IsDelete": false
}
]
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。