n8n-nodes-aitable-unofficial
Version:
n8n community node for integration with AITable
40 lines • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AitableApi = void 0;
class AitableApi {
constructor() {
this.name = 'aitableApi';
this.displayName = 'Aitable API';
this.documentationUrl = 'https://developers.aitable.ai/api/reference/';
this.properties = [
{
displayName: 'API Token',
name: 'apiToken',
type: 'string',
typeOptions: {
password: true,
},
default: '',
description: 'API Token for Aitable authentication. You can get your API Token from your Aitable account.',
required: true,
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '={{ "Bearer " + $credentials.apiToken }}',
},
},
};
this.test = {
request: {
baseURL: 'https://aitable.ai',
url: '/fusion/v1/spaces',
method: 'GET',
},
};
}
}
exports.AitableApi = AitableApi;
//# sourceMappingURL=AitableApi.credentials.js.map