list Revisions
fun listRevisions(document: Document, pageSize: Int = 10, offset: Int = 0, isForward: Boolean = false): Deferred<List<RevisionSummary>>
Lists revisions for the given document. The document must be attached.
Parameters
page Size
maximum number of revisions to return (default 10).
offset
number of revisions to skip for pagination (default 0).
is Forward
when true, returns oldest-first; false (default) returns newest-first.