Vigiar
1
0
Derivar
Você já tinha feito uma derivação do repositório api-n8n-node, anteriormente
0
api-n8n-node/nodes/MozOutMz/descriptions/ActionsDescription.ts
2026-11-28 15:28:09 +02:00

52 linhas
1,3 KiB
TypeScript

// Generated from the OpenAPI specification. Do not edit by hand: regenerate.
import type { INodeProperties } from 'n8n-workflow';
export const actionsOperations: INodeProperties[] = [{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"action"
]
}
},
"options": [
{
"name": "Follow a long-running operation",
"value": "get",
"description": "Long operations answer `202` with an `action_id`. Use this operation to follow the result instead of repeating the request. Only actions of your own account can be seen.",
"action": "Follow a long-running operation",
"routing": {
"request": {
"method": "GET",
"url": "=/v1/actions/{{encodeURIComponent(String($parameter[\"id\"]))}}"
}
}
}
],
"default": "get"
}];
export const actionsFields: INodeProperties[] = [
{
"displayName": "ID",
"name": "id",
"type": "string",
"required": true,
"default": "",
"description": "The action_id received in the 202 answer.",
"displayOptions": {
"show": {
"resource": [
"action"
],
"operation": [
"get"
]
}
}
}
];