mcp4openapi 0.3.1 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/src/auth/oauth-provider.d.ts +1 -0
- package/dist/src/auth/oauth-provider.d.ts.map +1 -1
- package/dist/src/auth/oauth-provider.js +17 -0
- package/dist/src/auth/oauth-provider.js.map +1 -1
- package/dist/src/core/cli-config.d.ts.map +1 -1
- package/dist/src/core/cli-config.js +2 -0
- package/dist/src/core/cli-config.js.map +1 -1
- package/dist/src/core/index.d.ts.map +1 -1
- package/dist/src/core/index.js +18 -3
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/index.js +0 -0
- package/dist/src/profile/profile-allowlist.d.ts +18 -0
- package/dist/src/profile/profile-allowlist.d.ts.map +1 -0
- package/dist/src/profile/profile-allowlist.js +68 -0
- package/dist/src/profile/profile-allowlist.js.map +1 -0
- package/dist/src/profile/profile-registry.d.ts +5 -0
- package/dist/src/profile/profile-registry.d.ts.map +1 -1
- package/dist/src/profile/profile-registry.js +38 -14
- package/dist/src/profile/profile-registry.js.map +1 -1
- package/dist/src/security/ssrf-validator.d.ts +31 -0
- package/dist/src/security/ssrf-validator.d.ts.map +1 -0
- package/dist/src/security/ssrf-validator.js +190 -0
- package/dist/src/security/ssrf-validator.js.map +1 -0
- package/package.json +2 -2
- package/profiles/gitlab/developer-profile-oauth.json +445 -81
- package/profiles/gitlab/developer-profile-oauth.test.json +1037 -12
- package/profiles/gitlab/openapi.yaml +1420 -165
- package/profiles/gitlab/profile-optimized-oauth.json +928 -0
- package/profiles/gitlab/profile-optimized-oauth.test.json +1606 -0
- package/profiles/grafana/openapi.json +28078 -0
- package/profiles/grafana/profile.json +1083 -0
- package/profiles/grafana/profile.test.json +235 -0
- package/profiles/mattermost/openapi.yaml +27434 -0
- package/profiles/mattermost/profile.json +463 -0
- package/profiles/mattermost/profile.test.json +607 -0
- package/profiles/n8n/profile-optimized.json +1002 -364
- package/profiles/n8n/profile-optimized.test.json +43 -43
- package/dist/src/argument-normalizer.d.ts +0 -5
- package/dist/src/argument-normalizer.d.ts.map +0 -1
- package/dist/src/argument-normalizer.js +0 -61
- package/dist/src/argument-normalizer.js.map +0 -1
- package/dist/src/cli-config.d.ts +0 -9
- package/dist/src/cli-config.d.ts.map +0 -1
- package/dist/src/cli-config.js +0 -111
- package/dist/src/cli-config.js.map +0 -1
- package/dist/src/composite-executor.d.ts +0 -77
- package/dist/src/composite-executor.d.ts.map +0 -1
- package/dist/src/composite-executor.js +0 -193
- package/dist/src/composite-executor.js.map +0 -1
- package/dist/src/constants.d.ts +0 -85
- package/dist/src/constants.d.ts.map +0 -1
- package/dist/src/constants.js +0 -85
- package/dist/src/constants.js.map +0 -1
- package/dist/src/dag-executor.d.ts +0 -49
- package/dist/src/dag-executor.d.ts.map +0 -1
- package/dist/src/dag-executor.js +0 -138
- package/dist/src/dag-executor.js.map +0 -1
- package/dist/src/errors.d.ts +0 -59
- package/dist/src/errors.d.ts.map +0 -1
- package/dist/src/errors.js +0 -119
- package/dist/src/errors.js.map +0 -1
- package/dist/src/filtering.d.ts +0 -19
- package/dist/src/filtering.d.ts.map +0 -1
- package/dist/src/filtering.js +0 -292
- package/dist/src/filtering.js.map +0 -1
- package/dist/src/http-client-factory.d.ts +0 -62
- package/dist/src/http-client-factory.d.ts.map +0 -1
- package/dist/src/http-client-factory.js +0 -133
- package/dist/src/http-client-factory.js.map +0 -1
- package/dist/src/http-transport-config.d.ts +0 -6
- package/dist/src/http-transport-config.d.ts.map +0 -1
- package/dist/src/http-transport-config.js +0 -47
- package/dist/src/http-transport-config.js.map +0 -1
- package/dist/src/http-transport.d.ts +0 -316
- package/dist/src/http-transport.d.ts.map +0 -1
- package/dist/src/http-transport.js +0 -2412
- package/dist/src/http-transport.js.map +0 -1
- package/dist/src/interceptors.d.ts +0 -116
- package/dist/src/interceptors.d.ts.map +0 -1
- package/dist/src/interceptors.js +0 -392
- package/dist/src/interceptors.js.map +0 -1
- package/dist/src/jsonrpc-validator.d.ts +0 -27
- package/dist/src/jsonrpc-validator.d.ts.map +0 -1
- package/dist/src/jsonrpc-validator.js +0 -58
- package/dist/src/jsonrpc-validator.js.map +0 -1
- package/dist/src/logger.d.ts +0 -59
- package/dist/src/logger.d.ts.map +0 -1
- package/dist/src/logger.js +0 -177
- package/dist/src/logger.js.map +0 -1
- package/dist/src/mcp-server-manager.d.ts +0 -20
- package/dist/src/mcp-server-manager.d.ts.map +0 -1
- package/dist/src/mcp-server-manager.js +0 -38
- package/dist/src/mcp-server-manager.js.map +0 -1
- package/dist/src/mcp-server.d.ts +0 -203
- package/dist/src/mcp-server.d.ts.map +0 -1
- package/dist/src/mcp-server.js +0 -1369
- package/dist/src/mcp-server.js.map +0 -1
- package/dist/src/metrics.d.ts +0 -97
- package/dist/src/metrics.d.ts.map +0 -1
- package/dist/src/metrics.js +0 -273
- package/dist/src/metrics.js.map +0 -1
- package/dist/src/naming-warnings.d.ts +0 -23
- package/dist/src/naming-warnings.d.ts.map +0 -1
- package/dist/src/naming-warnings.js +0 -83
- package/dist/src/naming-warnings.js.map +0 -1
- package/dist/src/naming.d.ts +0 -58
- package/dist/src/naming.d.ts.map +0 -1
- package/dist/src/naming.js +0 -510
- package/dist/src/naming.js.map +0 -1
- package/dist/src/oauth-provider.d.ts +0 -131
- package/dist/src/oauth-provider.d.ts.map +0 -1
- package/dist/src/oauth-provider.js +0 -836
- package/dist/src/oauth-provider.js.map +0 -1
- package/dist/src/openapi-parser.d.ts +0 -70
- package/dist/src/openapi-parser.d.ts.map +0 -1
- package/dist/src/openapi-parser.js +0 -436
- package/dist/src/openapi-parser.js.map +0 -1
- package/dist/src/profile-loader.d.ts +0 -78
- package/dist/src/profile-loader.d.ts.map +0 -1
- package/dist/src/profile-loader.js +0 -483
- package/dist/src/profile-loader.js.map +0 -1
- package/dist/src/profile-registry.d.ts +0 -18
- package/dist/src/profile-registry.d.ts.map +0 -1
- package/dist/src/profile-registry.js +0 -26
- package/dist/src/profile-registry.js.map +0 -1
- package/dist/src/profile-resolver.d.ts +0 -19
- package/dist/src/profile-resolver.d.ts.map +0 -1
- package/dist/src/profile-resolver.js +0 -167
- package/dist/src/profile-resolver.js.map +0 -1
- package/dist/src/proxy-executor.d.ts +0 -86
- package/dist/src/proxy-executor.d.ts.map +0 -1
- package/dist/src/proxy-executor.js +0 -497
- package/dist/src/proxy-executor.js.map +0 -1
- package/dist/src/schema-validator.d.ts +0 -30
- package/dist/src/schema-validator.d.ts.map +0 -1
- package/dist/src/schema-validator.js +0 -128
- package/dist/src/schema-validator.js.map +0 -1
- package/dist/src/startup-profile.d.ts +0 -17
- package/dist/src/startup-profile.d.ts.map +0 -1
- package/dist/src/startup-profile.js +0 -30
- package/dist/src/startup-profile.js.map +0 -1
- package/dist/src/startup-validation.d.ts +0 -11
- package/dist/src/startup-validation.d.ts.map +0 -1
- package/dist/src/startup-validation.js +0 -21
- package/dist/src/startup-validation.js.map +0 -1
- package/dist/src/tool-filter.d.ts +0 -65
- package/dist/src/tool-filter.d.ts.map +0 -1
- package/dist/src/tool-filter.js +0 -471
- package/dist/src/tool-filter.js.map +0 -1
- package/dist/src/tool-generator.d.ts +0 -67
- package/dist/src/tool-generator.d.ts.map +0 -1
- package/dist/src/tool-generator.js +0 -182
- package/dist/src/tool-generator.js.map +0 -1
- package/dist/src/validation-utils.d.ts +0 -49
- package/dist/src/validation-utils.d.ts.map +0 -1
- package/dist/src/validation-utils.js +0 -138
- package/dist/src/validation-utils.js.map +0 -1
- package/profiles/gitlab/developer-profile.json +0 -1508
- package/profiles/gitlab/developer-profile.test.json +0 -3432
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"n8n-optimized"
|
|
7
7
|
],
|
|
8
8
|
"openapi_spec_path": "./openapi.yaml",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Minimal tool set grouped by CRUD actions, with non-CRUD operations in a separate tool.",
|
|
10
10
|
"parameter_aliases": {
|
|
11
11
|
"id": [
|
|
12
12
|
"credential_id",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"tools": [
|
|
42
42
|
{
|
|
43
|
-
"name": "
|
|
44
|
-
"description": "Read-only access to n8n resources (list/get).",
|
|
43
|
+
"name": "retrieve_content",
|
|
44
|
+
"description": "Read-only access to n8n resources (list/get only).",
|
|
45
45
|
"metadata_params": [
|
|
46
46
|
"action"
|
|
47
47
|
],
|
|
@@ -60,6 +60,82 @@
|
|
|
60
60
|
"get_workflow_version": "get_/workflows/{id}/{versionId}",
|
|
61
61
|
"get_workflow_tags": "get_/workflows/{id}/tags"
|
|
62
62
|
},
|
|
63
|
+
"response_fields": {
|
|
64
|
+
"list_executions": [
|
|
65
|
+
"data(id,status,mode,startedAt,stoppedAt,workflowId,finished,retryOf,retrySuccessId)",
|
|
66
|
+
"nextCursor"
|
|
67
|
+
],
|
|
68
|
+
"get_execution": [
|
|
69
|
+
"id",
|
|
70
|
+
"status",
|
|
71
|
+
"mode",
|
|
72
|
+
"startedAt",
|
|
73
|
+
"stoppedAt",
|
|
74
|
+
"workflowId",
|
|
75
|
+
"finished",
|
|
76
|
+
"retryOf",
|
|
77
|
+
"retrySuccessId"
|
|
78
|
+
],
|
|
79
|
+
"list_projects": [
|
|
80
|
+
"data(id,name,type)",
|
|
81
|
+
"nextCursor"
|
|
82
|
+
],
|
|
83
|
+
"list_tags": [
|
|
84
|
+
"data(id,name,createdAt,updatedAt)",
|
|
85
|
+
"nextCursor"
|
|
86
|
+
],
|
|
87
|
+
"get_tag": [
|
|
88
|
+
"id",
|
|
89
|
+
"name",
|
|
90
|
+
"createdAt",
|
|
91
|
+
"updatedAt"
|
|
92
|
+
],
|
|
93
|
+
"list_users": [
|
|
94
|
+
"data(id,email,firstName,lastName,role,isPending)",
|
|
95
|
+
"nextCursor"
|
|
96
|
+
],
|
|
97
|
+
"get_user": [
|
|
98
|
+
"id",
|
|
99
|
+
"email",
|
|
100
|
+
"firstName",
|
|
101
|
+
"lastName",
|
|
102
|
+
"role",
|
|
103
|
+
"isPending",
|
|
104
|
+
"createdAt",
|
|
105
|
+
"updatedAt"
|
|
106
|
+
],
|
|
107
|
+
"list_variables": [
|
|
108
|
+
"data(id,key,value,type,project(id,name,type))",
|
|
109
|
+
"nextCursor"
|
|
110
|
+
],
|
|
111
|
+
"list_workflows": [
|
|
112
|
+
"data(id,name,active,createdAt,updatedAt,tags(id,name),settings(timezone,executionTimeout))",
|
|
113
|
+
"nextCursor"
|
|
114
|
+
],
|
|
115
|
+
"get_workflow": [
|
|
116
|
+
"id",
|
|
117
|
+
"name",
|
|
118
|
+
"active",
|
|
119
|
+
"createdAt",
|
|
120
|
+
"updatedAt",
|
|
121
|
+
"tags(id,name)",
|
|
122
|
+
"settings(timezone,executionTimeout)"
|
|
123
|
+
],
|
|
124
|
+
"get_workflow_version": [
|
|
125
|
+
"versionId",
|
|
126
|
+
"workflowId",
|
|
127
|
+
"name",
|
|
128
|
+
"createdAt",
|
|
129
|
+
"updatedAt",
|
|
130
|
+
"authors"
|
|
131
|
+
],
|
|
132
|
+
"get_workflow_tags": [
|
|
133
|
+
"id",
|
|
134
|
+
"name",
|
|
135
|
+
"createdAt",
|
|
136
|
+
"updatedAt"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
63
139
|
"parameters": {
|
|
64
140
|
"id": {
|
|
65
141
|
"type": [
|
|
@@ -276,76 +352,72 @@
|
|
|
276
352
|
"type": "string",
|
|
277
353
|
"enum": [
|
|
278
354
|
"get_credential_schema",
|
|
279
|
-
"list_executions",
|
|
280
355
|
"get_execution",
|
|
281
|
-
"list_projects",
|
|
282
|
-
"list_tags",
|
|
283
356
|
"get_tag",
|
|
284
|
-
"list_users",
|
|
285
357
|
"get_user",
|
|
286
|
-
"list_variables",
|
|
287
|
-
"list_workflows",
|
|
288
358
|
"get_workflow",
|
|
359
|
+
"get_workflow_tags",
|
|
289
360
|
"get_workflow_version",
|
|
290
|
-
"
|
|
361
|
+
"list_executions",
|
|
362
|
+
"list_projects",
|
|
363
|
+
"list_tags",
|
|
364
|
+
"list_users",
|
|
365
|
+
"list_variables",
|
|
366
|
+
"list_workflows"
|
|
291
367
|
],
|
|
292
368
|
"description": "Action to perform",
|
|
293
369
|
"required": true
|
|
370
|
+
},
|
|
371
|
+
"additionalOptions": {
|
|
372
|
+
"type": "object",
|
|
373
|
+
"description": "Property additionalOptions",
|
|
374
|
+
"properties": {}
|
|
375
|
+
},
|
|
376
|
+
"force": {
|
|
377
|
+
"type": "boolean",
|
|
378
|
+
"description": "Property force"
|
|
379
|
+
},
|
|
380
|
+
"variables": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"description": "Property variables",
|
|
383
|
+
"properties": {}
|
|
294
384
|
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "create_content",
|
|
389
|
+
"description": "Create n8n resources (create only).",
|
|
390
|
+
"metadata_params": [
|
|
391
|
+
"action"
|
|
392
|
+
],
|
|
393
|
+
"operations": {
|
|
394
|
+
"create_credential": "post_/credentials",
|
|
395
|
+
"create_project": "post_/projects",
|
|
396
|
+
"add_project_users": "post_/projects/{projectId}/users",
|
|
397
|
+
"create_tag": "post_/tags",
|
|
398
|
+
"create_users": "post_/users",
|
|
399
|
+
"create_variable": "post_/variables",
|
|
400
|
+
"create_workflow": "post_/workflows"
|
|
295
401
|
},
|
|
296
402
|
"response_fields": {
|
|
297
|
-
"
|
|
298
|
-
"data(id,status,mode,startedAt,stoppedAt,workflowId,finished,retryOf,retrySuccessId)",
|
|
299
|
-
"nextCursor"
|
|
300
|
-
],
|
|
301
|
-
"get_execution": [
|
|
302
|
-
"id",
|
|
303
|
-
"status",
|
|
304
|
-
"mode",
|
|
305
|
-
"startedAt",
|
|
306
|
-
"stoppedAt",
|
|
307
|
-
"workflowId",
|
|
308
|
-
"finished",
|
|
309
|
-
"retryOf",
|
|
310
|
-
"retrySuccessId"
|
|
311
|
-
],
|
|
312
|
-
"list_projects": [
|
|
313
|
-
"data(id,name,type)",
|
|
314
|
-
"nextCursor"
|
|
315
|
-
],
|
|
316
|
-
"list_tags": [
|
|
317
|
-
"data(id,name,createdAt,updatedAt)",
|
|
318
|
-
"nextCursor"
|
|
319
|
-
],
|
|
320
|
-
"get_tag": [
|
|
403
|
+
"create_credential": [
|
|
321
404
|
"id",
|
|
322
405
|
"name",
|
|
406
|
+
"type",
|
|
323
407
|
"createdAt",
|
|
324
408
|
"updatedAt"
|
|
325
409
|
],
|
|
326
|
-
"
|
|
327
|
-
"data(id,email,firstName,lastName,role,isPending)",
|
|
328
|
-
"nextCursor"
|
|
329
|
-
],
|
|
330
|
-
"get_user": [
|
|
410
|
+
"create_tag": [
|
|
331
411
|
"id",
|
|
332
|
-
"
|
|
333
|
-
"firstName",
|
|
334
|
-
"lastName",
|
|
335
|
-
"role",
|
|
336
|
-
"isPending",
|
|
412
|
+
"name",
|
|
337
413
|
"createdAt",
|
|
338
414
|
"updatedAt"
|
|
339
415
|
],
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
"
|
|
343
|
-
],
|
|
344
|
-
"list_workflows": [
|
|
345
|
-
"data(id,name,active,createdAt,updatedAt,tags(id,name),settings(timezone,executionTimeout))",
|
|
346
|
-
"nextCursor"
|
|
416
|
+
"create_users": [
|
|
417
|
+
"user(id,email,inviteAcceptUrl,emailSent)",
|
|
418
|
+
"error"
|
|
347
419
|
],
|
|
348
|
-
"
|
|
420
|
+
"create_workflow": [
|
|
349
421
|
"id",
|
|
350
422
|
"name",
|
|
351
423
|
"active",
|
|
@@ -353,100 +425,25 @@
|
|
|
353
425
|
"updatedAt",
|
|
354
426
|
"tags(id,name)",
|
|
355
427
|
"settings(timezone,executionTimeout)"
|
|
356
|
-
],
|
|
357
|
-
"get_workflow_version": [
|
|
358
|
-
"versionId",
|
|
359
|
-
"workflowId",
|
|
360
|
-
"name",
|
|
361
|
-
"createdAt",
|
|
362
|
-
"updatedAt",
|
|
363
|
-
"authors"
|
|
364
|
-
],
|
|
365
|
-
"get_workflow_tags": [
|
|
366
|
-
"id",
|
|
367
|
-
"name",
|
|
368
|
-
"createdAt",
|
|
369
|
-
"updatedAt"
|
|
370
428
|
]
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"name": "modify_n8n",
|
|
375
|
-
"description": "Write access to n8n resources (create/update/delete/activate/deactivate/transfer).",
|
|
376
|
-
"metadata_params": [
|
|
377
|
-
"action"
|
|
378
|
-
],
|
|
379
|
-
"operations": {
|
|
380
|
-
"generate_audit": "post_/audit",
|
|
381
|
-
"create_credential": "post_/credentials",
|
|
382
|
-
"update_credential": "updateCredential",
|
|
383
|
-
"delete_credential": "deleteCredential",
|
|
384
|
-
"transfer_credential": "put_/credentials/{id}/transfer",
|
|
385
|
-
"delete_execution": "delete_/executions/{id}",
|
|
386
|
-
"retry_execution": "post_/executions/{id}/retry",
|
|
387
|
-
"create_project": "post_/projects",
|
|
388
|
-
"update_project": "put_/projects/{projectId}",
|
|
389
|
-
"delete_project": "delete_/projects/{projectId}",
|
|
390
|
-
"add_project_users": "post_/projects/{projectId}/users",
|
|
391
|
-
"remove_project_user": "delete_/projects/{projectId}/users/{userId}",
|
|
392
|
-
"update_project_user_role": "patch_/projects/{projectId}/users/{userId}",
|
|
393
|
-
"pull_source_control": "post_/source-control/pull",
|
|
394
|
-
"create_tag": "post_/tags",
|
|
395
|
-
"update_tag": "put_/tags/{id}",
|
|
396
|
-
"delete_tag": "delete_/tags/{id}",
|
|
397
|
-
"create_users": "post_/users",
|
|
398
|
-
"delete_user": "delete_/users/{id}",
|
|
399
|
-
"update_user_role": "patch_/users/{id}/role",
|
|
400
|
-
"create_variable": "post_/variables",
|
|
401
|
-
"update_variable": "put_/variables/{id}",
|
|
402
|
-
"delete_variable": "delete_/variables/{id}"
|
|
403
429
|
},
|
|
404
430
|
"parameters": {
|
|
405
|
-
"additionalOptions": {
|
|
406
|
-
"type": "object",
|
|
407
|
-
"description": "Property additionalOptions",
|
|
408
|
-
"properties": {}
|
|
409
|
-
},
|
|
410
|
-
"id": {
|
|
411
|
-
"type": [
|
|
412
|
-
"string",
|
|
413
|
-
"number"
|
|
414
|
-
],
|
|
415
|
-
"description": "Property id",
|
|
416
|
-
"required_for": [
|
|
417
|
-
"update_credential",
|
|
418
|
-
"delete_credential",
|
|
419
|
-
"transfer_credential",
|
|
420
|
-
"delete_execution",
|
|
421
|
-
"retry_execution",
|
|
422
|
-
"update_tag",
|
|
423
|
-
"delete_tag",
|
|
424
|
-
"delete_user",
|
|
425
|
-
"update_user_role",
|
|
426
|
-
"update_variable",
|
|
427
|
-
"delete_variable"
|
|
428
|
-
],
|
|
429
|
-
"required": false
|
|
430
|
-
},
|
|
431
431
|
"name": {
|
|
432
432
|
"type": "string",
|
|
433
433
|
"description": "Property name",
|
|
434
434
|
"required_for": [
|
|
435
435
|
"create_credential",
|
|
436
436
|
"create_project",
|
|
437
|
-
"update_project",
|
|
438
437
|
"create_tag",
|
|
439
|
-
"
|
|
440
|
-
]
|
|
441
|
-
"required": false
|
|
438
|
+
"create_workflow"
|
|
439
|
+
]
|
|
442
440
|
},
|
|
443
441
|
"type": {
|
|
444
442
|
"type": "string",
|
|
445
443
|
"description": "Property type",
|
|
446
444
|
"required_for": [
|
|
447
445
|
"create_credential"
|
|
448
|
-
]
|
|
449
|
-
"required": false
|
|
446
|
+
]
|
|
450
447
|
},
|
|
451
448
|
"data": {
|
|
452
449
|
"type": "object",
|
|
@@ -454,8 +451,7 @@
|
|
|
454
451
|
"properties": {},
|
|
455
452
|
"required_for": [
|
|
456
453
|
"create_credential"
|
|
457
|
-
]
|
|
458
|
-
"required": false
|
|
454
|
+
]
|
|
459
455
|
},
|
|
460
456
|
"isResolvable": {
|
|
461
457
|
"type": "boolean",
|
|
@@ -479,15 +475,7 @@
|
|
|
479
475
|
},
|
|
480
476
|
"destinationProjectId": {
|
|
481
477
|
"type": "string",
|
|
482
|
-
"description": "Property destinationProjectId"
|
|
483
|
-
"required_for": [
|
|
484
|
-
"transfer_credential"
|
|
485
|
-
],
|
|
486
|
-
"required": false
|
|
487
|
-
},
|
|
488
|
-
"credentialTypeName": {
|
|
489
|
-
"type": "string",
|
|
490
|
-
"description": "The credential type name that you want to get the schema for"
|
|
478
|
+
"description": "Property destinationProjectId"
|
|
491
479
|
},
|
|
492
480
|
"includeData": {
|
|
493
481
|
"type": "boolean",
|
|
@@ -505,13 +493,8 @@
|
|
|
505
493
|
"type": "string",
|
|
506
494
|
"description": "Parameter projectId",
|
|
507
495
|
"required_for": [
|
|
508
|
-
"
|
|
509
|
-
|
|
510
|
-
"add_project_users",
|
|
511
|
-
"remove_project_user",
|
|
512
|
-
"update_project_user_role"
|
|
513
|
-
],
|
|
514
|
-
"required": false
|
|
496
|
+
"add_project_users"
|
|
497
|
+
]
|
|
515
498
|
},
|
|
516
499
|
"limit": {
|
|
517
500
|
"type": "number",
|
|
@@ -541,34 +524,15 @@
|
|
|
541
524
|
},
|
|
542
525
|
"required_for": [
|
|
543
526
|
"add_project_users"
|
|
544
|
-
]
|
|
545
|
-
"required": false
|
|
527
|
+
]
|
|
546
528
|
},
|
|
547
529
|
"userId": {
|
|
548
530
|
"type": "string",
|
|
549
|
-
"description": "The ID of the user."
|
|
550
|
-
"required_for": [
|
|
551
|
-
"remove_project_user",
|
|
552
|
-
"update_project_user_role"
|
|
553
|
-
],
|
|
554
|
-
"required": false
|
|
531
|
+
"description": "The ID of the user."
|
|
555
532
|
},
|
|
556
533
|
"role": {
|
|
557
534
|
"type": "string",
|
|
558
|
-
"description": "Property role"
|
|
559
|
-
"required_for": [
|
|
560
|
-
"update_project_user_role"
|
|
561
|
-
],
|
|
562
|
-
"required": false
|
|
563
|
-
},
|
|
564
|
-
"force": {
|
|
565
|
-
"type": "boolean",
|
|
566
|
-
"description": "Property force"
|
|
567
|
-
},
|
|
568
|
-
"variables": {
|
|
569
|
-
"type": "object",
|
|
570
|
-
"description": "Property variables",
|
|
571
|
-
"properties": {}
|
|
535
|
+
"description": "Property role"
|
|
572
536
|
},
|
|
573
537
|
"includeRole": {
|
|
574
538
|
"type": "boolean",
|
|
@@ -576,11 +540,7 @@
|
|
|
576
540
|
},
|
|
577
541
|
"newRoleName": {
|
|
578
542
|
"type": "string",
|
|
579
|
-
"description": "Property newRoleName"
|
|
580
|
-
"required_for": [
|
|
581
|
-
"update_user_role"
|
|
582
|
-
],
|
|
583
|
-
"required": false
|
|
543
|
+
"description": "Property newRoleName"
|
|
584
544
|
},
|
|
585
545
|
"users": {
|
|
586
546
|
"type": "array",
|
|
@@ -591,8 +551,7 @@
|
|
|
591
551
|
},
|
|
592
552
|
"required_for": [
|
|
593
553
|
"create_users"
|
|
594
|
-
]
|
|
595
|
-
"required": false
|
|
554
|
+
]
|
|
596
555
|
},
|
|
597
556
|
"state": {
|
|
598
557
|
"type": "string",
|
|
@@ -602,19 +561,15 @@
|
|
|
602
561
|
"type": "string",
|
|
603
562
|
"description": "Property key",
|
|
604
563
|
"required_for": [
|
|
605
|
-
"create_variable"
|
|
606
|
-
|
|
607
|
-
],
|
|
608
|
-
"required": false
|
|
564
|
+
"create_variable"
|
|
565
|
+
]
|
|
609
566
|
},
|
|
610
567
|
"value": {
|
|
611
568
|
"type": "string",
|
|
612
569
|
"description": "Property value",
|
|
613
570
|
"required_for": [
|
|
614
|
-
"create_variable"
|
|
615
|
-
|
|
616
|
-
],
|
|
617
|
-
"required": false
|
|
571
|
+
"create_variable"
|
|
572
|
+
]
|
|
618
573
|
},
|
|
619
574
|
"active": {
|
|
620
575
|
"type": "boolean",
|
|
@@ -632,6 +587,33 @@
|
|
|
632
587
|
"type": "boolean",
|
|
633
588
|
"description": "Set this to avoid retrieving pinned data"
|
|
634
589
|
},
|
|
590
|
+
"nodes": {
|
|
591
|
+
"type": "array",
|
|
592
|
+
"description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
|
|
593
|
+
"items": {
|
|
594
|
+
"type": "object",
|
|
595
|
+
"properties": {}
|
|
596
|
+
},
|
|
597
|
+
"required_for": [
|
|
598
|
+
"create_workflow"
|
|
599
|
+
]
|
|
600
|
+
},
|
|
601
|
+
"connections": {
|
|
602
|
+
"type": "object",
|
|
603
|
+
"description": "Connections map keyed by node name, following n8n workflow schema.",
|
|
604
|
+
"properties": {},
|
|
605
|
+
"required_for": [
|
|
606
|
+
"create_workflow"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"settings": {
|
|
610
|
+
"type": "object",
|
|
611
|
+
"description": "Workflow settings object (timezone, executionTimeout, etc.).",
|
|
612
|
+
"properties": {},
|
|
613
|
+
"required_for": [
|
|
614
|
+
"create_workflow"
|
|
615
|
+
]
|
|
616
|
+
},
|
|
635
617
|
"staticData": {
|
|
636
618
|
"type": "string",
|
|
637
619
|
"description": "Property staticData"
|
|
@@ -649,60 +631,73 @@
|
|
|
649
631
|
"description": "Property activeVersion",
|
|
650
632
|
"properties": {}
|
|
651
633
|
},
|
|
652
|
-
"versionId": {
|
|
653
|
-
"type": "string",
|
|
654
|
-
"description": "The version ID to retrieve"
|
|
655
|
-
},
|
|
656
634
|
"description": {
|
|
657
635
|
"type": "string",
|
|
658
636
|
"description": "Property description"
|
|
659
637
|
},
|
|
638
|
+
"tag_ids": {
|
|
639
|
+
"type": "array",
|
|
640
|
+
"description": "Tag IDs to apply to the workflow: [{ id }].",
|
|
641
|
+
"items": {
|
|
642
|
+
"type": "object",
|
|
643
|
+
"properties": {}
|
|
644
|
+
}
|
|
645
|
+
},
|
|
660
646
|
"action": {
|
|
661
647
|
"type": "string",
|
|
662
648
|
"enum": [
|
|
663
|
-
"
|
|
649
|
+
"add_project_users",
|
|
664
650
|
"create_credential",
|
|
665
|
-
"update_credential",
|
|
666
|
-
"delete_credential",
|
|
667
|
-
"transfer_credential",
|
|
668
|
-
"delete_execution",
|
|
669
|
-
"retry_execution",
|
|
670
651
|
"create_project",
|
|
671
|
-
"update_project",
|
|
672
|
-
"delete_project",
|
|
673
|
-
"add_project_users",
|
|
674
|
-
"remove_project_user",
|
|
675
|
-
"update_project_user_role",
|
|
676
|
-
"pull_source_control",
|
|
677
652
|
"create_tag",
|
|
678
|
-
"update_tag",
|
|
679
|
-
"delete_tag",
|
|
680
653
|
"create_users",
|
|
681
|
-
"delete_user",
|
|
682
|
-
"update_user_role",
|
|
683
654
|
"create_variable",
|
|
684
|
-
"
|
|
685
|
-
"delete_variable"
|
|
655
|
+
"create_workflow"
|
|
686
656
|
],
|
|
687
657
|
"description": "Action to perform",
|
|
688
658
|
"required": true
|
|
659
|
+
},
|
|
660
|
+
"additionalOptions": {
|
|
661
|
+
"type": "object",
|
|
662
|
+
"description": "Property additionalOptions",
|
|
663
|
+
"properties": {}
|
|
664
|
+
},
|
|
665
|
+
"credentialTypeName": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"description": "The credential type name that you want to get the schema for"
|
|
668
|
+
},
|
|
669
|
+
"force": {
|
|
670
|
+
"type": "boolean",
|
|
671
|
+
"description": "Property force"
|
|
672
|
+
},
|
|
673
|
+
"variables": {
|
|
674
|
+
"type": "object",
|
|
675
|
+
"description": "Property variables",
|
|
676
|
+
"properties": {}
|
|
677
|
+
},
|
|
678
|
+
"versionId": {
|
|
679
|
+
"type": "string",
|
|
680
|
+
"description": "The version ID to retrieve"
|
|
689
681
|
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "update_content",
|
|
686
|
+
"description": "Update n8n resources (update only).",
|
|
687
|
+
"metadata_params": [
|
|
688
|
+
"action"
|
|
689
|
+
],
|
|
690
|
+
"operations": {
|
|
691
|
+
"update_credential": "updateCredential",
|
|
692
|
+
"update_project": "put_/projects/{projectId}",
|
|
693
|
+
"update_project_user_role": "patch_/projects/{projectId}/users/{userId}",
|
|
694
|
+
"update_tag": "put_/tags/{id}",
|
|
695
|
+
"update_user_role": "patch_/users/{id}/role",
|
|
696
|
+
"update_variable": "put_/variables/{id}",
|
|
697
|
+
"update_workflow": "put_/workflows/{id}",
|
|
698
|
+
"update_workflow_tags": "put_/workflows/{id}/tags"
|
|
690
699
|
},
|
|
691
700
|
"response_fields": {
|
|
692
|
-
"generate_audit": [
|
|
693
|
-
"\"Credentials Risk Report\"",
|
|
694
|
-
"\"Database Risk Report\"",
|
|
695
|
-
"\"Nodes Risk Report\"",
|
|
696
|
-
"\"Filesystem Risk Report\"",
|
|
697
|
-
"\"Instance Risk Report\""
|
|
698
|
-
],
|
|
699
|
-
"create_credential": [
|
|
700
|
-
"id",
|
|
701
|
-
"name",
|
|
702
|
-
"type",
|
|
703
|
-
"createdAt",
|
|
704
|
-
"updatedAt"
|
|
705
|
-
],
|
|
706
701
|
"update_credential": [
|
|
707
702
|
"id",
|
|
708
703
|
"name",
|
|
@@ -710,147 +705,211 @@
|
|
|
710
705
|
"createdAt",
|
|
711
706
|
"updatedAt"
|
|
712
707
|
],
|
|
713
|
-
"
|
|
714
|
-
"id",
|
|
715
|
-
"name",
|
|
716
|
-
"type",
|
|
717
|
-
"createdAt",
|
|
718
|
-
"updatedAt",
|
|
719
|
-
"isResolvable"
|
|
720
|
-
],
|
|
721
|
-
"delete_execution": [
|
|
722
|
-
"id",
|
|
723
|
-
"status",
|
|
724
|
-
"mode",
|
|
725
|
-
"startedAt",
|
|
726
|
-
"stoppedAt",
|
|
727
|
-
"workflowId",
|
|
728
|
-
"finished",
|
|
729
|
-
"retryOf",
|
|
730
|
-
"retrySuccessId"
|
|
731
|
-
],
|
|
732
|
-
"retry_execution": [
|
|
733
|
-
"id",
|
|
734
|
-
"status",
|
|
735
|
-
"mode",
|
|
736
|
-
"startedAt",
|
|
737
|
-
"stoppedAt",
|
|
738
|
-
"workflowId",
|
|
739
|
-
"finished",
|
|
740
|
-
"retryOf",
|
|
741
|
-
"retrySuccessId"
|
|
742
|
-
],
|
|
743
|
-
"pull_source_control": [
|
|
744
|
-
"variables(added,changed)",
|
|
745
|
-
"credentials(id,name,type)",
|
|
746
|
-
"workflows(id,name)",
|
|
747
|
-
"tags(tags(id,name),mappings(workflowId,tagId))"
|
|
748
|
-
],
|
|
749
|
-
"create_tag": [
|
|
708
|
+
"update_tag": [
|
|
750
709
|
"id",
|
|
751
710
|
"name",
|
|
752
711
|
"createdAt",
|
|
753
712
|
"updatedAt"
|
|
754
713
|
],
|
|
755
|
-
"
|
|
714
|
+
"update_workflow": [
|
|
756
715
|
"id",
|
|
757
716
|
"name",
|
|
717
|
+
"active",
|
|
758
718
|
"createdAt",
|
|
759
|
-
"updatedAt"
|
|
719
|
+
"updatedAt",
|
|
720
|
+
"tags(id,name)",
|
|
721
|
+
"settings(timezone,executionTimeout)"
|
|
760
722
|
],
|
|
761
|
-
"
|
|
723
|
+
"update_workflow_tags": [
|
|
762
724
|
"id",
|
|
763
725
|
"name",
|
|
764
726
|
"createdAt",
|
|
765
727
|
"updatedAt"
|
|
766
|
-
],
|
|
767
|
-
"create_users": [
|
|
768
|
-
"user(id,email,inviteAcceptUrl,emailSent)",
|
|
769
|
-
"error"
|
|
770
728
|
]
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
"name": "modify_n8n_workflows",
|
|
775
|
-
"description": "Write access to n8n workflows (create/update/delete/activate/deactivate/transfer).",
|
|
776
|
-
"metadata_params": [
|
|
777
|
-
"action"
|
|
778
|
-
],
|
|
779
|
-
"operations": {
|
|
780
|
-
"create_workflow": "post_/workflows",
|
|
781
|
-
"update_workflow": "put_/workflows/{id}",
|
|
782
|
-
"delete_workflow": "delete_/workflows/{id}",
|
|
783
|
-
"activate_workflow": "post_/workflows/{id}/activate",
|
|
784
|
-
"deactivate_workflow": "post_/workflows/{id}/deactivate",
|
|
785
|
-
"update_workflow_tags": "put_/workflows/{id}/tags",
|
|
786
|
-
"transfer_workflow": "put_/workflows/{id}/transfer"
|
|
787
729
|
},
|
|
788
730
|
"parameters": {
|
|
789
|
-
"id": {
|
|
790
|
-
"type": [
|
|
791
|
-
"string",
|
|
792
|
-
"number"
|
|
793
|
-
],
|
|
794
|
-
"description": "Property id",
|
|
795
|
-
"required_for": [
|
|
796
|
-
"update_workflow",
|
|
797
|
-
"delete_workflow",
|
|
798
|
-
"activate_workflow",
|
|
799
|
-
"deactivate_workflow",
|
|
800
|
-
"update_workflow_tags",
|
|
801
|
-
"transfer_workflow"
|
|
802
|
-
],
|
|
803
|
-
"required": false
|
|
804
|
-
},
|
|
805
731
|
"name": {
|
|
806
732
|
"type": "string",
|
|
807
733
|
"description": "Property name",
|
|
808
734
|
"required_for": [
|
|
809
|
-
"
|
|
735
|
+
"update_project",
|
|
736
|
+
"update_tag",
|
|
810
737
|
"update_workflow"
|
|
811
|
-
]
|
|
812
|
-
"required": false
|
|
738
|
+
]
|
|
813
739
|
},
|
|
814
|
-
"
|
|
740
|
+
"type": {
|
|
815
741
|
"type": "string",
|
|
816
|
-
"description": "Property
|
|
817
|
-
"required_for": [
|
|
818
|
-
"transfer_workflow"
|
|
819
|
-
],
|
|
820
|
-
"required": false
|
|
821
|
-
},
|
|
822
|
-
"nodes": {
|
|
823
|
-
"type": "array",
|
|
824
|
-
"description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
|
|
825
|
-
"items": {
|
|
826
|
-
"type": "object",
|
|
827
|
-
"properties": {}
|
|
828
|
-
},
|
|
829
|
-
"required_for": [
|
|
830
|
-
"create_workflow",
|
|
831
|
-
"update_workflow"
|
|
832
|
-
],
|
|
833
|
-
"required": false
|
|
742
|
+
"description": "Property type"
|
|
834
743
|
},
|
|
835
|
-
"
|
|
744
|
+
"data": {
|
|
836
745
|
"type": "object",
|
|
837
|
-
"description": "
|
|
838
|
-
"properties": {}
|
|
839
|
-
"required_for": [
|
|
840
|
-
"create_workflow",
|
|
841
|
-
"update_workflow"
|
|
842
|
-
],
|
|
843
|
-
"required": false
|
|
746
|
+
"description": "Credential data (object). Required when creating or changing credential type.",
|
|
747
|
+
"properties": {}
|
|
844
748
|
},
|
|
845
|
-
"
|
|
846
|
-
"type": "
|
|
847
|
-
"description": "
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
749
|
+
"isResolvable": {
|
|
750
|
+
"type": "boolean",
|
|
751
|
+
"description": "Property isResolvable"
|
|
752
|
+
},
|
|
753
|
+
"createdAt": {
|
|
754
|
+
"type": "string",
|
|
755
|
+
"description": "Property createdAt"
|
|
756
|
+
},
|
|
757
|
+
"updatedAt": {
|
|
758
|
+
"type": "string",
|
|
759
|
+
"description": "Property updatedAt"
|
|
760
|
+
},
|
|
761
|
+
"isGlobal": {
|
|
762
|
+
"type": "boolean",
|
|
763
|
+
"description": "Property isGlobal"
|
|
764
|
+
},
|
|
765
|
+
"isPartialData": {
|
|
766
|
+
"type": "boolean",
|
|
767
|
+
"description": "Property isPartialData"
|
|
768
|
+
},
|
|
769
|
+
"destinationProjectId": {
|
|
770
|
+
"type": "string",
|
|
771
|
+
"description": "Property destinationProjectId"
|
|
772
|
+
},
|
|
773
|
+
"includeData": {
|
|
774
|
+
"type": "boolean",
|
|
775
|
+
"description": "Whether or not to include the execution's detailed data."
|
|
776
|
+
},
|
|
777
|
+
"status": {
|
|
778
|
+
"type": "string",
|
|
779
|
+
"description": "Status to filter the executions by."
|
|
780
|
+
},
|
|
781
|
+
"workflowId": {
|
|
782
|
+
"type": "string",
|
|
783
|
+
"description": "Workflow to filter the executions by."
|
|
784
|
+
},
|
|
785
|
+
"projectId": {
|
|
786
|
+
"type": "string",
|
|
787
|
+
"description": "Parameter projectId",
|
|
788
|
+
"required_for": [
|
|
789
|
+
"update_project",
|
|
790
|
+
"update_project_user_role"
|
|
791
|
+
]
|
|
792
|
+
},
|
|
793
|
+
"limit": {
|
|
794
|
+
"type": "number",
|
|
795
|
+
"description": "The maximum number of items to return."
|
|
796
|
+
},
|
|
797
|
+
"cursor": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
|
|
800
|
+
},
|
|
801
|
+
"loadWorkflow": {
|
|
802
|
+
"type": "boolean",
|
|
803
|
+
"description": "Property loadWorkflow"
|
|
804
|
+
},
|
|
805
|
+
"relations": {
|
|
806
|
+
"type": "array",
|
|
807
|
+
"description": "Array of user relations to add: [{ userId, role }]",
|
|
808
|
+
"items": {
|
|
809
|
+
"type": "object",
|
|
810
|
+
"properties": {
|
|
811
|
+
"userId": {
|
|
812
|
+
"type": "string"
|
|
813
|
+
},
|
|
814
|
+
"role": {
|
|
815
|
+
"type": "string"
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"userId": {
|
|
821
|
+
"type": "string",
|
|
822
|
+
"description": "The ID of the user.",
|
|
823
|
+
"required_for": [
|
|
824
|
+
"update_project_user_role"
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
"role": {
|
|
828
|
+
"type": "string",
|
|
829
|
+
"description": "Property role",
|
|
830
|
+
"required_for": [
|
|
831
|
+
"update_project_user_role"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"includeRole": {
|
|
835
|
+
"type": "boolean",
|
|
836
|
+
"description": "Whether to include the user's role or not."
|
|
837
|
+
},
|
|
838
|
+
"newRoleName": {
|
|
839
|
+
"type": "string",
|
|
840
|
+
"description": "Property newRoleName",
|
|
841
|
+
"required_for": [
|
|
842
|
+
"update_user_role"
|
|
843
|
+
]
|
|
844
|
+
},
|
|
845
|
+
"users": {
|
|
846
|
+
"type": "array",
|
|
847
|
+
"description": "Array of users to create: [{ email, role }].",
|
|
848
|
+
"items": {
|
|
849
|
+
"type": "object",
|
|
850
|
+
"properties": {}
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
"state": {
|
|
854
|
+
"type": "string",
|
|
855
|
+
"description": "Parameter state"
|
|
856
|
+
},
|
|
857
|
+
"key": {
|
|
858
|
+
"type": "string",
|
|
859
|
+
"description": "Property key",
|
|
860
|
+
"required_for": [
|
|
861
|
+
"update_variable"
|
|
862
|
+
]
|
|
863
|
+
},
|
|
864
|
+
"value": {
|
|
865
|
+
"type": "string",
|
|
866
|
+
"description": "Property value",
|
|
867
|
+
"required_for": [
|
|
868
|
+
"update_variable"
|
|
869
|
+
]
|
|
870
|
+
},
|
|
871
|
+
"active": {
|
|
872
|
+
"type": "boolean",
|
|
873
|
+
"description": "Parameter active"
|
|
874
|
+
},
|
|
875
|
+
"tags": {
|
|
876
|
+
"type": "array",
|
|
877
|
+
"description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
|
|
878
|
+
"items": {
|
|
879
|
+
"type": "object",
|
|
880
|
+
"properties": {}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
"excludePinnedData": {
|
|
884
|
+
"type": "boolean",
|
|
885
|
+
"description": "Set this to avoid retrieving pinned data"
|
|
886
|
+
},
|
|
887
|
+
"nodes": {
|
|
888
|
+
"type": "array",
|
|
889
|
+
"description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
|
|
890
|
+
"items": {
|
|
891
|
+
"type": "object",
|
|
892
|
+
"properties": {}
|
|
893
|
+
},
|
|
894
|
+
"required_for": [
|
|
895
|
+
"update_workflow"
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
"connections": {
|
|
899
|
+
"type": "object",
|
|
900
|
+
"description": "Connections map keyed by node name, following n8n workflow schema.",
|
|
901
|
+
"properties": {},
|
|
902
|
+
"required_for": [
|
|
903
|
+
"update_workflow"
|
|
904
|
+
]
|
|
905
|
+
},
|
|
906
|
+
"settings": {
|
|
907
|
+
"type": "object",
|
|
908
|
+
"description": "Workflow settings object (timezone, executionTimeout, etc.).",
|
|
909
|
+
"properties": {},
|
|
910
|
+
"required_for": [
|
|
911
|
+
"update_workflow"
|
|
912
|
+
]
|
|
854
913
|
},
|
|
855
914
|
"staticData": {
|
|
856
915
|
"type": "string",
|
|
@@ -869,6 +928,10 @@
|
|
|
869
928
|
"description": "Property activeVersion",
|
|
870
929
|
"properties": {}
|
|
871
930
|
},
|
|
931
|
+
"description": {
|
|
932
|
+
"type": "string",
|
|
933
|
+
"description": "Property description"
|
|
934
|
+
},
|
|
872
935
|
"tag_ids": {
|
|
873
936
|
"type": "array",
|
|
874
937
|
"description": "Tag IDs to apply to the workflow: [{ id }].",
|
|
@@ -878,53 +941,106 @@
|
|
|
878
941
|
},
|
|
879
942
|
"required_for": [
|
|
880
943
|
"update_workflow_tags"
|
|
881
|
-
]
|
|
882
|
-
"required": false
|
|
944
|
+
]
|
|
883
945
|
},
|
|
884
946
|
"action": {
|
|
885
947
|
"type": "string",
|
|
886
948
|
"enum": [
|
|
887
|
-
"
|
|
949
|
+
"update_credential",
|
|
950
|
+
"update_project",
|
|
951
|
+
"update_project_user_role",
|
|
952
|
+
"update_tag",
|
|
953
|
+
"update_user_role",
|
|
954
|
+
"update_variable",
|
|
888
955
|
"update_workflow",
|
|
889
|
-
"
|
|
890
|
-
"activate_workflow",
|
|
891
|
-
"deactivate_workflow",
|
|
892
|
-
"update_workflow_tags",
|
|
893
|
-
"transfer_workflow"
|
|
956
|
+
"update_workflow_tags"
|
|
894
957
|
],
|
|
895
958
|
"description": "Action to perform",
|
|
896
959
|
"required": true
|
|
960
|
+
},
|
|
961
|
+
"additionalOptions": {
|
|
962
|
+
"type": "object",
|
|
963
|
+
"description": "Property additionalOptions",
|
|
964
|
+
"properties": {}
|
|
965
|
+
},
|
|
966
|
+
"id": {
|
|
967
|
+
"type": [
|
|
968
|
+
"string",
|
|
969
|
+
"number"
|
|
970
|
+
],
|
|
971
|
+
"description": "Property id",
|
|
972
|
+
"required_for": [
|
|
973
|
+
"update_credential",
|
|
974
|
+
"update_tag",
|
|
975
|
+
"update_user_role",
|
|
976
|
+
"update_variable",
|
|
977
|
+
"update_workflow",
|
|
978
|
+
"update_workflow_tags"
|
|
979
|
+
],
|
|
980
|
+
"required": false
|
|
981
|
+
},
|
|
982
|
+
"credentialTypeName": {
|
|
983
|
+
"type": "string",
|
|
984
|
+
"description": "The credential type name that you want to get the schema for"
|
|
985
|
+
},
|
|
986
|
+
"force": {
|
|
987
|
+
"type": "boolean",
|
|
988
|
+
"description": "Property force"
|
|
989
|
+
},
|
|
990
|
+
"variables": {
|
|
991
|
+
"type": "object",
|
|
992
|
+
"description": "Property variables",
|
|
993
|
+
"properties": {}
|
|
994
|
+
},
|
|
995
|
+
"versionId": {
|
|
996
|
+
"type": "string",
|
|
997
|
+
"description": "The version ID to retrieve"
|
|
897
998
|
}
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "delete_content",
|
|
1003
|
+
"description": "Delete n8n resources (delete only).",
|
|
1004
|
+
"metadata_params": [
|
|
1005
|
+
"action"
|
|
1006
|
+
],
|
|
1007
|
+
"operations": {
|
|
1008
|
+
"delete_credential": "deleteCredential",
|
|
1009
|
+
"delete_execution": "delete_/executions/{id}",
|
|
1010
|
+
"delete_project": "delete_/projects/{projectId}",
|
|
1011
|
+
"remove_project_user": "delete_/projects/{projectId}/users/{userId}",
|
|
1012
|
+
"delete_tag": "delete_/tags/{id}",
|
|
1013
|
+
"delete_user": "delete_/users/{id}",
|
|
1014
|
+
"delete_variable": "delete_/variables/{id}",
|
|
1015
|
+
"delete_workflow": "delete_/workflows/{id}"
|
|
898
1016
|
},
|
|
899
1017
|
"response_fields": {
|
|
900
|
-
"
|
|
1018
|
+
"delete_credential": [
|
|
901
1019
|
"id",
|
|
902
1020
|
"name",
|
|
903
|
-
"
|
|
1021
|
+
"type",
|
|
904
1022
|
"createdAt",
|
|
905
1023
|
"updatedAt",
|
|
906
|
-
"
|
|
907
|
-
"settings(timezone,executionTimeout)"
|
|
1024
|
+
"isResolvable"
|
|
908
1025
|
],
|
|
909
|
-
"
|
|
1026
|
+
"delete_execution": [
|
|
910
1027
|
"id",
|
|
911
|
-
"
|
|
912
|
-
"
|
|
913
|
-
"
|
|
914
|
-
"
|
|
915
|
-
"
|
|
916
|
-
"
|
|
1028
|
+
"status",
|
|
1029
|
+
"mode",
|
|
1030
|
+
"startedAt",
|
|
1031
|
+
"stoppedAt",
|
|
1032
|
+
"workflowId",
|
|
1033
|
+
"finished",
|
|
1034
|
+
"retryOf",
|
|
1035
|
+
"retrySuccessId"
|
|
917
1036
|
],
|
|
918
|
-
"
|
|
1037
|
+
"delete_tag": [
|
|
919
1038
|
"id",
|
|
920
1039
|
"name",
|
|
921
|
-
"active",
|
|
922
1040
|
"createdAt",
|
|
923
|
-
"updatedAt"
|
|
924
|
-
"tags(id,name)",
|
|
925
|
-
"settings(timezone,executionTimeout)"
|
|
1041
|
+
"updatedAt"
|
|
926
1042
|
],
|
|
927
|
-
"
|
|
1043
|
+
"delete_workflow": [
|
|
928
1044
|
"id",
|
|
929
1045
|
"name",
|
|
930
1046
|
"active",
|
|
@@ -932,8 +1048,291 @@
|
|
|
932
1048
|
"updatedAt",
|
|
933
1049
|
"tags(id,name)",
|
|
934
1050
|
"settings(timezone,executionTimeout)"
|
|
1051
|
+
]
|
|
1052
|
+
},
|
|
1053
|
+
"parameters": {
|
|
1054
|
+
"name": {
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"description": "Property name"
|
|
1057
|
+
},
|
|
1058
|
+
"type": {
|
|
1059
|
+
"type": "string",
|
|
1060
|
+
"description": "Property type"
|
|
1061
|
+
},
|
|
1062
|
+
"data": {
|
|
1063
|
+
"type": "object",
|
|
1064
|
+
"description": "Credential data (object). Required when creating or changing credential type.",
|
|
1065
|
+
"properties": {}
|
|
1066
|
+
},
|
|
1067
|
+
"isResolvable": {
|
|
1068
|
+
"type": "boolean",
|
|
1069
|
+
"description": "Property isResolvable"
|
|
1070
|
+
},
|
|
1071
|
+
"createdAt": {
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"description": "Property createdAt"
|
|
1074
|
+
},
|
|
1075
|
+
"updatedAt": {
|
|
1076
|
+
"type": "string",
|
|
1077
|
+
"description": "Property updatedAt"
|
|
1078
|
+
},
|
|
1079
|
+
"isGlobal": {
|
|
1080
|
+
"type": "boolean",
|
|
1081
|
+
"description": "Property isGlobal"
|
|
1082
|
+
},
|
|
1083
|
+
"isPartialData": {
|
|
1084
|
+
"type": "boolean",
|
|
1085
|
+
"description": "Property isPartialData"
|
|
1086
|
+
},
|
|
1087
|
+
"destinationProjectId": {
|
|
1088
|
+
"type": "string",
|
|
1089
|
+
"description": "Property destinationProjectId"
|
|
1090
|
+
},
|
|
1091
|
+
"includeData": {
|
|
1092
|
+
"type": "boolean",
|
|
1093
|
+
"description": "Whether or not to include the execution's detailed data."
|
|
1094
|
+
},
|
|
1095
|
+
"status": {
|
|
1096
|
+
"type": "string",
|
|
1097
|
+
"description": "Status to filter the executions by."
|
|
1098
|
+
},
|
|
1099
|
+
"workflowId": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"description": "Workflow to filter the executions by."
|
|
1102
|
+
},
|
|
1103
|
+
"projectId": {
|
|
1104
|
+
"type": "string",
|
|
1105
|
+
"description": "Parameter projectId",
|
|
1106
|
+
"required_for": [
|
|
1107
|
+
"delete_project",
|
|
1108
|
+
"remove_project_user"
|
|
1109
|
+
]
|
|
1110
|
+
},
|
|
1111
|
+
"limit": {
|
|
1112
|
+
"type": "number",
|
|
1113
|
+
"description": "The maximum number of items to return."
|
|
1114
|
+
},
|
|
1115
|
+
"cursor": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
|
|
1118
|
+
},
|
|
1119
|
+
"loadWorkflow": {
|
|
1120
|
+
"type": "boolean",
|
|
1121
|
+
"description": "Property loadWorkflow"
|
|
1122
|
+
},
|
|
1123
|
+
"relations": {
|
|
1124
|
+
"type": "array",
|
|
1125
|
+
"description": "Array of user relations to add: [{ userId, role }]",
|
|
1126
|
+
"items": {
|
|
1127
|
+
"type": "object",
|
|
1128
|
+
"properties": {
|
|
1129
|
+
"userId": {
|
|
1130
|
+
"type": "string"
|
|
1131
|
+
},
|
|
1132
|
+
"role": {
|
|
1133
|
+
"type": "string"
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
"userId": {
|
|
1139
|
+
"type": "string",
|
|
1140
|
+
"description": "The ID of the user.",
|
|
1141
|
+
"required_for": [
|
|
1142
|
+
"remove_project_user"
|
|
1143
|
+
]
|
|
1144
|
+
},
|
|
1145
|
+
"role": {
|
|
1146
|
+
"type": "string",
|
|
1147
|
+
"description": "Property role"
|
|
1148
|
+
},
|
|
1149
|
+
"includeRole": {
|
|
1150
|
+
"type": "boolean",
|
|
1151
|
+
"description": "Whether to include the user's role or not."
|
|
1152
|
+
},
|
|
1153
|
+
"newRoleName": {
|
|
1154
|
+
"type": "string",
|
|
1155
|
+
"description": "Property newRoleName"
|
|
1156
|
+
},
|
|
1157
|
+
"users": {
|
|
1158
|
+
"type": "array",
|
|
1159
|
+
"description": "Array of users to create: [{ email, role }].",
|
|
1160
|
+
"items": {
|
|
1161
|
+
"type": "object",
|
|
1162
|
+
"properties": {}
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
"state": {
|
|
1166
|
+
"type": "string",
|
|
1167
|
+
"description": "Parameter state"
|
|
1168
|
+
},
|
|
1169
|
+
"key": {
|
|
1170
|
+
"type": "string",
|
|
1171
|
+
"description": "Property key"
|
|
1172
|
+
},
|
|
1173
|
+
"value": {
|
|
1174
|
+
"type": "string",
|
|
1175
|
+
"description": "Property value"
|
|
1176
|
+
},
|
|
1177
|
+
"active": {
|
|
1178
|
+
"type": "boolean",
|
|
1179
|
+
"description": "Parameter active"
|
|
1180
|
+
},
|
|
1181
|
+
"tags": {
|
|
1182
|
+
"type": "array",
|
|
1183
|
+
"description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
|
|
1184
|
+
"items": {
|
|
1185
|
+
"type": "object",
|
|
1186
|
+
"properties": {}
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
"excludePinnedData": {
|
|
1190
|
+
"type": "boolean",
|
|
1191
|
+
"description": "Set this to avoid retrieving pinned data"
|
|
1192
|
+
},
|
|
1193
|
+
"nodes": {
|
|
1194
|
+
"type": "array",
|
|
1195
|
+
"description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
|
|
1196
|
+
"items": {
|
|
1197
|
+
"type": "object",
|
|
1198
|
+
"properties": {}
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
"connections": {
|
|
1202
|
+
"type": "object",
|
|
1203
|
+
"description": "Connections map keyed by node name, following n8n workflow schema.",
|
|
1204
|
+
"properties": {}
|
|
1205
|
+
},
|
|
1206
|
+
"settings": {
|
|
1207
|
+
"type": "object",
|
|
1208
|
+
"description": "Workflow settings object (timezone, executionTimeout, etc.).",
|
|
1209
|
+
"properties": {}
|
|
1210
|
+
},
|
|
1211
|
+
"staticData": {
|
|
1212
|
+
"type": "string",
|
|
1213
|
+
"description": "Property staticData"
|
|
1214
|
+
},
|
|
1215
|
+
"shared": {
|
|
1216
|
+
"type": "array",
|
|
1217
|
+
"description": "Property shared",
|
|
1218
|
+
"items": {
|
|
1219
|
+
"type": "object",
|
|
1220
|
+
"properties": {}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"activeVersion": {
|
|
1224
|
+
"type": "object",
|
|
1225
|
+
"description": "Property activeVersion",
|
|
1226
|
+
"properties": {}
|
|
1227
|
+
},
|
|
1228
|
+
"description": {
|
|
1229
|
+
"type": "string",
|
|
1230
|
+
"description": "Property description"
|
|
1231
|
+
},
|
|
1232
|
+
"tag_ids": {
|
|
1233
|
+
"type": "array",
|
|
1234
|
+
"description": "Tag IDs to apply to the workflow: [{ id }].",
|
|
1235
|
+
"items": {
|
|
1236
|
+
"type": "object",
|
|
1237
|
+
"properties": {}
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
"action": {
|
|
1241
|
+
"type": "string",
|
|
1242
|
+
"enum": [
|
|
1243
|
+
"delete_credential",
|
|
1244
|
+
"delete_execution",
|
|
1245
|
+
"delete_project",
|
|
1246
|
+
"delete_tag",
|
|
1247
|
+
"delete_user",
|
|
1248
|
+
"delete_variable",
|
|
1249
|
+
"delete_workflow",
|
|
1250
|
+
"remove_project_user"
|
|
1251
|
+
],
|
|
1252
|
+
"description": "Action to perform",
|
|
1253
|
+
"required": true
|
|
1254
|
+
},
|
|
1255
|
+
"additionalOptions": {
|
|
1256
|
+
"type": "object",
|
|
1257
|
+
"description": "Property additionalOptions",
|
|
1258
|
+
"properties": {}
|
|
1259
|
+
},
|
|
1260
|
+
"id": {
|
|
1261
|
+
"type": [
|
|
1262
|
+
"string",
|
|
1263
|
+
"number"
|
|
1264
|
+
],
|
|
1265
|
+
"description": "Property id",
|
|
1266
|
+
"required_for": [
|
|
1267
|
+
"delete_credential",
|
|
1268
|
+
"delete_execution",
|
|
1269
|
+
"delete_tag",
|
|
1270
|
+
"delete_user",
|
|
1271
|
+
"delete_variable",
|
|
1272
|
+
"delete_workflow"
|
|
1273
|
+
],
|
|
1274
|
+
"required": false
|
|
1275
|
+
},
|
|
1276
|
+
"credentialTypeName": {
|
|
1277
|
+
"type": "string",
|
|
1278
|
+
"description": "The credential type name that you want to get the schema for"
|
|
1279
|
+
},
|
|
1280
|
+
"force": {
|
|
1281
|
+
"type": "boolean",
|
|
1282
|
+
"description": "Property force"
|
|
1283
|
+
},
|
|
1284
|
+
"variables": {
|
|
1285
|
+
"type": "object",
|
|
1286
|
+
"description": "Property variables",
|
|
1287
|
+
"properties": {}
|
|
1288
|
+
},
|
|
1289
|
+
"versionId": {
|
|
1290
|
+
"type": "string",
|
|
1291
|
+
"description": "The version ID to retrieve"
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"name": "run_n8n_operations",
|
|
1297
|
+
"description": "Execute non-CRUD n8n operations (audit, retries, transfers, activation, source control).",
|
|
1298
|
+
"metadata_params": [
|
|
1299
|
+
"action"
|
|
1300
|
+
],
|
|
1301
|
+
"operations": {
|
|
1302
|
+
"generate_audit": "post_/audit",
|
|
1303
|
+
"transfer_credential": "put_/credentials/{id}/transfer",
|
|
1304
|
+
"retry_execution": "post_/executions/{id}/retry",
|
|
1305
|
+
"pull_source_control": "post_/source-control/pull",
|
|
1306
|
+
"activate_workflow": "post_/workflows/{id}/activate",
|
|
1307
|
+
"deactivate_workflow": "post_/workflows/{id}/deactivate",
|
|
1308
|
+
"transfer_workflow": "put_/workflows/{id}/transfer"
|
|
1309
|
+
},
|
|
1310
|
+
"response_fields": {
|
|
1311
|
+
"generate_audit": [
|
|
1312
|
+
"\"Credentials Risk Report\"",
|
|
1313
|
+
"\"Database Risk Report\"",
|
|
1314
|
+
"\"Nodes Risk Report\"",
|
|
1315
|
+
"\"Filesystem Risk Report\"",
|
|
1316
|
+
"\"Instance Risk Report\""
|
|
1317
|
+
],
|
|
1318
|
+
"retry_execution": [
|
|
1319
|
+
"id",
|
|
1320
|
+
"status",
|
|
1321
|
+
"mode",
|
|
1322
|
+
"startedAt",
|
|
1323
|
+
"stoppedAt",
|
|
1324
|
+
"workflowId",
|
|
1325
|
+
"finished",
|
|
1326
|
+
"retryOf",
|
|
1327
|
+
"retrySuccessId"
|
|
935
1328
|
],
|
|
936
|
-
"
|
|
1329
|
+
"pull_source_control": [
|
|
1330
|
+
"variables(added,changed)",
|
|
1331
|
+
"credentials(id,name,type)",
|
|
1332
|
+
"workflows(id,name)",
|
|
1333
|
+
"tags(tags(id,name),mappings(workflowId,tagId))"
|
|
1334
|
+
],
|
|
1335
|
+
"activate_workflow": [
|
|
937
1336
|
"id",
|
|
938
1337
|
"name",
|
|
939
1338
|
"active",
|
|
@@ -942,12 +1341,251 @@
|
|
|
942
1341
|
"tags(id,name)",
|
|
943
1342
|
"settings(timezone,executionTimeout)"
|
|
944
1343
|
],
|
|
945
|
-
"
|
|
1344
|
+
"deactivate_workflow": [
|
|
946
1345
|
"id",
|
|
947
1346
|
"name",
|
|
1347
|
+
"active",
|
|
948
1348
|
"createdAt",
|
|
949
|
-
"updatedAt"
|
|
1349
|
+
"updatedAt",
|
|
1350
|
+
"tags(id,name)",
|
|
1351
|
+
"settings(timezone,executionTimeout)"
|
|
950
1352
|
]
|
|
1353
|
+
},
|
|
1354
|
+
"parameters": {
|
|
1355
|
+
"name": {
|
|
1356
|
+
"type": "string",
|
|
1357
|
+
"description": "Property name"
|
|
1358
|
+
},
|
|
1359
|
+
"type": {
|
|
1360
|
+
"type": "string",
|
|
1361
|
+
"description": "Property type"
|
|
1362
|
+
},
|
|
1363
|
+
"data": {
|
|
1364
|
+
"type": "object",
|
|
1365
|
+
"description": "Credential data (object). Required when creating or changing credential type.",
|
|
1366
|
+
"properties": {}
|
|
1367
|
+
},
|
|
1368
|
+
"isResolvable": {
|
|
1369
|
+
"type": "boolean",
|
|
1370
|
+
"description": "Property isResolvable"
|
|
1371
|
+
},
|
|
1372
|
+
"createdAt": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"description": "Property createdAt"
|
|
1375
|
+
},
|
|
1376
|
+
"updatedAt": {
|
|
1377
|
+
"type": "string",
|
|
1378
|
+
"description": "Property updatedAt"
|
|
1379
|
+
},
|
|
1380
|
+
"isGlobal": {
|
|
1381
|
+
"type": "boolean",
|
|
1382
|
+
"description": "Property isGlobal"
|
|
1383
|
+
},
|
|
1384
|
+
"isPartialData": {
|
|
1385
|
+
"type": "boolean",
|
|
1386
|
+
"description": "Property isPartialData"
|
|
1387
|
+
},
|
|
1388
|
+
"destinationProjectId": {
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"description": "Property destinationProjectId",
|
|
1391
|
+
"required_for": [
|
|
1392
|
+
"transfer_credential",
|
|
1393
|
+
"transfer_workflow"
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
"includeData": {
|
|
1397
|
+
"type": "boolean",
|
|
1398
|
+
"description": "Whether or not to include the execution's detailed data."
|
|
1399
|
+
},
|
|
1400
|
+
"status": {
|
|
1401
|
+
"type": "string",
|
|
1402
|
+
"description": "Status to filter the executions by."
|
|
1403
|
+
},
|
|
1404
|
+
"workflowId": {
|
|
1405
|
+
"type": "string",
|
|
1406
|
+
"description": "Workflow to filter the executions by."
|
|
1407
|
+
},
|
|
1408
|
+
"projectId": {
|
|
1409
|
+
"type": "string",
|
|
1410
|
+
"description": "Parameter projectId"
|
|
1411
|
+
},
|
|
1412
|
+
"limit": {
|
|
1413
|
+
"type": "number",
|
|
1414
|
+
"description": "The maximum number of items to return."
|
|
1415
|
+
},
|
|
1416
|
+
"cursor": {
|
|
1417
|
+
"type": "string",
|
|
1418
|
+
"description": "Paginate by setting the cursor parameter to the nextCursor attribute returned by the previous request's response. Default value fetches the first \"page\" of the collection. See pagination for more detail."
|
|
1419
|
+
},
|
|
1420
|
+
"loadWorkflow": {
|
|
1421
|
+
"type": "boolean",
|
|
1422
|
+
"description": "Property loadWorkflow"
|
|
1423
|
+
},
|
|
1424
|
+
"relations": {
|
|
1425
|
+
"type": "array",
|
|
1426
|
+
"description": "Array of user relations to add: [{ userId, role }]",
|
|
1427
|
+
"items": {
|
|
1428
|
+
"type": "object",
|
|
1429
|
+
"properties": {
|
|
1430
|
+
"userId": {
|
|
1431
|
+
"type": "string"
|
|
1432
|
+
},
|
|
1433
|
+
"role": {
|
|
1434
|
+
"type": "string"
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"userId": {
|
|
1440
|
+
"type": "string",
|
|
1441
|
+
"description": "The ID of the user."
|
|
1442
|
+
},
|
|
1443
|
+
"role": {
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"description": "Property role"
|
|
1446
|
+
},
|
|
1447
|
+
"includeRole": {
|
|
1448
|
+
"type": "boolean",
|
|
1449
|
+
"description": "Whether to include the user's role or not."
|
|
1450
|
+
},
|
|
1451
|
+
"newRoleName": {
|
|
1452
|
+
"type": "string",
|
|
1453
|
+
"description": "Property newRoleName"
|
|
1454
|
+
},
|
|
1455
|
+
"users": {
|
|
1456
|
+
"type": "array",
|
|
1457
|
+
"description": "Array of users to create: [{ email, role }].",
|
|
1458
|
+
"items": {
|
|
1459
|
+
"type": "object",
|
|
1460
|
+
"properties": {}
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
"state": {
|
|
1464
|
+
"type": "string",
|
|
1465
|
+
"description": "Parameter state"
|
|
1466
|
+
},
|
|
1467
|
+
"key": {
|
|
1468
|
+
"type": "string",
|
|
1469
|
+
"description": "Property key"
|
|
1470
|
+
},
|
|
1471
|
+
"value": {
|
|
1472
|
+
"type": "string",
|
|
1473
|
+
"description": "Property value"
|
|
1474
|
+
},
|
|
1475
|
+
"active": {
|
|
1476
|
+
"type": "boolean",
|
|
1477
|
+
"description": "Parameter active"
|
|
1478
|
+
},
|
|
1479
|
+
"tags": {
|
|
1480
|
+
"type": "array",
|
|
1481
|
+
"description": "Workflow tags (array of tag objects). Read-only on create/update; use update_tags action to modify.",
|
|
1482
|
+
"items": {
|
|
1483
|
+
"type": "object",
|
|
1484
|
+
"properties": {}
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"excludePinnedData": {
|
|
1488
|
+
"type": "boolean",
|
|
1489
|
+
"description": "Set this to avoid retrieving pinned data"
|
|
1490
|
+
},
|
|
1491
|
+
"nodes": {
|
|
1492
|
+
"type": "array",
|
|
1493
|
+
"description": "Workflow nodes array. Each node should follow n8n node schema (id, name, type, typeVersion, position, parameters, etc.).",
|
|
1494
|
+
"items": {
|
|
1495
|
+
"type": "object",
|
|
1496
|
+
"properties": {}
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
"connections": {
|
|
1500
|
+
"type": "object",
|
|
1501
|
+
"description": "Connections map keyed by node name, following n8n workflow schema.",
|
|
1502
|
+
"properties": {}
|
|
1503
|
+
},
|
|
1504
|
+
"settings": {
|
|
1505
|
+
"type": "object",
|
|
1506
|
+
"description": "Workflow settings object (timezone, executionTimeout, etc.).",
|
|
1507
|
+
"properties": {}
|
|
1508
|
+
},
|
|
1509
|
+
"staticData": {
|
|
1510
|
+
"type": "string",
|
|
1511
|
+
"description": "Property staticData"
|
|
1512
|
+
},
|
|
1513
|
+
"shared": {
|
|
1514
|
+
"type": "array",
|
|
1515
|
+
"description": "Property shared",
|
|
1516
|
+
"items": {
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"properties": {}
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
"activeVersion": {
|
|
1522
|
+
"type": "object",
|
|
1523
|
+
"description": "Property activeVersion",
|
|
1524
|
+
"properties": {}
|
|
1525
|
+
},
|
|
1526
|
+
"description": {
|
|
1527
|
+
"type": "string",
|
|
1528
|
+
"description": "Property description"
|
|
1529
|
+
},
|
|
1530
|
+
"tag_ids": {
|
|
1531
|
+
"type": "array",
|
|
1532
|
+
"description": "Tag IDs to apply to the workflow: [{ id }].",
|
|
1533
|
+
"items": {
|
|
1534
|
+
"type": "object",
|
|
1535
|
+
"properties": {}
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
"action": {
|
|
1539
|
+
"type": "string",
|
|
1540
|
+
"enum": [
|
|
1541
|
+
"activate_workflow",
|
|
1542
|
+
"deactivate_workflow",
|
|
1543
|
+
"generate_audit",
|
|
1544
|
+
"pull_source_control",
|
|
1545
|
+
"retry_execution",
|
|
1546
|
+
"transfer_credential",
|
|
1547
|
+
"transfer_workflow"
|
|
1548
|
+
],
|
|
1549
|
+
"description": "Action to perform",
|
|
1550
|
+
"required": true
|
|
1551
|
+
},
|
|
1552
|
+
"additionalOptions": {
|
|
1553
|
+
"type": "object",
|
|
1554
|
+
"description": "Property additionalOptions",
|
|
1555
|
+
"properties": {}
|
|
1556
|
+
},
|
|
1557
|
+
"id": {
|
|
1558
|
+
"type": [
|
|
1559
|
+
"string",
|
|
1560
|
+
"number"
|
|
1561
|
+
],
|
|
1562
|
+
"description": "Property id",
|
|
1563
|
+
"required_for": [
|
|
1564
|
+
"transfer_credential",
|
|
1565
|
+
"retry_execution",
|
|
1566
|
+
"activate_workflow",
|
|
1567
|
+
"deactivate_workflow",
|
|
1568
|
+
"transfer_workflow"
|
|
1569
|
+
],
|
|
1570
|
+
"required": false
|
|
1571
|
+
},
|
|
1572
|
+
"credentialTypeName": {
|
|
1573
|
+
"type": "string",
|
|
1574
|
+
"description": "The credential type name that you want to get the schema for"
|
|
1575
|
+
},
|
|
1576
|
+
"force": {
|
|
1577
|
+
"type": "boolean",
|
|
1578
|
+
"description": "Property force"
|
|
1579
|
+
},
|
|
1580
|
+
"variables": {
|
|
1581
|
+
"type": "object",
|
|
1582
|
+
"description": "Property variables",
|
|
1583
|
+
"properties": {}
|
|
1584
|
+
},
|
|
1585
|
+
"versionId": {
|
|
1586
|
+
"type": "string",
|
|
1587
|
+
"description": "The version ID to retrieve"
|
|
1588
|
+
}
|
|
951
1589
|
}
|
|
952
1590
|
}
|
|
953
1591
|
],
|