List a page’s history
list_page_historyRetrieves page version history, newest first, with who changed what and when, plus version IDs for comparing or restoring specific revisions.
Instructions
Lists the stored versions of a page, newest first, with who changed what and when. This is the one Wiki.js query that really paginates. The version ids here are what get_page_version, diff_page_versions and restore_page_version take.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page of results (default 0). | |
| path | No | Page path without a leading slash and without the locale prefix, e.g. "docs/setup". A browser URL looks like /en/docs/setup — drop the "en/", it is the locale argument. (Not enforced: "ci/", "db/" and "qa/" are perfectly good first segments that happen to look like locale codes.) | |
| locale | No | Locale code. Defaults to WIKIJS_LOCALE. The locale is part of a page’s identity. | |
| page_id | No | Numeric Wiki.js id. | |
| page_size | No | Entries per page (default 50). |