Skip to main content
Version: QB10

Get System Attributes of Grid Node

System attributes of grid node can be fetched via RESTful call.

warning

This feature is available since QuickBuild 5.1.22

Syntax​

System attributes can be fetched by accessing below url:

http://localhost:8810/rest/system_attributes/<node address>

Here <node address> should be replaced with address of the grid node, for instance: agent:8811 . The response is of mime type text/xml and the content is XML representation of system attributes for specified grid node.

Security​

You will need to use http BASIC authentication to login as user with node attribute access permission to get system attributes of a grid node.

Demo​

We use curl to demonstrate how to get system attributes:

  1. Connect a build agent to your grid and get it authorized. Assume the agent address is agent1:8811.

  2. Run below command:

    curl -u admin:admin http://<QB server>:8810/rest/system_attributes/agent1:8811
  3. If above command succeeds, XML representation of the system attributes map will be printed.