@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
953 lines • 225 kB
JSON
[
{
"displayName": "Resource",
"name": "resource",
"type": "options",
"noDataExpression": true,
"options": [
{
"name": "Actors",
"value": "Actors",
"description": ""
},
{
"name": "Actor tasks",
"value": "Actor tasks",
"description": ""
},
{
"name": "Actor runs",
"value": "Actor runs",
"description": ""
},
{
"name": "Datasets",
"value": "Datasets",
"description": ""
}
],
"default": ""
},
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": ["Actors"]
}
},
"options": [
{
"name": "Get list of actors",
"value": "Get list of actors",
"action": "Get list of actors",
"description": "Gets the list of all Actors that the user created or used The response is a list of objects where each object contains a basic information about a single Actor To only get Actors created by the user add the my 1 query parameter The endpoint supports pagination using the limit and offset parameters and it will not return more than 1000 records By default the records are sorted by the createdAt field in ascending order therefore you can use pagination to incrementally fetch all Actors while new ones are still being created To sort the records in descending order use the desc 1 parameter",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/acts"
}
}
},
{
"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"
}
}
},
{
"name": "Get actor",
"value": "Get actor",
"action": "Get actor",
"description": "Gets an object that contains all the details about a specific Actor",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}"
}
}
},
{
"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\"]}}"
}
}
},
{
"name": "Delete actor",
"value": "Delete actor",
"action": "Delete actor",
"description": "Deletes an Actor",
"routing": {
"request": {
"method": "DELETE",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}"
}
}
},
{
"name": "Get list of runs",
"value": "Get list of runs",
"action": "Get list of runs",
"description": "Gets the list of runs of a specific actor The response is a list of objects where each object contains basic information about a single actor run The endpoint supports pagination using the limit and offset parameters and it will not return more than 1000 array elements By default the records are sorted by the startedAt field in ascending order therefore you can use pagination to incrementally fetch all records while new ones are still being created To sort the records in descending order use desc 1 parameter You can also filter runs by status available statuses",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}/runs"
}
}
},
{
"name": "Run actor",
"value": "Run actor",
"action": "Run actor",
"description": "Runs an Actor and immediately returns without waiting for the run to finish The POST payload including its Content Type header is passed as INPUT to the Actor usually application json The Actor is started with the default options you can override them using various URL query parameters The response is the Run object as returned by the Get run API endpoint If you want to wait for the run to finish and receive the actual output of the Actor as the response please use one of the Run Actor synchronously API endpoints instead To fetch the Actor run results that are typically stored in the default dataset you ll need to pass the ID received in the defaultDatasetId field received in the response JSON to the Get items API endpoint",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}/runs"
}
}
},
{
"name": "With input",
"value": "With input",
"action": "With input",
"description": "Runs a specific Actor and returns its output The POST payload including its Content Type header is passed as INPUT to the Actor usually application json The HTTP response contains Actors OUTPUT record from its default key value store The Actor is started with the default options you can override them using various URL query parameters If the Actor run exceeds 300 seconds the HTTP response will have status 408 Request Timeout Beware that it might be impossible to maintain an idle HTTP connection for a long period of time due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status To run the Actor asynchronously use the Run Actor API endpoint instead",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}/run-sync"
}
}
},
{
"name": "Without input",
"value": "Without input",
"action": "Without input",
"description": "Runs a specific Actor and returns its output The run must finish in 300 seconds otherwise the API endpoint returns a timeout error The Actor is not passed any input Beware that it might be impossible to maintain an idle HTTP connection for a long period of time due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status To run the Actor asynchronously use the Run Actor API endpoint instead",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}/run-sync"
}
}
},
{
"name": "Run actor synchronously with input and get dataset items",
"value": "Run actor synchronously with input and get dataset items",
"action": "Run actor synchronously with input and get dataset items",
"description": "Runs a specific Actor and returns its dataset items The POST payload including its Content Type header is passed as INPUT to the Actor usually application json The HTTP response contains the Actors dataset items while the format of items depends on specifying dataset items format parameter You can send all the same options in parameters as the Get Dataset Items API endpoint The Actor is started with the default options you can override them using URL query parameters If the Actor run exceeds 300 seconds the HTTP response will return the 408 status code Request Timeout Beware that it might be impossible to maintain an idle HTTP connection for a long period of time due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status To run the Actor asynchronously use the Run Actor API endpoint instead",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}/run-sync-get-dataset-items"
}
}
},
{
"name": "Run actor synchronously without input and get dataset items",
"value": "Run actor synchronously without input and get dataset items",
"action": "Run actor synchronously without input and get dataset items",
"description": "Runs a specific actor and returns its dataset items The run must finish in 300 seconds otherwise the API endpoint returns a timeout error The actor is not passed any input It allows to send all possible options in parameters from Get Dataset Items API endpoint Beware that it might be impossible to maintain an idle HTTP connection for a long period of time due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status To run the Actor asynchronously use the Run Actor API endpoint instead",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}/run-sync-get-dataset-items"
}
}
},
{
"name": "Get last run",
"value": "Get last run",
"action": "Get last run",
"description": "This is not a single endpoint but an entire group of endpoints that lets you to retrieve and manage the last run of given Actor or any of its default storages",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/acts/{{$parameter[\"actorId\"]}}/runs/last"
}
}
}
],
"default": ""
},
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": ["Actor tasks"]
}
},
"options": [
{
"name": "Get list of tasks",
"value": "Get list of tasks",
"action": "Get list of tasks",
"description": "Gets the complete list of tasks that a user has created or used The response is a list of objects in which each object contains essential information about a single task The endpoint supports pagination using the limit and offset parameters and it does not return more than a 1000 records By default the records are sorted by the createdAt field in ascending order therefore you can use pagination to incrementally fetch all tasks while new ones are still being created To sort the records in descending order use the desc 1 parameter",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-tasks"
}
}
},
{
"name": "Create task",
"value": "Create task",
"action": "Create task",
"description": "Create a new task with settings specified by the object passed as JSON in the POST payload The response is the full task object as returned by the Get task 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",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/actor-tasks"
}
}
},
{
"name": "Get task",
"value": "Get task",
"action": "Get task",
"description": "Get an object that contains all the details about a task",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}"
}
}
},
{
"name": "Update task",
"value": "Update task",
"action": "Update task",
"description": "Update settings of a task using values specified by an object passed as JSON in the POST payload If the object does not define a specific property its value is not updated The response is the full task object as returned by the Get task 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",
"routing": {
"request": {
"method": "PUT",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}"
}
}
},
{
"name": "Delete task",
"value": "Delete task",
"action": "Delete task",
"description": "Delete the task specified through the actorTaskId parameter",
"routing": {
"request": {
"method": "DELETE",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}"
}
}
},
{
"name": "Get task input",
"value": "Get task input",
"action": "Get task input",
"description": "Returns the input of a given task",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/input"
}
}
},
{
"name": "Update task input",
"value": "Update task input",
"action": "Update task input",
"description": "Updates the input of a task using values specified by an object passed as JSON in the PUT payload If the object does not define a specific property its value is not updated The response is the full task input as returned by the Get task input 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",
"routing": {
"request": {
"method": "PUT",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/input"
}
}
},
{
"name": "Get list of task runs",
"value": "Get list of task runs",
"action": "Get list of task runs",
"description": "Get a list of runs of a specific task The response is a list of objects where each object contains essential information about a single task run The endpoint supports pagination using the limit and offset parameters and it does not return more than a 1000 array elements By default the records are sorted by the startedAt field in ascending order therefore you can use pagination to incrementally fetch all records while new ones are still being created To sort the records in descending order use the desc 1 parameter You can also filter runs by status available statuses",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/runs"
}
}
},
{
"name": "Run task",
"value": "Run task",
"action": "Run task",
"description": "Runs an actor task and immediately returns without waiting for the run to finish Optionally you can override the actor input configuration by passing a JSON object as the POST payload and setting the Content Type application json HTTP header Note that if the object in the POST payload does not define a particular input property the actor run uses the default value defined by the task or actor s input schema if not defined by the task The response is the actor Run object as returned by the Get run endpoint If you want to wait for the run to finish and receive the actual output of the actor run as the response use one of the Run task synchronously API endpoints instead To fetch the actor run results that are typically stored in the default dataset you ll need to pass the ID received in the defaultDatasetId field received in the response JSON to the Get items API endpoint",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/runs"
}
}
},
{
"name": "Run task synchronously (POST)",
"value": "Run task synchronously (POST)",
"action": "Run task synchronously (POST)",
"description": "Runs an actor task and synchronously returns its output The run must finish in 300 seconds otherwise the HTTP request fails with a timeout error this won t abort the run itself Optionally you can override the actor input configuration by passing a JSON object as the POST payload and setting the Content Type application json HTTP header Note that if the object in the POST payload does not define a particular input property the actor run uses the default value defined by the task or actor s input schema if not defined by the task Beware that it might be impossible to maintain an idle HTTP connection for an extended period due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status Input fields from actor task configuration can be overloaded with values passed as the POST payload Just make sure to specify Content Type header to be application json and input to be an object To run the task asynchronously use the Run task API endpoint instead",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/run-sync"
}
}
},
{
"name": "Run task synchronously (GET)",
"value": "Run task synchronously (GET)",
"action": "Run task synchronously (GET)",
"description": "Run a specific task and return its output The run must finish in 300 seconds otherwise the HTTP request fails with a timeout error this won t abort the run itself Beware that it might be impossible to maintain an idle HTTP connection for an extended period due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status To run the Task asynchronously use the Run task asynchronously endpoint instead",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/run-sync"
}
}
},
{
"name": "Run task synchronously and get dataset items (POST)",
"value": "Run task synchronously and get dataset items (POST)",
"action": "Run task synchronously and get dataset items (POST)",
"description": "Runs an actor task and synchronously returns its dataset items The run must finish in 300 seconds otherwise the HTTP request fails with a timeout error this won t abort the run itself Optionally you can override the actor input configuration by passing a JSON object as the POST payload and setting the Content Type application json HTTP header Note that if the object in the POST payload does not define a particular input property the actor run uses the default value defined by the task or the actor s input schema if not defined by the task You can send all the same options in parameters as the Get Dataset Items API endpoint Beware that it might be impossible to maintain an idle HTTP connection for an extended period due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status Input fields from actor task configuration can be overloaded with values passed as the POST payload Just make sure to specify the Content Type header as application json and that the input is an object To run the task asynchronously use the Run task API endpoint instead",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/run-sync-get-dataset-items"
}
}
},
{
"name": "Run task synchronously and get dataset items (GET)",
"value": "Run task synchronously and get dataset items (GET)",
"action": "Run task synchronously and get dataset items (GET)",
"description": "Run a specific task and return its dataset items The run must finish in 300 seconds otherwise the HTTP request fails with a timeout error this won t abort the run itself You can send all the same options in parameters as the Get Dataset Items API endpoint Beware that it might be impossible to maintain an idle HTTP connection for an extended period due to client timeout or network conditions Make sure your HTTP client is configured to have a long enough connection timeout If the connection breaks you will not receive any information about the run and its status To run the Task asynchronously use the Run task asynchronously endpoint instead",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-tasks/{{$parameter[\"actorTaskId\"]}}/run-sync-get-dataset-items"
}
}
}
],
"default": ""
},
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": ["Actor runs"]
}
},
"options": [
{
"name": "Get user runs list",
"value": "Get user runs list",
"action": "Get user runs list",
"description": "Gets a list of all runs for a user The response is a list of objects where each object contains basic information about a single actor run The endpoint supports pagination using the limit and offset parameters and it will not return more than 1000 array elements By default the records are sorted by the startedAt field in ascending order Therefore you can use pagination to incrementally fetch all records while new ones are still being created To sort the records in descending order use desc 1 parameter You can also filter runs by status available statuses",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-runs"
}
}
},
{
"name": "Get run",
"value": "Get run",
"action": "Get run",
"description": "This is not a single endpoint but an entire group of endpoints that lets you retrieve the run or any of its default storages The endpoints accept the same HTTP methods and query parameters as the respective storage endpoints",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/actor-runs/{{$parameter[\"runId\"]}}"
}
}
}
],
"default": ""
},
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": ["Datasets"]
}
},
"options": [
{
"name": "Get list of datasets",
"value": "Get list of datasets",
"action": "Get list of datasets",
"description": "Lists all of a user s datasets The response is a JSON array of objects where each object contains basic information about one dataset By default the objects are sorted by the createdAt field in ascending order therefore you can use pagination to incrementally fetch all datasets while new ones are still being created To sort them in descending order use desc 1 parameter The endpoint supports pagination using limit and offset parameters and it will not return more than 1000 array elements",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/datasets"
}
}
},
{
"name": "Create dataset",
"value": "Create dataset",
"action": "Create dataset",
"description": "Creates a dataset and returns its object Keep in mind that data stored under unnamed dataset follows data retention period It creates a dataset with the given name if the parameter name is used If a dataset with the given name already exists then returns its object",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/datasets"
}
}
},
{
"name": "Get dataset",
"value": "Get dataset",
"action": "Get dataset",
"description": "Returns dataset object for given dataset ID NOTE Keep in mind that attributes itemCount and cleanItemCount are not propagated right away after data are pushed into a dataset There is a short period up to 5 seconds during which these counters may not match with exact counts in dataset items",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/datasets/{{$parameter[\"datasetId\"]}}"
}
}
},
{
"name": "Update dataset",
"value": "Update dataset",
"action": "Update dataset",
"description": "Updates a dataset s name using a value specified by a JSON object passed in the PUT payload The response is the updated dataset object as returned by the Get dataset API endpoint",
"routing": {
"request": {
"method": "PUT",
"url": "=/v2/datasets/{{$parameter[\"datasetId\"]}}"
}
}
},
{
"name": "Delete dataset",
"value": "Delete dataset",
"action": "Delete dataset",
"description": "Deletes a specific dataset",
"routing": {
"request": {
"method": "DELETE",
"url": "=/v2/datasets/{{$parameter[\"datasetId\"]}}"
},
"output": {
"postReceive": [
{
"type": "setKeyValue",
"properties": {
"data": "={{$response.body}}"
}
}
]
}
}
},
{
"name": "Get items",
"value": "Get items",
"action": "Get items",
"description": "Returns data stored in the dataset in a desired format Response format The format of the response depends on format query parameter The format parameter can have one of the following values json jsonl xml html csv xlsx and rss The following table describes how each format is treated Note that CSV XLSX and HTML tables are limited to 500 columns and the column names cannot be longer than 200 characters JSON XML and RSS formats do not have such restrictions Hidden fields The top level fields starting with the character are considered hidden These are useful to store debugging information and can be omitted from the output by providing the skipHidden 1 or clean 1 query parameters For example if you store the following object to the dataset productName iPhone Xs description Welcome to the big screens debug url https www apple com lae iphone xs crawledAt 2019 01 21T16 06 03 683Z The debug field will be considered as hidden and can be omitted from the results This is useful to provide nice cleaned data to end users while keeping debugging info available if needed The Dataset object returned by the API contains the number of such clean items in thedataset cleanItemCount property XML format extension When exporting results to XML or RSS formats the names of object properties become XML tags and the corresponding values become tag s children For example the following JavaScript object name Paul Newman address type home street 21st city Chicago type office street null city null will be transformed to the following XML snippet name Paul Newman name address type home type street 21st street city Chicago city address address type office type street city address If the JavaScript object contains a property named then its sub properties are exported as attributes of the parent XML element If the parent XML element does not have any child elements then its value is taken from a JavaScript object property named For example the following JavaScript object address type home street 21st city Chicago type office unknown will be transformed to the following XML snippet address type home street 21st street city Chicago city address address type office unknown address This feature is also useful to customize your RSS feeds generated for various websites By default the whole result is wrapped in a items element and each page object is wrapped in a item element You can change this using xmlRoot and xmlRow url parameters Pagination The generated response supports pagination The pagination is always performed with the granularity of a single item regardless whether unwind parameter was provided By default the Items in the response are sorted by the time they were stored to the database therefore you can use pagination to incrementally fetch the items as they are being added The maximum number of items that will be returned in a single API call is limited to 250 000 If you specify desc 1 query parameter the results are returned in the reverse order than they were stored i e from newest to oldest items Note that only the order of Items is reversed but not the order of the unwind array elements",
"routing": {
"request": {
"method": "GET",
"url": "=/v2/datasets/{{$parameter[\"datasetId\"]}}/items"
},
"output": {
"postReceive": [
{
"type": "setKeyValue",
"properties": {
"data": "={{$response.body}}"
}
}
]
}
}
},
{
"name": "Put items",
"value": "Put items",
"action": "Put items",
"description": "Appends an item or an array of items to the end of the dataset The POST payload is a JSON object or a JSON array of objects to save into the dataset IMPORTANT The limit of request payload size for the dataset is 5 MB If the array exceeds the size you ll need to split it into a number of smaller arrays",
"routing": {
"request": {
"method": "POST",
"url": "=/v2/datasets/{{$parameter[\"datasetId\"]}}/items"
}
}
}
],
"default": ""
},
{
"displayName": "GET /v2/acts",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": ["Actors"],
"operation": ["Get list of actors"]
}
}
},
{
"displayName": "My",
"name": "my",
"description": "If `true` or `1` then the returned list only contains Actors owned by the user. The default value is `false`.\n",
"default": true,
"type": "boolean",
"routing": {
"request": {
"qs": {
"my": "={{ $value }}"
}
}
},
"displayOptions": {
"show": {
"resource": ["Actors"],
"operation": ["Get list of actors"]
}
}
},
{
"displayName": "Offset",
"name": "offset",
"description": "Number of records that should be skipped at the start. The default value\nis `0`.\n",
"default": 0,
"type": "number",
"routing": {
"request": {
"qs": {
"offset": "={{ $value }}"
}
}
},
"displayOptions": {
"show": {
"resource": ["Actors"],
"operation": ["Get list of actors"]
}
}
},
{
"displayName": "Limit",
"name": "limit",
"description": "Maximum number of records to return. The default value as well as the\nmaximum is `1000`.\n",
"default": 99,
"type": "number",
"routing": {
"request": {
"qs": {
"limit": "={{ $value }}"
}
}
},
"displayOptions": {
"show": {
"resource": ["Actors"],
"operation": ["Get list of actors"]
}
}
},
{
"displayName": "Desc",
"name": "desc",
"description": "If `true` or `1` then the objects are sorted by the `createdAt` field in\ndescending order. By default, they are sorted in ascending order.\n",
"default": true,
"type": "boolean",
"routing": {
"request": {
"qs": {
"desc": "={{ $value }}"
}
}
},
"displayOptions": {
"show": {
"resource": ["Actors"],
"operation": ["Get list of actors"]
}
}
},
{
"displayName": "POST /v2/acts",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Name",
"name": "name",
"type": "string",
"default": "MyActor",
"description": "",
"routing": {
"request": {
"body": {
"name": "={{ $value }}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Description",
"name": "description",
"type": "string",
"default": "My favourite actor!",
"description": "",
"routing": {
"request": {
"body": {
"description": "={{ $value }}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Title",
"name": "title",
"type": "string",
"default": "My actor",
"description": "",
"routing": {
"request": {
"body": {
"title": "={{ $value }}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Is Public",
"name": "isPublic",
"type": "boolean",
"default": false,
"description": "",
"routing": {
"request": {
"body": {
"isPublic": "={{ $value }}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Seo Title",
"name": "seoTitle",
"type": "string",
"default": "My actor",
"description": "",
"routing": {
"request": {
"body": {
"seoTitle": "={{ $value }}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Seo Description",
"name": "seoDescription",
"type": "string",
"default": "My actor is the best",
"description": "",
"routing": {
"request": {
"body": {
"seoDescription": "={{ $value }}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Restart On Error",
"name": "restartOnError",
"type": "boolean",
"default": false,
"description": "",
"routing": {
"request": {
"body": {
"restartOnError": "={{ $value }}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Versions",
"name": "versions",
"type": "fixedCollection",
"default": [],
"typeOptions": {
"multipleValues": true
},
"description": "",
"placeholder": "Add item",
"options": [
{
"name": "items",
"displayName": "Items",
"values": [
{
"type": "collection",
"default": {},
"typeOptions": {},
"displayName": "Item",
"name": "item",
"description": "",
"placeholder": "Add item",
"options": [
{
"type": "string",
"default": "0.0",
"description": "",
"name": "versionNumber",
"displayName": "Versionnumber"
},
{
"type": "string",
"default": "",
"description": "",
"name": "sourceType",
"displayName": "Sourcetype"
},
{
"type": "fixedCollection",
"default": [],
"typeOptions": {
"multipleValues": true
},
"displayName": "Envvars",
"name": "envVars",
"description": "",
"placeholder": "Add item",
"options": [
{
"name": "items",
"displayName": "Items",
"values": [
{
"type": "string",
"default": "MY_ENV_VAR",
"description": "",
"name": "name",
"displayName": "Name"
},
{
"type": "string",
"default": "my-value",
"description": "",
"name": "value",
"displayName": "Value"
},
{
"type": "boolean",
"default": false,
"description": "",
"name": "isSecret",
"displayName": "Issecret"
}
]
}
]
},
{
"type": "boolean",
"default": false,
"description": "",
"name": "applyEnvVarsToBuild",
"displayName": "Applyenvvarstobuild"
},
{
"type": "string",
"default": "latest",
"description": "",
"name": "buildTag",
"displayName": "Buildtag"
},
{
"type": "json",
"default": "[\n {\n \"format\": \"TEXT\",\n \"content\": \"console.log('This is the main.js file');\",\n \"name\": \"src/main.js\"\n }\n]",
"description": "",
"name": "sourceFiles",
"displayName": "Sourcefiles"
}
]
}
]
}
],
"routing": {
"request": {
"body": {
"versions": "={{$value.items}}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Categories",
"name": "categories",
"type": "fixedCollection",
"default": [],
"typeOptions": {
"multipleValues": true
},
"description": "",
"placeholder": "Add item",
"options": [
{
"name": "items",
"displayName": "Items",
"values": [
{
"name": "Item",
"displayName": "Item",
"type": "string",
"default": ""
}
]
}
],
"routing": {
"request": {
"body": {
"categories": "={{$value.items}}"
}
}
},
"displayOptions": {
"hide": {
"useCustomBody": [true]
},
"show": {
"resource": ["Actors"],
"operation": ["Create actor"]
}
}
},
{
"displayName": "Default Run Options",
"name": "defaultRunOptions",
"type": "string",
"default": "",
"d