pagehive

diff_site_versions

Diff two versions.

Publish and versionsRead-onlyAll plans

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

NameTypeAbout
site_idrequiredstringThe id of the site. list_sites gives the ids of your sites.
fromrequiredintegerThe older version number.
torequiredintegerThe 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