19 lines
647 B
Plaintext
19 lines
647 B
Plaintext
|
|
No domain output. dashboardAPI emits **HTTP request envelopes on Port 0**, shaped for a downstream `http request` node:
|
||
|
|
|
||
|
|
```js
|
||
|
|
{
|
||
|
|
topic: 'create',
|
||
|
|
url: 'http://<grafana>:<port>/api/dashboards/db',
|
||
|
|
method: 'POST',
|
||
|
|
headers: {
|
||
|
|
Accept: 'application/json',
|
||
|
|
'Content-Type': 'application/json',
|
||
|
|
Authorization: 'Bearer …' // only when bearerToken is set
|
||
|
|
},
|
||
|
|
payload: { dashboard: {…}, folderId: 0, overwrite: true },
|
||
|
|
meta: { nodeId, softwareType, uid, title }
|
||
|
|
}
|
||
|
|
```
|
||
|
|
|
||
|
|
Port 1 (InfluxDB telemetry) and Port 2 (registration / control plumbing) are unused — dashboardAPI has no measurements and does not register with a parent.
|