Function
buildBaseUpdateRecordRequest
(input: {
appToken: string;
tableId: string;
recordId: string;
fields: Record<string, unknown>;
})
Source from the content-addressed store, hash-verified
| 1056 | } |
| 1057 | |
| 1058 | function 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 | |
| 1073 | function readSmokeEnv(): SmokeEnv { |
| 1074 | return { |
Tested by
no test coverage detected