UNPKG

@apify/n8n-nodes-apify

Version:
22 lines 1.18 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 = 'Update task input'; const rawOption = { name: 'Update Task Input', value: 'Update task input', action: 'Update task input', description: 'Updates the input of a task using values specified by an object passed as JSON in the PUT payload If the object does not define a specific property its value is not updated The response is the full task input as returned by the Get task input 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: 'PUT', url: '=/v2/actor-tasks/{{$parameter["actorTaskId"]}}/input', }, }, }; const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties); exports.properties = properties; exports.option = option; //# sourceMappingURL=index.js.map