Skip to main content

List the document changes since a cursor.

GET/api/v1/documents/changesdocuments:read

Starts with a snapshot of the documents the caller can read, then the changes committed after it: upsert (the document, now readable) and removed (reason deleted or no_longer_visible). next_cursor is never null: an empty page means the caller is caught up. 410 cursor_expired with resync_required means start again without a cursor. since is an inclusive bound on the change sequence and starts the feed at its changes; folder limits the feed to one folder.

Scopedocuments:read
AsynchronousNo
MCP toollist_document_changes
Portal permissionsview_document_metadata
Company capabilitychanges
Pagingchange_feed
Default orderchange_sequence
Sort fieldschange_sequence
Filterssince, since_from, since_to, folder

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
sincequeryarray of integerOptional
since_fromqueryintegerOptional≥ -2147483648; ≤ 2147483647
since_toqueryintegerOptional≥ -2147483648; ≤ 2147483647
folderqueryarray of stringOptional
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
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 object or object or objectRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

AdditionalField​

FieldTypeRequiredDescription
labelstring or nullRequired
valuestring or nullRequired

AdditionalFields​

FieldTypeRequiredDescription
additional_field_3AdditionalFieldRequired
additional_field_4AdditionalFieldRequired
additional_field_5AdditionalFieldRequired
additional_field_6AdditionalFieldRequired

DocumentChangeRemoved​

FieldTypeRequiredDescription
reasonstringRequireddeleted or no_longer_visible (open).

DocumentChangeUpsert​

FieldTypeRequiredDescription
documentDocumentSummaryRequired

DocumentSummary​

FieldTypeRequiredDescription
actual_submission_datestring or nullRequired
additional_fieldsAdditionalFieldsRequired
created_atstring (date-time) or nullRequired
created_byUserRef or nullRequired
descriptionstring or nullRequired
document_datestring or nullRequired
document_idstringRequired
document_numberstring or nullRequired
document_statusobject or nullRequiredThe status shown as Status in the Portal (lookup_actionstatus).
document_sub_typeobject or nullRequired
document_typeobject or nullRequired
duplicate_ofstring or nullRequiredThe number of the document this one duplicates (the Portal's Duplicate Of).
from_contactobject or nullRequired
from_organisationobject or nullRequired
is_latest_revisionbooleanRequired
is_lockedbooleanRequired
is_privilegedbooleanRequired
main_document_datestring or nullRequired
ownerUserRef or nullRequired
page_endnumber or nullRequiredLast page of the range this document covers in its file.
page_startnumber or nullRequiredFirst page of the range this document covers in its file.
post_review_statusobject or nullRequired
projectobject or nullRequiredThe stored project number text, with the project's ID when one matches.
project_organisationobject or nullRequired
reference_numberstring or nullRequired
relevancenumber or nullRequired1 is relevant (the default), 0 is irrelevant (the Portal's Irrelevant switch).
responded_withstring or nullRequiredThe reference of the document that responded to this one (the Portal's Responded With).
response_datestring or nullRequired
response_due_datestring or nullRequired
revision_numberstring or nullRequired
to_contactobject or nullRequired
to_organisationobject or nullRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired