raindrop.json•10.3 kB
{
"nodeType": "n8n-nodes-base.raindrop",
"displayName": "Raindrop",
"description": "Consume the Raindrop API",
"version": 1,
"properties": [
{
"name": "collectionId",
"displayName": "Collection Name or ID",
"type": "options",
"default": "",
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
"displayOptions": {
"show": {
"resource": [
"bookmark"
],
"operation": [
"create"
]
}
}
},
{
"name": "link",
"displayName": "Link",
"type": "string",
"default": "",
"description": "Link of the bookmark to be created",
"required": true,
"displayOptions": {
"show": {
"resource": [
"bookmark"
],
"operation": [
"create"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "Whether this bookmark is marked as favorite",
"placeholder": "Add Field",
"options": [
{
"name": "important",
"displayName": "Important",
"type": "boolean",
"default": false,
"description": "Whether this bookmark is marked as favorite"
},
{
"name": "order",
"displayName": "Order",
"type": "number",
"default": 0,
"description": "Sort order for the bookmark. For example, to move it to first place, enter 0."
},
{
"name": "pleaseParse",
"displayName": "Parse Metadata",
"type": "boolean",
"default": false,
"description": "Whether Raindrop should load cover, description and HTML for the URL"
},
{
"name": "tags",
"displayName": "Tags",
"type": "string",
"default": "",
"description": "Bookmark tags. Multiple tags can be set separated by comma."
},
{
"name": "title",
"displayName": "Title",
"type": "string",
"default": "",
"description": "Title of the bookmark to create"
}
],
"displayOptions": {
"show": {
"resource": [
"bookmark"
],
"operation": [
"create"
]
}
}
},
{
"name": "bookmarkId",
"displayName": "Bookmark ID",
"type": "string",
"default": "",
"description": "The ID of the bookmark to delete",
"required": true,
"displayOptions": {
"show": {
"resource": [
"bookmark"
],
"operation": [
"delete"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"bookmark"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 5,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 10
},
"displayOptions": {
"show": {
"resource": [
"bookmark"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "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": "collectionId",
"displayName": "Collection Name or ID",
"type": "options",
"default": "",
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
},
{
"name": "important",
"displayName": "Important",
"type": "boolean",
"default": false,
"description": "Whether this bookmark is marked as favorite"
},
{
"name": "order",
"displayName": "Order",
"type": "number",
"default": 0,
"description": "For example if you want to move bookmark to the first place set this field to 0"
},
{
"name": "pleaseParse",
"displayName": "Parse Metadata",
"type": "boolean",
"default": false,
"description": "Whether Raindrop should reload cover, description and HTML for the URL"
},
{
"name": "tags",
"displayName": "Tags",
"type": "string",
"default": "",
"description": "Bookmark tags. Multiple tags can be set separated by comma."
},
{
"name": "title",
"displayName": "Title",
"type": "string",
"default": "",
"description": "Title of the bookmark to be created"
}
],
"displayOptions": {
"show": {
"resource": [
"bookmark"
],
"operation": [
"update"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "get",
"options": [
{
"name": "Create",
"value": "create"
},
{
"name": "Delete",
"value": "delete"
},
{
"name": "Get",
"value": "get"
},
{
"name": "Get Many",
"value": "getAll"
},
{
"name": "Update",
"value": "update"
}
],
"displayOptions": {
"show": {
"resource": [
"bookmark"
]
}
}
},
{
"name": "title",
"displayName": "Title",
"type": "string",
"default": "",
"description": "Title of the collection to create",
"required": true,
"displayOptions": {
"show": {
"resource": [
"collection"
],
"operation": [
"create"
]
}
}
},
{
"name": "type",
"displayName": "Type",
"type": "options",
"default": "parent",
"description": "Root-level collections",
"required": true,
"options": [
{
"name": "Parent",
"value": "parent",
"description": "Root-level collections"
},
{
"name": "Children",
"value": "children",
"description": "Nested collections"
}
],
"displayOptions": {
"show": {
"resource": [
"collection"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "tags",
"displayName": "Tags",
"type": "string",
"default": "",
"description": "One or more tags to delete. Enter comma-separated values to delete multiple tags.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"tag"
],
"operation": [
"delete"
]
}
}
},
{
"name": "filters",
"displayName": "Filters",
"type": "collection",
"default": {},
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
"placeholder": "Add Filter",
"options": [
{
"name": "collectionId",
"displayName": "Collection Name or ID",
"type": "options",
"default": "",
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
}
],
"displayOptions": {
"show": {
"resource": [
"tag"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "self",
"displayName": "Self",
"type": "boolean",
"default": true,
"description": "Whether to return details on the logged-in user",
"required": true,
"displayOptions": {
"show": {
"resource": [
"user"
],
"operation": [
"get"
]
}
}
},
{
"name": "userId",
"displayName": "User ID",
"type": "string",
"default": "",
"description": "The ID of the user to retrieve",
"required": true,
"displayOptions": {
"show": {
"resource": [
"user"
],
"operation": [
"get"
],
"self": [
false
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "collection",
"options": [
{
"name": "Bookmark",
"value": "bookmark"
},
{
"name": "Collection",
"value": "collection"
},
{
"name": "Tag",
"value": "tag"
},
{
"name": "User",
"value": "user"
}
]
}
],
"credentialsConfig": [
{
"name": "raindropOAuth2Api",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}