メインコンテンツまでスキップ

List the tables and views the caller is granted.

GET/api/v1/query-sourcesanalytics:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Granted tables and views only, by name; search keeps the names that contain the text. columns are null in list items.

スコープanalytics:read
非同期いいえ
MCP ツールlist_query_sources
Portal の権限view_query_builder_schema
ページングkeyset
既定の並び順name, query_source_id
並べ替えに使えるフィールドname, query_source_id

パラメーター​

名前場所型必須説明
searchquerystring または null任意Sources whose name contains this text.
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsQuerySource の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

QuerySource​

フィールド型必須説明
columnsQuerySourceColumn の配列必須Every column with its keys; null in list items (get_query_source reads them).
kindstring必須table or view.
namestring必須
query_source_idstring必須base64url (no padding) of the granted table or view name.
row_countstring または null必須The database's row estimate, as the query builder shows it; null in list items.
size_mbnumber または null必須The table's size on disk in megabytes (0 for a view, which has no storage of its own); null in list items.

QuerySourceColumn​

フィールド型必須説明
default_valuestring または null必須The column's default as the database states it; null when it has none.
foreign_columnstring または null必須
foreign_tablestring または null必須The table a foreign key points at; null when the column is no foreign key.
is_foreign_keyboolean必須
is_indexedboolean必須
is_nullableboolean必須
is_primary_keyboolean必須
is_uniqueboolean必須
keystring必須
namestring必須
ordinal_positioninteger または null必須The column's place in the table, starting at 1.
typestring必須