Tables

Tables live inside spaces and hold your records. Each table has a schema of typed fields (text, number, date, select, lookup, user, etc.).

List tables in a space

GET /api/space/<space_id>/tables/list

Request

curl https://infolobby.com/api/space/42/tables/list \
  -H "Authorization: Bearer il_live_..."

Response

[
  {
    "id": 101,
    "name": "Contacts",
    "space_id": 42
  },
  {
    "id": 102,
    "name": "Deals",
    "space_id": 42
  }
]

Get a table's schema

GET /api/table/<table_id>/get

Returns the table metadata and its field definitions.

Example

curl https://infolobby.com/api/table/101/get \
  -H "Authorization: Bearer il_live_..."

Response

{
  "id": 101,
  "name": "Contacts",
  "space_id": 42,
  "fields": [
    {"id": "item_id", "name": "ID", "type": "number", "key": "true"},
    {"id": "name", "name": "Name", "type": "text"},
    {"id": "email", "name": "Email", "type": "text"},
    {"id": "status", "name": "Status", "type": "select", "options": ["New","Active","Archived"]}
  ]
}