n8n-nodes-mallabe-websites
Version:
n8n community node that allows the to get website status, thumbnail and icon using Mallabe Websites
65 lines • 1.93 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkWebsiteStatusFields = void 0;
exports.checkWebsiteStatusFields = [
{
displayName: 'Website URL',
name: 'website',
type: 'string',
default: '',
displayOptions: {
show: {
operation: ['checkWebsiteStatus'],
resource: ['website'],
},
},
required: true,
description: 'The full URL of the website to check (e.g., https://www.google.com)',
},
{
displayName: 'HTTP Request Method',
name: 'method',
type: 'options',
displayOptions: {
show: {
operation: ['checkWebsiteStatus'],
resource: ['website'],
},
},
options: [
{ name: 'GET', value: 'get' },
{ name: 'POST', value: 'post' },
{ name: 'PUT', value: 'put' },
{ name: 'DELETE', value: 'delete' },
],
default: 'get',
description: 'HTTP method to use. Leave as GET if unsure.',
},
{
displayName: 'Timeout (Ms)',
name: 'timeout',
type: 'number',
displayOptions: {
show: {
operation: ['checkWebsiteStatus'],
resource: ['website'],
},
},
default: 10000,
description: 'Timeout in milliseconds. Default is 10000 (10 seconds). Max is 15000.',
},
{
displayName: 'Webhook URL (Optional)',
name: 'webhookUrl',
type: 'string',
default: '',
displayOptions: {
show: {
operation: ['checkWebsiteStatus'],
resource: ['website'],
},
},
description: 'Optional webhook URL to send the response data',
}
];
//# sourceMappingURL=CheckWebsiteStatusOperation.js.map