Auto-generated topic-contract + data-model sections via shared wikiGen script. Hand-written Mermaid diagrams for position-in-platform, code map, child registration, lifecycle, configuration, state chart (where applicable). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
|