What it does
Diff two versions. added, removed and changed list files; changed text files include a unified diff. pages lists pages whose title or settings (og image, description, ...) changed, with before and after, since those changes leave the files as they were.
Plans
Works on every plan: Free, Basic, Pro and Ultra.
Parameters
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
fromrequired | integer | The older version number. |
torequired | integer | The newer version number. |
Example
Call diff_site_versions with these arguments:
{
"site_id": "01a1…",
"from": 11,
"to": 12
}
Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.
Related guides
- Drafts, versions and rollbackEvery publish is a version you can go back to.
- How publishing and review workDrafts, one-step publishing and Pagehive's review.