mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(KoBoToolbox Node): Add KoBoToolbox Regular and Trigger Node (#2765)
* First version * Added hooks * Added Credentials test * Add support for downloading attachments * Slight restructure of downloaded binaries * Added Trigger node * Some linting * Reverting package-lock changes * Minor GeoJSON parsing fixes * KoboToolbox: improve GeoJSON format * Kobo: Support for get/set validation status * Remove some logs * [kobo] Fix default attachment options * Proper debug logging * Support for hook log status filter * Kobo: Review fixes * [kobo]: Add Get All Forms + lookup Form ID * [kobo] Lookup Form ID in Trigger node * [kobo] Update branded spelling * [kobo] Support pagination * ⚡ fix linting issue * ⚡ Improvements to #2510 * ⚡ Download files using n8n helper * ⚡ Improvements * ⚡ Improvements * 🐛 Fix filenames * ⚡ Fix some issues Co-authored-by: Yann Jouanique <yann.jouanique@oneacrefund.org> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class KoBoToolboxApi implements ICredentialType {
|
||||
name = 'koBoToolboxApi';
|
||||
displayName = 'KoBoToolbox API Token';
|
||||
// See https://support.kobotoolbox.org/api.html
|
||||
documentationUrl = 'koBoToolbox';
|
||||
properties = [
|
||||
{
|
||||
displayName: 'API root URL',
|
||||
name: 'URL',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: 'https://kf.kobotoolbox.org/',
|
||||
},
|
||||
{
|
||||
displayName: 'API Token',
|
||||
name: 'token',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
hint: 'You can get your API token at https://[api-root]/token/?format=json (for a logged in user)',
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user