@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
22 lines • 1.41 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 = 'Update actor';
const rawOption = {
name: 'Update actor',
value: 'Update actor',
action: 'Update actor',
description: 'Updates settings of an Actor using values specified by an Actor object passed as JSON in the POST payload If the object does not define a specific property its value will not be updated The response is the full Actor object as returned by the Get Actor 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 If you want to make your Actor public using isPublic true you will need to provide the Actor s title and the categories under which that Actor will be classified in Apify Store For this it s best to use the constants from our apify shared js package',
routing: {
request: {
method: 'PUT',
url: '=/v2/acts/{{$parameter["actorId"]}}',
},
},
};
const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties);
exports.properties = properties;
exports.option = option;
//# sourceMappingURL=index.js.map