Project

General

Profile

Actions

Bug #27300

open

rudder-server-8.3.2: API "rudder/api/latest/nodes/{id}" dosn't return properties[]

Added by Dmitry Svyatogorov 2 days ago. Updated 2 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
API
Target version:
-
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

I'm evaluating "node-inventory-received-pending" hook to auto-accept new nodes.
The example "auto-accept-nodes.example" shows the trick on how to query global parameter through the node properties.
But the query (at least, to the root node) returns empty properties set:

# curl -X GET -H @/var/rudder/run/api-token-header -H "Content-Type: application/json" "http://localhost:8080/rudder/api/latest/nodes/root?include=minimal,properties" | jq .
{
  "action": "nodeDetails",
  "id": "root",
  "result": "success",
  "data": {
    "nodes": [
      {
        "id": "root",
        "hostname": "rudder83.tld",
        "status": "accepted",
        "properties": []
      }
    ]
  }
}

While 3 properties are set for the "root" node, as it's seen in the web interface:

  • Also, API "/rudder/api/latest/parameters" returns 3 global parameters.

Files

rudder_properties.png (5.62 KB) rudder_properties.png Dmitry Svyatogorov, 2025-07-17 13:45
Actions

Also available in: Atom PDF