Revisions
2 operations, generated from the OpenAPI document.
A record's revision history, newest first (fields the caller can't read left out)
GET /api/tables/{tableId}/records/{recordId}/revisions
Access: record:read on the table (see ACTIONS for the minimum role); personal access tokens need data.records:read.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
cursor | query | string | no |
limit | query | integer | no |
Responses
200Successrevisionsarray of object requiredidstring (uuid) requiredrecordIdstring (uuid) requiredkind"created" | "updated" | "deleted" | "restored" requiredactorIdstring (uuid) | null requiredvia"form" | "automation" | null requiredatstring (date-time) requiredchangesarray of object requiredfieldIdstring (uuid) requiredtypestring requiredbeforeany requiredafterany required
restoredFromstring (uuid) | null required
nextCursorstring | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Restore the record (or one cell) to how it was right after a revision
POST /api/tables/{tableId}/records/{recordId}/revisions/{revisionId}/restore
Access: record:update on the table (see ACTIONS for the minimum role); personal access tokens need data.records:write.
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
recordId | path | string (uuid) | yes |
revisionId | path | string (uuid) | yes |
Request body
fieldIdstring (uuid)clientOpIdstring
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requiredversioninteger requiredfieldsobject requiredcreatedAtstring (date-time) requiredcreatedBystring (uuid) | null requiredupdatedAtstring (date-time) requiredupdatedBystring (uuid) | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)