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
| Name | Type | About |
|---|---|---|
site_idrequired | string | The 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
- Your first siteFrom an empty Hive to a live page in four steps.
- Make a site private or publicWho can open your site, and how to change it.