@bijectionhq/app-rest with a protected data label and the
REST schema discovery and approval workflow.
Build a declaredResourceEndpoint and bind it to receivers.resource using
this selection for mode airtable.table.records.
app… and tbl… IDs. Seal a bearer token or OAuth2
credential scoped to the base with schema.bases:read and data.records:read.
The app discovers the installed table in the base schema. Approve up to
32 exposed names, using id, createdTime or the discovered fld…
IDs. Field IDs survive renames and identify both the requested projection
and the published cell. The row key is always the record’s rec… ID.
Airtable may omit empty values, including false checkboxes, so omitted cells
are absent from the published record. Variable-shape fields use JSON.
The provider response may include cells outside the reviewed projection.
Each metadata or records answer must fit 36 KiB. Record pages accept 1–100
rows and replay only the opaque offset on the installed table. A terminal
page starts a fresh sweep on the next poll. Concurrent edits can affect a
sweep. Missing rows remain published. The app pauses when an automatic
schema review detects a changed discovered field contract.
Airtable base schema ·
Airtable list records
Write records
Follow the native write app guide. BindproviderWriter("airtable.records.create-update-delete", { endpoint: "https://api.airtable.com", auth }, data) and pass it as receivers.writers["airtable.records.create-update-delete"]. Use scope: ["app…", "tbl…"] with the exact base and table IDs and a token with data.records:write for that base. Send one { fields: { … } } object. HTTP 200 retains the returned record ID. A delete requires the same ID and deleted: true.
The writer records its evidence under the app’s data label. Commands take up to 24 KiB of JSON and carry no read cursor.
Provider write API
Upsert by external ID
Use the existing scoped writerreceivers.writers[mode] at the protected data
label with table write access. Submit mode airtable.records.upsert with
{ action: "upsert", field, externalId, payload } under an exact command
key. Use a unique text field for field and a JSON object of field values
for payload. The writer uses performUpsert with that one merge field.
A matching HTTP 200 returns the Airtable record ID in record and
created or updated in detail. The receiver uses once.
Airtable update multiple records API