pagehive

list_site_versions

List site versions, newest first.

Publish and versionsRead-onlyAll plans

What it does

List site versions, newest first. limit defaults to 200 and cannot exceed 200. before, a version number, reads the next older page. next_before is set when another page remains.

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.
limitintegerHow many versions to return. Default and maximum 200.
beforeintegerA version number. Returns older versions than that one, to page back.
cursorstringnext_cursor from the previous page of this tool, to read the next page. Send the other arguments as on the first call; leave out the paging arguments the cursor replaces.

Example

Call list_site_versions with these arguments:

{
  "site_id": "01a1…",
  "limit": 10
}

Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.

Related guides