UNPKG

@apify/n8n-nodes-apify

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