Fusion API v3
Fusion API v3 officially launched internal testing, equipped with a new data engine
After half a year of development and optimization, Fusion API v3 equipped with a new data engine has entered the internal testing stage. This newly upgraded API will provide better performance and a more efficient user experience. In order to ensure the quality of the new engine, we will adopt a progressive upgrade strategy to verify its stability and reliability. We sincerely invite customers who are using Fusion API to participate in internal testing.
Usage
Curl
#Currently only supports get records interfaces
curl --location 'https://aitable.ai/fusion/v3/datasheets/{dstId}/records?fieldKey=name' \
--header 'Authorization: Bearer {token}'
Javascript SDK
Install beta
version dependencies:
npm i [email protected]
You only need to add isV3
support when the SDK calls the API to enable the v3 version of the SDK:
import { APITable } from "apitable";
const token = 'xxxx';
const datasheetId = 'dstXXXX';
const apitable = new APITable({
token
});
const datasheet = apitable.datasheet(datasheetId);
// Add the isV3 parameter to call the v3 version of the Fusion API. Currently, only the get records interface is supported.
const records = await datasheet.records.query({ isV3: true });
Python SDK
Install beta
version dependencies:
pip install apitable==2.0.0b4
You only need to add isV3
support when the SDK calls the API to enable the v3 version of the SDK:
from apitable import Apitable
token = 'xxxx'
datasheetId = 'dstXXXX'
apitable = Apitable(token)
dst = apitable.datasheet(datasheetId)
# Add the isV3 parameter to call the v3 version of the Fusion API. Currently, only the get records interface is supported.
parameter = { "isV3": True }
records = self.dst.records.all(**parameter)