52 lines
1.0 KiB
TypeScript
52 lines
1.0 KiB
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const cloudStorageDescription: INodeProperties[] = [
|
|
{
|
|
"displayName": "Operation",
|
|
"name": "operation",
|
|
"type": "options",
|
|
"noDataExpression": true,
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Cloud Storage"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"name": "Cloud Storage API Get List",
|
|
"value": "Cloud Storage API Get List",
|
|
"action": "Gets a list of all connected cloud storage devices",
|
|
"description": "Gets a list of all connected cloud storage devices",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/api/v1/cloudstorages"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"default": ""
|
|
},
|
|
{
|
|
"displayName": "GET /api/v1/cloudstorages",
|
|
"name": "operation",
|
|
"type": "notice",
|
|
"typeOptions": {
|
|
"theme": "info"
|
|
},
|
|
"default": "",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Cloud Storage"
|
|
],
|
|
"operation": [
|
|
"Cloud Storage API Get List"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
];
|