Skip to main content

RevisionAndHistoryType

No description

type RevisionAndHistoryType {
id: ID!
createdAt: String
creator: UserType
currentDocument: DocumentType
isCurrent: Boolean
revisionDocument: DocumentType
restoredFromRevision: RevisionAndHistoryType
isExternalFile: Boolean
summaryOfChanges: String
summaryOfChangesClean: String
shortSummaryOfChanges: String
changes: [HistoryChangeType]
detailedChanges: [DetailedHistoryChangeType]
isMetaDataChange: Boolean
}

Fields​

RevisionAndHistoryType.id ● ID! non-null scalar​

The ID of an object

RevisionAndHistoryType.createdAt ● String scalar​

RevisionAndHistoryType.creator ● UserType object​

RevisionAndHistoryType.currentDocument ● DocumentType object​

the current version of the document. its good for if you want to compare those two

RevisionAndHistoryType.isCurrent ● Boolean scalar​

RevisionAndHistoryType.revisionDocument ● DocumentType object​

the version of the document at that time it was created

RevisionAndHistoryType.restoredFromRevision ● RevisionAndHistoryType object​

if this version was restored from another version, this field will be set

RevisionAndHistoryType.isExternalFile ● Boolean scalar​

RevisionAndHistoryType.summaryOfChanges ● String scalar​

will be something like "changed description and added label #123456"

RevisionAndHistoryType.summaryOfChangesClean ● String scalar​

RevisionAndHistoryType.shortSummaryOfChanges ● String scalar​

RevisionAndHistoryType.changes ● [HistoryChangeType] list object​

RevisionAndHistoryType.detailedChanges ● [DetailedHistoryChangeType] list object​

detailed changes of the document, which is only currently available for meta changes

RevisionAndHistoryType.isMetaDataChange ● Boolean scalar​

Member of​

DocumentActivityType object ● RevisionAndHistoryType object ● ViewerRevisionConnectionEdge object