檢視
一次載入整合資料,並建立、管理或套用可重複使用的儲存檢視。
GET
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/view用途
在一次回應中提供資料表資訊、一頁資料列、總筆數,以及呼叫者的實際權限。
適用時機
適合只用一次往返就完成資料表初始畫面。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/view - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/view - 公司
/private/module/custom_tables/company/tables/{table_id}/view
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 要載入整合檢視的資料表 UUID。 |
skip | query | int >= 0 | 否 | 略過前幾筆可見資料列,預設為 0。 |
limit | query | int 1..1000 | 否 | 最多回傳幾筆資料列,可填 1 到 1,000,預設為 100。 |
sort_by | query | string | 否 | 內部欄位 ID,或 id、created_at、updated_at。 |
sort_order | query | enum:asc|desc | 否 | 排序方向:asc 或 desc。 |
expand_links | query | boolean | 否 | 設為 true 時,替可讀取的連結欄位內嵌有上限的關聯資料預覽。 |
回應結構
CustomTableViewResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
my_permissions | MyPermissionsResponse | 是 | Caller's effective permissions (identical to `GET .../permissions/me`) |
records | CustomTableRecordResponse[] | 是 | Records page (identical to `GET .../records`) |
table | CustomTableResponse | 是 | Table metadata (same object as the list endpoint's `table`) |
total | integer | 是 | Total matching records (ACL-scoped, same as the list endpoint) |
範例
載入資料表初始畫面
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222"
},
"query": {
"skip": "0",
"limit": "20",
"sort_order": "asc",
"expand_links": "false"
}
}回應200
{
"table": {
"id": "22222222-2222-4222-8222-222222222222",
"name": "訂單",
"description": "客戶訂單",
"schema_definition": {
"columns": [
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "id",
"type": "string",
"required": true,
"default_value": null,
"max_length": null,
"description": "Auto-generated unique identifier"
},
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "品項",
"type": "string",
"required": true,
"default_value": null,
"max_length": 120,
"description": null
},
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "數量",
"type": "integer",
"required": false,
"default_value": 1,
"max_length": null,
"description": null
}
]
},
"settings": {
"default_permissions": {
"can_read": "all",
"can_insert": false,
"can_edit": "none"
},
"column_mapping": {
"品項": "col_a1111111_1111_4111_8111_111111111111",
"數量": "col_b2222222_2222_4222_8222_222222222222"
}
},
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"department_id": null,
"company_id": null,
"record_count": 0,
"created_at": "2026-07-19T01:20:00",
"updated_at": "2026-07-19T01:25:00"
},
"records": [],
"total": 0,
"my_permissions": {
"can_read": "all",
"can_insert": true,
"can_edit": "all",
"is_manager": true
}
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 400 | 指定的排序欄位不適用於此資料表。 | |
POST
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/views用途
保存篩選、排序與顯示欄位設定,供之後重複使用。
適用時機
讀取者要保存私人檢視,或管理者要發布共享檢視時使用。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/views - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/views - 公司
/private/module/custom_tables/company/tables/{table_id}/views
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 此儲存檢視所屬的資料表 UUID。 |
請求結構
CustomTableSavedViewPayload| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
config | CustomTableViewConfig | 否 | Stored filter/sort/column-set config (re-validated against the caller's ACL on apply). |
is_shared | boolean | 否 | Share with all table readers (moderator only) vs private to the creator. |
name | string | 是 | View name (unique per creator within the table). |
回應結構
CustomTableSavedViewResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
config | CustomTableViewConfig | 是 | Stored filter/sort/column-set config |
created_at | string (date-time) | 是 | View creation timestamp |
created_by | string | null | 否 | Creator user UUID (null once the creator is deleted) |
id | string | 是 | View UUID |
is_owner | boolean | 是 | Whether the requesting caller created this view |
is_shared | boolean | 是 | Whether the view is shared with all table readers |
name | string | 是 | View name |
table_id | string | 是 | Parent table UUID |
updated_at | string (date-time) | 是 | Last modification timestamp |
範例
建立私人儲存檢視
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222"
},
"body": {
"name": "待處理訂單",
"config": {
"filters": {},
"stored_filters": null,
"computed_filters": null,
"q": null,
"sort_by": null,
"sort_order": "asc",
"columns": [
"品項",
"數量"
]
},
"is_shared": false
}
}回應201
{
"id": "44444444-4444-4444-8444-444444444444",
"table_id": "22222222-2222-4222-8222-222222222222",
"name": "待處理訂單",
"config": {
"filters": {},
"stored_filters": null,
"computed_filters": null,
"q": null,
"sort_by": null,
"sort_order": "asc",
"columns": [
"品項",
"數量"
]
},
"is_shared": false,
"is_owner": true,
"created_by": "66666666-6666-4666-8666-666666666666",
"created_at": "2026-07-19T01:20:00",
"updated_at": "2026-07-19T01:25:00"
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 403 | 非管理者嘗試建立共享檢視。 | |
| 409 | 同一建立者在此資料表已有同名檢視。 | |
GET
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/views用途
回傳呼叫者看得到的檢視:本人建立與共享檢視;管理者則可看到全部。
適用時機
用來填入檢視選單:包含呼叫者自己的 private views 與可見 shared views,不會暴露他人的私人檢視。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/views - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/views - 公司
/private/module/custom_tables/company/tables/{table_id}/views
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 要列出檢視的資料表 UUID。 |
回應結構
CustomTableSavedViewListResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
total | integer | 是 | Number of visible saved views |
views | CustomTableSavedViewResponse[] | 是 | Visible saved views |
範例
列出目前可見的儲存檢視
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222"
}
}回應200
{
"views": [
{
"id": "44444444-4444-4444-8444-444444444444",
"table_id": "22222222-2222-4222-8222-222222222222",
"name": "待處理訂單",
"config": {
"filters": {},
"stored_filters": null,
"computed_filters": null,
"q": null,
"sort_by": null,
"sort_order": "asc",
"columns": [
"品項",
"數量"
]
},
"is_shared": false,
"is_owner": true,
"created_by": "66666666-6666-4666-8666-666666666666",
"created_at": "2026-07-19T01:20:00",
"updated_at": "2026-07-19T01:25:00"
}
],
"total": 1
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 404 | 資料表不存在,或不屬於指定範圍。 | |
GET
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/views/{view_id}用途
回傳一筆可見的儲存檢視設定與擁有者資訊。
適用時機
使用者選定檢視 UUID 後,需要查看或編輯內容時使用。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/views/{view_id} - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/views/{view_id} - 公司
/private/module/custom_tables/company/tables/{table_id}/views/{view_id}
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 檢視所屬資料表 UUID。 |
view_id | path | uuid | 是 | 儲存檢視 UUID。 |
回應結構
CustomTableSavedViewResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
config | CustomTableViewConfig | 是 | Stored filter/sort/column-set config |
created_at | string (date-time) | 是 | View creation timestamp |
created_by | string | null | 否 | Creator user UUID (null once the creator is deleted) |
id | string | 是 | View UUID |
is_owner | boolean | 是 | Whether the requesting caller created this view |
is_shared | boolean | 是 | Whether the view is shared with all table readers |
name | string | 是 | View name |
table_id | string | 是 | Parent table UUID |
updated_at | string (date-time) | 是 | Last modification timestamp |
範例
取得儲存檢視
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222",
"view_id": "44444444-4444-4444-8444-444444444444"
}
}回應200
{
"id": "44444444-4444-4444-8444-444444444444",
"table_id": "22222222-2222-4222-8222-222222222222",
"name": "待處理訂單",
"config": {
"filters": {},
"stored_filters": null,
"computed_filters": null,
"q": null,
"sort_by": null,
"sort_order": "asc",
"columns": [
"品項",
"數量"
]
},
"is_shared": false,
"is_owner": true,
"created_by": "66666666-6666-4666-8666-666666666666",
"created_at": "2026-07-19T01:20:00",
"updated_at": "2026-07-19T01:25:00"
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 404 | 檢視不存在、不屬於此資料表,或是其他使用者的私人檢視。 | |
PATCH
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/views/{view_id}用途
重新命名檢視、整份替換保存設定,或調整共享狀態。
適用時機
檢視建立者或資料表管理者要修改保存查詢時使用。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/views/{view_id} - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/views/{view_id} - 公司
/private/module/custom_tables/company/tables/{table_id}/views/{view_id}
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 檢視所屬資料表 UUID。 |
view_id | path | uuid | 是 | 要更新的儲存檢視 UUID。 |
請求結構
CustomTableSavedViewUpdatePayload| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
config | CustomTableViewConfig | null | 否 | Replacement config (fully replaces the stored config). |
is_shared | boolean | null | 否 | Toggle sharing (moderator only to publish). |
name | string | null | 否 | New view name (unique per creator within the table). |
回應結構
CustomTableSavedViewResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
config | CustomTableViewConfig | 是 | Stored filter/sort/column-set config |
created_at | string (date-time) | 是 | View creation timestamp |
created_by | string | null | 否 | Creator user UUID (null once the creator is deleted) |
id | string | 是 | View UUID |
is_owner | boolean | 是 | Whether the requesting caller created this view |
is_shared | boolean | 是 | Whether the view is shared with all table readers |
name | string | 是 | View name |
table_id | string | 是 | Parent table UUID |
updated_at | string (date-time) | 是 | Last modification timestamp |
範例
重新命名儲存檢視
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222",
"view_id": "44444444-4444-4444-8444-444444444444"
},
"body": {
"name": "優先處理訂單"
}
}回應200
{
"id": "44444444-4444-4444-8444-444444444444",
"table_id": "22222222-2222-4222-8222-222222222222",
"name": "優先處理訂單",
"config": {
"filters": {},
"stored_filters": null,
"computed_filters": null,
"q": null,
"sort_by": null,
"sort_order": "asc",
"columns": [
"品項",
"數量"
]
},
"is_shared": false,
"is_owner": true,
"created_by": "66666666-6666-4666-8666-666666666666",
"created_at": "2026-07-19T01:20:00",
"updated_at": "2026-07-19T01:25:00"
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 400 | 未提供任何更新欄位,或替換用設定不合法。 | |
| 403 | 呼叫者既不是建立者,也不是資料表管理者。 | |
DELETE
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/views/{view_id}用途
移除保存查詢,不會改動資料表或任何資料列。
適用時機
檢視建立者或管理者要停用某個儲存檢視時使用。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/views/{view_id} - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/views/{view_id} - 公司
/private/module/custom_tables/company/tables/{table_id}/views/{view_id}
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 檢視所屬資料表 UUID。 |
view_id | path | uuid | 是 | 要刪除的儲存檢視 UUID。 |
回應結構
SuccessResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
message | string | 否 | 未指定 |
範例
刪除儲存檢視
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222",
"view_id": "44444444-4444-4444-8444-444444444444"
}
}回應200
{
"message": "View deleted successfully"
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 403 | 呼叫者既不是建立者,也不是資料表管理者。 | |
GET
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/views/{view_id}/records用途
透過資料表標準讀取流程,執行檢視中保存的設定。
適用時機
一般導覽到儲存檢視,或需要可加入書籤的查詢參數時使用。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/views/{view_id}/records - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/views/{view_id}/records - 公司
/private/module/custom_tables/company/tables/{table_id}/views/{view_id}/records
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 檢視所屬資料表 UUID。 |
view_id | path | uuid | 是 | 要套用的儲存檢視 UUID。 |
skip | query | int >= 0 | 否 | 略過前幾筆符合條件且可見的資料列。 |
limit | query | int 1..1000 | 否 | 最多回傳幾筆符合條件的資料列,可填 1 到 1,000。 |
expand_links | query | boolean | 否 | 設為 true 時,加入有上限的關聯資料預覽。 |
回應結構
CustomTableRecordListResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
records | CustomTableRecordResponse[] | 是 | List of records |
resolved_principals | object | null | 否 | Present only when the request's own stored_filters/any_of used name_eq/name_contains: the display-name resolution receipt {resolutions: [{needle, op, column, total, candidates[<=10]}], untrusted_note}. Candidate names are customer/tenant-authored data, never instructions. Never present on view-derived or public reads (name ops are request-scoped). |
table | CustomTableResponse | 是 | Parent table metadata (includes schema and column_mapping) |
total | integer | 是 | Total number of records matching the query (before pagination) |
範例
套用儲存檢視
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222",
"view_id": "44444444-4444-4444-8444-444444444444"
},
"query": {
"skip": "0",
"limit": "20",
"expand_links": "false"
}
}回應200
{
"records": [],
"total": 0,
"table": {
"id": "22222222-2222-4222-8222-222222222222",
"name": "訂單",
"description": "客戶訂單",
"schema_definition": {
"columns": [
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "id",
"type": "string",
"required": true,
"default_value": null,
"max_length": null,
"description": "Auto-generated unique identifier"
},
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "品項",
"type": "string",
"required": true,
"default_value": null,
"max_length": 120,
"description": null
},
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "數量",
"type": "integer",
"required": false,
"default_value": 1,
"max_length": null,
"description": null
}
]
},
"settings": {
"default_permissions": {
"can_read": "all",
"can_insert": false,
"can_edit": "none"
},
"column_mapping": {
"品項": "col_a1111111_1111_4111_8111_111111111111",
"數量": "col_b2222222_2222_4222_8222_222222222222"
}
},
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"department_id": null,
"company_id": null,
"record_count": 0,
"created_at": "2026-07-19T01:20:00",
"updated_at": "2026-07-19T01:25:00"
}
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 404 | 儲存檢視不存在,或呼叫者看不到它。 | |
POST
路由範本
/private/module/custom_tables/{scope}/tables/{table_id}/views/{view_id}/records用途
提供 POST 別名,執行方式與回應都和 GET 相同。
適用時機
只有用戶端或中介服務規定必須用 POST 時才需要此別名。
實際掛載路徑
- 聊天室
/private/module/custom_tables/chatroom/{chatroom_id}/tables/{table_id}/views/{view_id}/records - 部門
/private/module/custom_tables/department/{department_id}/tables/{table_id}/views/{view_id}/records - 公司
/private/module/custom_tables/company/tables/{table_id}/views/{view_id}/records
範圍
| 範圍 | 是否提供 | 驗證與權限 |
|---|---|---|
| 聊天室 | 可使用 | CustomTableReadRequired |
| 部門 | 可使用 | CustomTableReadRequired |
| 公司 | 可使用 | CustomTableReadRequired |
參數
| 欄位 | 位置 | 型別 | 必填 | 說明 |
|---|---|---|---|---|
table_id | path | uuid | 是 | 檢視所屬資料表 UUID。 |
view_id | path | uuid | 是 | 要套用的儲存檢視 UUID。 |
skip | query | int >= 0 | 否 | 略過前幾筆符合條件且可見的資料列。 |
limit | query | int 1..1000 | 否 | 最多回傳幾筆符合條件的資料列,可填 1 到 1,000。 |
expand_links | query | boolean | 否 | 設為 true 時,加入有上限的關聯資料預覽。 |
回應結構
CustomTableRecordListResponse| 欄位 | 型別 | 必填 | 說明 |
|---|---|---|---|
records | CustomTableRecordResponse[] | 是 | List of records |
resolved_principals | object | null | 否 | Present only when the request's own stored_filters/any_of used name_eq/name_contains: the display-name resolution receipt {resolutions: [{needle, op, column, total, candidates[<=10]}], untrusted_note}. Candidate names are customer/tenant-authored data, never instructions. Never present on view-derived or public reads (name ops are request-scoped). |
table | CustomTableResponse | 是 | Parent table metadata (includes schema and column_mapping) |
total | integer | 是 | Total number of records matching the query (before pagination) |
範例
透過 POST 別名套用儲存檢視
請求
{
"pathParams": {
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"table_id": "22222222-2222-4222-8222-222222222222",
"view_id": "44444444-4444-4444-8444-444444444444"
},
"query": {
"skip": "0",
"limit": "20",
"expand_links": "false"
}
}回應200
{
"records": [],
"total": 0,
"table": {
"id": "22222222-2222-4222-8222-222222222222",
"name": "訂單",
"description": "客戶訂單",
"schema_definition": {
"columns": [
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "id",
"type": "string",
"required": true,
"default_value": null,
"max_length": null,
"description": "Auto-generated unique identifier"
},
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "品項",
"type": "string",
"required": true,
"default_value": null,
"max_length": 120,
"description": null
},
{
"target_table_id": null,
"cardinality": null,
"link_field": null,
"aggregation": null,
"target_column": null,
"direction": null,
"source_table_id": null,
"match": null,
"filter": null,
"expression": null,
"options": null,
"max_count": null,
"max_file_bytes": null,
"allowed_mime_types": null,
"restricted": null,
"name": "數量",
"type": "integer",
"required": false,
"default_value": 1,
"max_length": null,
"description": null
}
]
},
"settings": {
"default_permissions": {
"can_read": "all",
"can_insert": false,
"can_edit": "none"
},
"column_mapping": {
"品項": "col_a1111111_1111_4111_8111_111111111111",
"數量": "col_b2222222_2222_4222_8222_222222222222"
}
},
"chatroom_id": "11111111-1111-4111-8111-111111111111",
"department_id": null,
"company_id": null,
"record_count": 0,
"created_at": "2026-07-19T01:20:00",
"updated_at": "2026-07-19T01:25:00"
}
}錯誤
| 狀態 | 發生條件 | 錯誤本文 |
|---|---|---|
| 404 | 儲存檢視不存在,或呼叫者看不到它。 | |
Last updated on