New table api field types

when making a new table, how do i put what type of field should it be in,

[
[ “prompt”, “image”]
]

this makes the default fields

[
[ “prompt” type: “integer”, “image”]
]
if i try something like this it doesnt work. how do i do it? is there a list of all field types in the docs? and id like to have the options for those fields filled as well ie a yes/no field

Hi @lanvinpierre,

If I understand you correctly, when you want to create a data synced table (as opposed to a standard table), the synced_properties you set need to come from the get_database_data_sync_properties endpoint.

In your case you would POST to the endpoint with:

{
    "type": "local_baserow_table",
    "source_table_id": 123
}

And in the response, the key are the values to pass in your synced_properties array.

Cheers,
Peter Evans