@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
167 lines • 5 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.properties = void 0;
exports.properties = [
{
displayName: 'GET /v2/acts/{actorId}/run-sync',
name: 'operation',
type: 'notice',
typeOptions: {
theme: 'info',
},
default: '',
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
{
displayName: 'Actor Id',
name: 'actorId',
required: true,
description: "Actor ID or a tilde-separated owner's username and Actor name",
default: 'janedoe~my-actor',
type: 'string',
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
{
displayName: 'Output Record Key',
name: 'outputRecordKey',
description: "Key of the record from run's default key-value store to be returned in the response. By default, it is `OUTPUT`.",
default: 'OUTPUT',
type: 'string',
routing: {
request: {
qs: {
outputRecordKey: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
{
displayName: 'Timeout',
name: 'timeout',
description: `Optional timeout for the run, in seconds. By default, the run uses a
timeout specified in the default run configuration for the Actor.`,
default: 60,
type: 'number',
routing: {
request: {
qs: {
timeout: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
{
displayName: 'Memory',
name: 'memory',
description: `Memory limit for the run, in megabytes. The amount of memory can be set
to a power of 2 with a minimum of 128. By default, the run uses a memory
limit specified in the default run configuration for the Actor.`,
default: 256,
type: 'number',
routing: {
request: {
qs: {
memory: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
{
displayName: 'Max Items',
name: 'maxItems',
description: `The maximum number of items that the Actor run should return. This is
useful for pay-per-result Actors, as it allows you to limit the number
of results that will be charged to your subscription. You can access the
maximum number of items in your Actor by using the
\`ACTOR_MAX_PAID_DATASET_ITEMS\` environment variable.`,
default: 1000,
type: 'number',
routing: {
request: {
qs: {
maxItems: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
{
displayName: 'Build',
name: 'build',
description: `Specifies the Actor build to run. It can be either a build tag or build
number. By default, the run uses the build specified in the default run
configuration for the Actor (typically \`latest\`).`,
default: '0.1.234',
type: 'string',
routing: {
request: {
qs: {
build: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
{
displayName: 'Webhooks',
name: 'webhooks',
description: `Specifies optional webhooks associated with the actor run, which can be
used to receive a notification e.g. when the actor finished or failed. The value is a Base64-encoded
JSON array of objects defining the webhooks. For more information, see [Webhooks
documentation](https://docs.apify.com/platform/integrations/webhooks).`,
default: 'dGhpcyBpcyBqdXN0IGV4YW1wbGUK...',
type: 'string',
routing: {
request: {
qs: {
webhooks: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actors'],
operation: ['Without input'],
},
},
},
];
//# sourceMappingURL=properties.js.map