List the rows of a register.
GET/api/v1/custom-field-templates/{custom_field_template_id}/rowsregisters:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Lists the rows a caller may read: a document's rows the document's ACL admits and register rows the row grants admit. owner_type (document, register), owner_id, linked_document_id (403 for a document the caller may not read) and import_batch_id narrow the list.
| スコープ | registers:read |
| 非同期 | いいえ |
| MCP ツール | list_custom_field_template_rows |
| ページング | keyset |
| 既定の並び順 | row_id |
| 並べ替えに使えるフィールド | row_id |
| フィルター | owner_type, owner_id, linked_document_id, import_batch_id |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
custom_field_template_id | path | string | 必須 | |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
owner_type | query | string の配列 | 任意 | |
owner_id | query | string の配列 | 任意 | |
linked_document_id | query | string の配列 | 任意 | |
import_batch_id | query | string の配列 | 任意 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | Row の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
Row
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
can_edit | boolean | 必須 | The caller may change, delete, link and unlink the row: the predicate the write routes enforce (an edit grant, or an unsecured register, and the row is not locked). |
custom_field_template_id | string | 必須 | |
import_batch_id | string または null | 必須 | The import batch that staged the row, if any. |
is_locked | boolean | 必須 | A lock freezes the row for everyone: no one can change it (a locked row is never editable). |
linked_document_count | integer | 必須 | How many documents linked to the row you can read (the Portal's Linked Docs column); 0 for a Grid template's row, which sits on a document. ≥ -2147483648; ≤ 2147483647 |
owner | object または object または object または object または null | 必須 | The document the row sits on; null for a register row, or for a document row stored without a document. |
projects | RowProject の配列 | 必須 | The projects the row is granted to (GridLink registers): everyone who can read a project reads the row, read only, and the row is project-scoped. A project the caller cannot read is listed as hidden. Empty for a shared row. |
row_id | string | 必須 | |
updated_at | string (date-time) または null | 必須 | When the row was last written. |
updated_by | UserRef または null | 必須 | |
values | object | 必須 | The values keyed by field name, in the v1 read types. |
values_raw | object | 必須 | The Notepad fields' documents, keyed by field name. |
RowProject
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
is_hidden | boolean | 必須 | The row is granted to a project the caller cannot read: it is not named. |
project_id | string または null | 必須 | Null when the caller cannot read the project (is_hidden). |
project_name | string または null | 必須 |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |