pagehive

get_table

Get one table, including its columns.

TablesRead-onlyAll plansUpdated

What it does

Get one table, including its columns. hash fingerprints the answer; with if_hash set to it, an unchanged table answers only { unchanged: true, hash }.

Plans

Works on every plan: Free, Basic, Pro and Ultra.

Parameters

NameTypeAbout
namerequiredstringThe table's name.
site_idstringOnly for a site shared with you (whoami lists them): read or change that site's data as its member.
if_hashstringThe hash from an earlier answer of this tool with the same arguments. When the content is the same, the answer is only { unchanged: true, hash }.

Example

Call get_table with these arguments:

{
  "name": "recipes"
}

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

Related guides