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/TokenDescription.ts
2026-11-28 15:28:09 +02:00

45 linhas
1,2 KiB
TypeScript

// Generated from the OpenAPI specification. Do not edit by hand: regenerate.
import type { INodeProperties } from 'n8n-workflow';
export const tokenOperations: INodeProperties[] = [{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"token"
]
}
},
"options": [
{
"name": "See the key in use",
"value": "get",
"description": "Returns the permissions, validity and limits of the key that made the request. Any valid key can call it. The key itself is never returned.",
"action": "See the key in use",
"routing": {
"request": {
"method": "GET",
"url": "=/v1/token"
}
}
},
{
"name": "See the limits of the key",
"value": "limitsGet",
"description": "Returns the requests left in the current minute and the spending limit of the key.",
"action": "See the limits of the key",
"routing": {
"request": {
"method": "GET",
"url": "=/v1/limits"
}
}
}
],
"default": "get"
}];
export const tokenFields: INodeProperties[] = [];