MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / buildBaseUpdateRecordRequest

Function buildBaseUpdateRecordRequest

scripts/feishu/smoke.ts:1058–1071  ·  view source on GitHub ↗
(input: {
  appToken: string;
  tableId: string;
  recordId: string;
  fields: Record<string, unknown>;
})

Source from the content-addressed store, hash-verified

1056}
1057
1058function buildBaseUpdateRecordRequest(input: {
1059 appToken: string;
1060 tableId: string;
1061 recordId: string;
1062 fields: Record<string, unknown>;
1063}): FeishuApiRequest {
1064 return {
1065 method: "PUT",
1066 path: `/open-apis/bitable/v1/apps/${encodeURIComponent(input.appToken)}/tables/${encodeURIComponent(input.tableId)}/records/${encodeURIComponent(input.recordId)}`,
1067 body: {
1068 fields: input.fields,
1069 },
1070 };
1071}
1072
1073function readSmokeEnv(): SmokeEnv {
1074 return {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected