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

List the version history of a custom-field section.

GET/api/v1/custom-field-templates/{custom_field_template_id}/version-historyaudits:read
注記

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

The transactions that changed a form or grid section of a custom-field template for one document, folder or owning row, newest first, with the fields that moved: what the History dialog of the section shows. limit is how many of the newest transactions to read (at most 500: 422 out_of_range above it); the Portal's history has no cursor, so next_cursor is always null. Needs View Custom Field Versions and the right to read the owner (403 otherwise). 422 unsupported_for_tenant when the company database keeps no audit trail.

スコープaudits:read
非同期いいえ
MCP ツールlist_custom_field_template_version_history
Portal の権限view_custom_field_versions
ページングkeyset
既定の並び順-occurred_at
並べ替えに使えるフィールドoccurred_at

パラメーター​

名前場所型必須説明
custom_field_template_idpathstring必須
owner_typequerystring必須What owns the section's rows: document, folder, register_row (a row of another register, whose ID is owner_id) or direct_grid_link (a gridlink with no owner; owner_id is then left out).
owner_idquerystring または null任意The owner's ID; required unless owner_type is direct_grid_link.
row_idquerystring または null任意Narrow the history to one row of the section: needed for a direct_grid_link section, whose rows share one owner.
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
404not_foundapplication/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, unsupported_for_tenant, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

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

エラー​

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

スキーマ​

AuditChange​

フィールド型必須説明
fieldstring必須
labelstring必須
newstring または null必須
oldstring または null必須

CustomFieldVersion​

フィールド型必須説明
actor_namestring または null必須Who made the change as the audit trail names them; null when it does not.
actor_sourcestring必須cdc (the change feed), entryperson (the row's own author) or unknown.
occurred_atstring (date-time)必須
rowsCustomFieldVersionRow の配列必須The first rows the transaction touched (a bulk write lists only some); total_rows counts them all.
total_rowsinteger必須≥ -2147483648; ≤ 2147483647
transaction_numberstring必須The number of the transaction that recorded the change; where none is recorded, a number derived from the audit time.

CustomFieldVersionRow​

フィールド型必須説明
changesAuditChange の配列必須The fields that moved, with the section's field labels; inserts and deletes list every field.
operationstring必須insert, update or delete.
row_idstring または null必須The row's own ID in the section's template; null for a form section's single set of values when the audit trail does not name it.
row_labelstring または null必須The row named as the History dialog names it; null when the audit trail gives no name.