UNPKG

@apify/n8n-nodes-apify

Version:
22 lines 1.51 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 = 'With input'; const rawOption = { name: 'With Input', value: 'With input', action: 'With input', description: 'Runs a specific Actor and returns its output The POST payload including its Content Type header is passed as INPUT to the Actor usually application JSON The HTTP response contains Actors OUTPUT record from its default key value store The Actor is started with the default options you can override them using various URL query parameters If the Actor run exceeds 300 seconds the HTTP response will have status 408 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', }, }, }; const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties); exports.properties = properties; exports.option = option; //# sourceMappingURL=index.js.map