@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
22 lines • 1.23 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 = 'Get list of tasks';
const rawOption = {
name: 'Get List of Tasks',
value: 'Get list of tasks',
action: 'Get list of tasks',
description: 'Gets the complete list of tasks that a user has created or used The response is a list of objects in which each object contains essential information about a single task The endpoint supports pagination using the limit and offset parameters and it does not return more than a 1000 records By default the records are sorted by the createdAt field in ascending order therefore you can use pagination to incrementally fetch all tasks while new ones are still being created To sort the records in descending order use the desc 1 parameter',
routing: {
request: {
method: 'GET',
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