wekan.json•11.1 kB
{
"nodeType": "n8n-nodes-base.wekan",
"displayName": "Wekan",
"description": "Consume Wekan API",
"version": 1,
"properties": [
{
"name": "title",
"displayName": "Title",
"type": "string",
"default": "",
"description": "The title of the board",
"placeholder": "My board",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"board"
]
}
}
},
{
"name": "owner",
"displayName": "Owner Name or ID",
"type": "options",
"default": "",
"description": "The user ID in Wekan. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"board"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "Whether to set the board active",
"placeholder": "Add Field",
"options": [
{
"name": "isActive",
"displayName": "Active",
"type": "boolean",
"default": false,
"description": "Whether to set the board active"
},
{
"name": "isAdmin",
"displayName": "Admin",
"type": "boolean",
"default": false,
"description": "Whether to set the owner an admin of the board"
}
],
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"board"
]
}
}
},
{
"name": "boardId",
"displayName": "Board ID",
"type": "string",
"default": "",
"description": "The ID of the board to delete",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"board"
]
}
}
},
{
"name": "IdUser",
"displayName": "User Name or ID",
"type": "options",
"default": "",
"description": "The ID of the user that boards are attached. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"board"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"board"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 100,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 200
},
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"board"
],
"returnAll": [
false
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "create",
"description": "Create a new board",
"options": [
{
"name": "Create",
"value": "create",
"description": "Create a new board"
},
{
"name": "Delete",
"value": "delete",
"description": "Delete a board"
},
{
"name": "Get",
"value": "get",
"description": "Get the data of a board"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many user boards"
}
],
"displayOptions": {
"show": {
"resource": [
"board"
]
}
}
},
{
"name": "listId",
"displayName": "List Name or ID",
"type": "options",
"default": "",
"description": "The ID of the list that card belongs to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"cardComment"
]
}
}
},
{
"name": "cardId",
"displayName": "Card Name or ID",
"type": "options",
"default": "",
"description": "The ID of the card. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"cardComment"
]
}
}
},
{
"name": "authorId",
"displayName": "Author Name or ID",
"type": "options",
"default": "",
"description": "The user who posted the comment. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"cardComment"
]
}
}
},
{
"name": "comment",
"displayName": "Comment",
"type": "string",
"default": "",
"description": "The comment text",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"cardComment"
]
}
}
},
{
"name": "commentId",
"displayName": "Comment Name or ID",
"type": "options",
"default": "",
"description": "The ID of the comment to delete. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"cardComment"
]
}
}
},
{
"name": "swimlaneId",
"displayName": "Swimlane Name or ID",
"type": "options",
"default": "",
"description": "The swimlane ID of the new card. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"card"
]
}
}
},
{
"name": "fromObject",
"displayName": "From Object",
"type": "options",
"default": "",
"required": true,
"options": [
{
"name": "List",
"value": "list"
},
{
"name": "Swimlane",
"value": "swimlane"
}
],
"displayOptions": {
"show": {
"operation": [
"getAll"
],
"resource": [
"card"
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "Update the owner of the card. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"placeholder": "Add Field",
"options": [
{
"name": "authorId",
"displayName": "Author Name or ID",
"type": "options",
"default": "",
"description": "Update the owner of the card. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
}
],
"displayOptions": {
"show": {
"operation": [
"update"
],
"resource": [
"card"
]
}
}
},
{
"name": "items",
"displayName": "Items",
"type": "string",
"default": [],
"description": "Items to be added to the checklist",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"operation": [
"create"
],
"resource": [
"checklist"
]
}
}
},
{
"name": "checklistId",
"displayName": "Checklist Name or ID",
"type": "options",
"default": "",
"description": "The ID of the checklist to delete. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"checklist"
]
}
}
},
{
"name": "checklistItemId",
"displayName": "Checklist Item Name or ID",
"type": "options",
"default": "",
"description": "The ID of the checklistItem item to get. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"operation": [
"delete"
],
"resource": [
"checklistItem"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "card",
"options": [
{
"name": "Board",
"value": "board"
},
{
"name": "Card",
"value": "card"
},
{
"name": "Card Comment",
"value": "cardComment"
},
{
"name": "Checklist",
"value": "checklist"
},
{
"name": "Checklist Item",
"value": "checklistItem"
},
{
"name": "List",
"value": "list"
}
]
}
],
"credentialsConfig": [
{
"name": "wekanApi",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}