stackby.json•4 kB
{
"nodeType": "n8n-nodes-base.stackby",
"displayName": "Stackby",
"description": "Read, write, and delete data in Stackby",
"version": 1,
"properties": [
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "append",
"placeholder": "Action to perform",
"options": [
{
"name": "Append",
"value": "append"
},
{
"name": "Delete",
"value": "delete"
},
{
"name": "List",
"value": "list"
},
{
"name": "Read",
"value": "read"
}
]
},
{
"name": "stackId",
"displayName": "Stack ID",
"type": "string",
"default": "",
"description": "The ID of the stack to access",
"required": true
},
{
"name": "table",
"displayName": "Table",
"type": "string",
"default": "",
"description": "Enter Table Name",
"placeholder": "Stories",
"required": true
},
{
"name": "id",
"displayName": "ID",
"type": "string",
"default": "",
"description": "ID of the record to return",
"required": true,
"displayOptions": {
"show": {
"operation": [
"read",
"delete"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": true,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 1000,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 1000
},
"displayOptions": {
"show": {
"operation": [
"list"
],
"returnAll": [
false
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "The name or ID of a view in the Stories table. If set, only the records in that view will be returned. The records will be sorted according to the order of the view.",
"placeholder": "Add Field",
"options": [
{
"name": "view",
"displayName": "View",
"type": "string",
"default": "",
"description": "The name or ID of a view in the Stories table. If set, only the records in that view will be returned. The records will be sorted according to the order of the view.",
"placeholder": "All Stories"
}
],
"displayOptions": {
"show": {
"operation": [
"list"
]
}
}
},
{
"name": "columns",
"displayName": "Columns",
"type": "string",
"default": "",
"description": "Comma-separated list of the properties which should used as columns for the new rows",
"placeholder": "id,name,description",
"required": true,
"displayOptions": {
"show": {
"operation": [
"append"
]
}
}
}
],
"credentialsConfig": [
{
"name": "stackbyApi",
"required": true
},
{
"name": "operation",
"required": false
},
{
"name": "stackId",
"required": true
},
{
"name": "columns",
"required": true
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}