@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
22 lines • 1.85 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 = 'Run actor synchronously with input and get dataset items';
const rawOption = {
name: 'Run Actor Synchronously with Input and Get Dataset Items',
value: 'Run actor synchronously with input and get dataset items',
action: 'Run actor synchronously with input and get dataset items',
description: 'Runs a specific Actor and returns its dataset items The POST payload including its Content Type header is passed as INPUT to the Actor usually application JSON The HTTP response contains the Actors dataset items while the format of items depends on specifying dataset items format parameter You can send all the same options in parameters as the Get Dataset Items API endpoint The Actor is started with the default options you can override them using URL query parameters If the Actor run exceeds 300 seconds the HTTP response will return the 408 status code Request Timeout 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: 'POST',
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