pagehive

get_site

Get one site and the files in its draft.

SitesRead-onlyAll plans

What it does

Get one site and the files in its draft. current_version_id is the version visitors see. published_at is the first publish time and does not change. last_published_at updates on every publish. The rename object says how many renames are left and what happens to the old address.

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.

Example

Call get_site with these arguments:

{
  "site_id": "01a1…"
}

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

Related guides