Cockpit
Node: cockpit · Full type: n8n-nodes-base.cockpit · Version: 1
Credentials
cockpitApi (alias: @cockpit)
CREDENTIAL @cockpit = cockpitApi "My Cockpit"
Operations
Resource: collection
create
| Parameter |
Type |
Default |
Details |
jsonDataFields |
boolean |
false |
|
dataFieldsJson |
json |
"" |
|
dataFieldsUi |
fixedCollection |
{} |
groups: field |
getAll
| Parameter |
Type |
Default |
Details |
returnAll |
boolean |
false |
|
limit |
number |
100 |
|
options |
collection |
{} |
keys: fields, filter, language, populate, rawData, skip, ... |
update
| Parameter |
Type |
Default |
Details |
id |
string |
"" |
required |
jsonDataFields |
boolean |
false |
|
dataFieldsJson |
json |
"" |
|
dataFieldsUi |
fixedCollection |
{} |
groups: field |
submit
| Parameter |
Type |
Default |
Details |
jsonDataFields |
boolean |
false |
|
dataFieldsJson |
json |
"" |
|
dataFieldsUi |
fixedCollection |
{} |
groups: field |
Resource: singleton
get
No additional parameters.
Common Parameters
| Parameter |
Type |
Default |
Details |
collection |
options |
"" |
required |
form |
string |
"" |
required |
singleton |
options |
"" |
required |
Parameter Details
options children:
| Parameter |
Type |
Default |
Details |
fields |
string |
"" |
|
filter |
json |
"" |
|
language |
string |
"" |
|
populate |
boolean |
true |
|
rawData |
boolean |
false |
|
skip |
number |
"" |
|
sort |
json |
"" |
|
dataFieldsUi children:
field group:
| Parameter |
Type |
Default |
Details |
name |
string |
"" |
|
value |
string |
"" |
|
Example
NODE "cockpit" @cockpit AS "Cockpit" {
resource: "collection",
operation: "get",
id: {{ $json.id }},
form: {{ $json.form }}
}