@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
167 lines • 5.07 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.properties = void 0;
exports.properties = [
{
displayName: 'POST /v2/actor-tasks/{actorTaskId}/run-sync',
name: 'operation',
type: 'notice',
typeOptions: {
theme: 'info',
},
default: '',
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
{
displayName: 'Actor Task Id',
name: 'actorTaskId',
required: true,
description: "Task ID or a tilde-separated owner's username and task's name",
default: 'janedoe~my-task',
type: 'string',
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
{
displayName: 'Timeout',
name: 'timeout',
description: `Optional timeout for the run, in seconds. By default, the run uses a
timeout specified in the task settings.`,
default: 60,
type: 'number',
routing: {
request: {
qs: {
timeout: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
{
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 task settings.`,
default: 256,
type: 'number',
routing: {
request: {
qs: {
memory: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
{
displayName: 'Max Items',
name: 'maxItems',
description: `The maximum number of items that the task run should return. This is
useful for pay-per-result tasks, 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: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
{
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 task
settings (typically \`latest\`).`,
default: '',
type: 'string',
routing: {
request: {
qs: {
build: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
{
displayName: 'Output Record Key',
name: 'outputRecordKey',
description: "Key of the record from run's default key-value store to be returned\nin the response. By default, it is `OUTPUT`.",
default: 'OUTPUT',
type: 'string',
routing: {
request: {
qs: {
outputRecordKey: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
{
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: '',
type: 'string',
routing: {
request: {
qs: {
webhooks: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Run task synchronously (POST)'],
},
},
},
];
//# sourceMappingURL=properties.js.map