UNPKG

@apify/n8n-nodes-apify

Version:
22 lines 1.55 kB
"use strict"; 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 = 'Run actor synchronously without input and get dataset items'; const rawOption = { name: 'Run Actor Synchronously without Input and Get Dataset Items', value: 'Run actor synchronously without input and get dataset items', action: 'Run actor synchronously without input and get dataset items', description: 'Runs a specific actor and returns its dataset items The run must finish in 300 seconds otherwise the API endpoint returns a timeout error The actor is not passed any input It allows to send all possible options in parameters from Get Dataset Items API endpoint Beware that it might be impossible to maintain an idle HTTP connection for a long period of time due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status To run the Actor asynchronously use the Run Actor API endpoint instead', routing: { request: { method: 'GET', url: '=/v2/acts/{{$parameter["actorId"]}}/run-sync-get-dataset-items', }, }, }; const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties); exports.properties = properties; exports.option = option; //# sourceMappingURL=index.js.map