WikiHistorySnapshot
WikiHistorySnapshot.RdA WikiHistorySnapshot contains basic information about an update to a WikiPage.
Methods
WikiHistorySnapshot(version=NULL, modified_on=NULL, modified_by=NULL): Constructor forWikiHistorySnapshot
Examples
if (FALSE) { # \dontrun{
## Get the history of a wiki page
library(synapser)
synLogin()
project = Project(name = "My uniquely named project about Alzheimer's Disease") |> synGet()
wiki_page_id = "123456" # Replace with the ID of a wiki page in the project
for (history in as.list(WikiHistorySnapshot() |> synGet(owner_id = project$id, id = wiki_page_id))) {
print(history)
}
} # }