v1

latestSwagger 2.0Apache 2.02026-07-1725956.5 KB
Data Dictionary

Sync fields with data

Synchronize field definitions with actual data. Removes fields that don't exist in the data and adds new fields found in the data.

post/tables/fields/{dbId}/{tableId}/sync

Path parameters

dbIdstring required

Database ID

tableIdstring required

Table ID

Response

successful operation

statusstring
fields_removedinteger

Number of fields removed (not in data)

fields_addedinteger

Number of new fields added (found in data)

messagestring

Example response

{
  "status": "success",
  "message": "Fields synced: 2 removed, 3 added"
}