@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
120 lines • 3.27 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.properties = void 0;
exports.properties = [
{
displayName: 'GET /v2/actor-tasks/{actorTaskId}/runs',
name: 'operation',
type: 'notice',
typeOptions: {
theme: 'info',
},
default: '',
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Get list of task runs'],
},
},
},
{
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: ['Get list of task runs'],
},
},
},
{
displayName: 'Offset',
name: 'offset',
description: 'Number of array elements that should be skipped at the start. The default value is `0`.',
default: 0,
type: 'number',
routing: {
request: {
qs: {
offset: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Get list of task runs'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
description: 'Max number of results to return',
default: 50,
type: 'number',
typeOptions: {
minValue: 1,
},
routing: {
request: {
qs: {
limit: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Get list of task runs'],
},
},
},
{
displayName: 'Desc',
name: 'desc',
description: `If \`true\` or \`1\` then the objects are sorted by the \`startedAt\` field in
descending order. By default, they are sorted in ascending order.`,
default: true,
type: 'boolean',
routing: {
request: {
qs: {
desc: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Get list of task runs'],
},
},
},
{
displayName: 'Status',
name: 'status',
description: `Return only runs with the provided status ([available
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle))`,
default: 'SUCCEEDED',
type: 'string',
routing: {
request: {
qs: {
status: '={{ $value }}',
},
},
},
displayOptions: {
show: {
resource: ['Actor tasks'],
operation: ['Get list of task runs'],
},
},
},
];
//# sourceMappingURL=properties.js.map