Skip to main content

List the link and unlink history of a gridlink section.

GET/api/v1/custom-field-templates/{custom_field_template_id}/link-historyaudits:read

The transactions that linked or unlinked rows in a gridlink section of a custom-field template for one document or folder, newest first. Same rules as list_custom_field_template_version_history: limit reads the newest transactions (at most 500), next_cursor is always null, View Custom Field Versions is needed.

Scopeaudits:read
AsynchronousNo
MCP toollist_custom_field_template_link_history
Portal permissionsview_custom_field_versions
Pagingkeyset
Default order-occurred_at
Sort fieldsoccurred_at

Parameters​

NameInTypeRequiredDescription
custom_field_template_idpathstringRequired
owner_typequerystringRequiredWhat 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 or nullOptionalThe owner's ID; required unless owner_type is direct_grid_link.
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
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 body​

FieldTypeRequiredDescription
itemsarray of CustomFieldLinkVersionRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

CustomFieldLinkEvent​

FieldTypeRequiredDescription
operationstringRequiredlink or unlink.
row_labelstring or nullRequired

CustomFieldLinkVersion​

FieldTypeRequiredDescription
actor_namestring or nullRequired
actor_sourcestringRequired
eventsarray of CustomFieldLinkEventRequiredThe first events the transaction made; total_events counts them all.
occurred_atstring (date-time)Required
total_eventsintegerRequired≥ -2147483648; ≤ 2147483647
transaction_numberstringRequired