UNPKG

@apify/n8n-nodes-apify

Version:
22 lines 1.27 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 = 'Create actor'; const rawOption = { name: 'Create actor', value: 'Create actor', action: 'Create actor', description: 'Creates a new Actor with settings specified in an Actor object passed as JSON in the POST payload The response is the full Actor object as returned by the Get Actor endpoint The HTTP request must have the Content Type application JSON HTTP header The Actor needs to define at least one version of the source code For more information see Version object 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: 'POST', url: '=/v2/acts', }, }, }; const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties); exports.properties = properties; exports.option = option; //# sourceMappingURL=index.js.map