@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
22 lines • 1.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.properties = exports.option = exports.name = void 0;
const properties_1 = require("./properties");
const hooks_1 = require("./hooks");
exports.name = 'Create task';
const rawOption = {
name: 'Create Task',
value: 'Create task',
action: 'Create task',
description: 'Create a new task with settings specified by the object passed as JSON in the POST payload The response is the full task object as returned by the Get task endpoint The request needs to specify the Content Type application JSON HTTP header When providing your API authentication token we recommend using the request s Authorization header rather than the URL More info',
routing: {
request: {
method: 'POST',
url: '=/v2/actor-tasks',
},
},
};
const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties);
exports.properties = properties;
exports.option = option;
//# sourceMappingURL=index.js.map