github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/source/docs/http/nodes.html.md (about)

     1  ---
     2  layout: "http"
     3  page_title: "HTTP API: /v1/nodes"
     4  sidebar_current: "docs-http-nodes"
     5  description: |-
     6    The '/1/nodes' endpoint is used to list the client nodes.
     7  ---
     8  
     9  # /v1/nodes
    10  
    11  The `nodes` endpoint is used to query the status of client nodes.
    12  By default, the agent's local region is used; another region can
    13  be specified using the `?region=` query parameter.
    14  
    15  ## GET
    16  
    17  <dl>
    18    <dt>Description</dt>
    19    <dd>
    20      Lists all the client nodes registered with Nomad.
    21    </dd>
    22  
    23    <dt>Method</dt>
    24    <dd>GET</dd>
    25  
    26    <dt>URL</dt>
    27    <dd>`/v1/nodes`</dd>
    28  
    29    <dt>Parameters</dt>
    30    <dd>
    31      None
    32    </dd>
    33  
    34    <dt>Returns</dt>
    35    <dd>
    36  
    37      ```javascript
    38      [
    39      {
    40          "ID": "c9972143-861d-46e6-df73-1d8287bc3e66",
    41          "Datacenter": "dc1",
    42          "Name": "web-8e40e308",
    43          "NodeClass": "",
    44          "Drain": false,
    45          "Status": "ready",
    46          "StatusDescription": "",
    47          "CreateIndex": 3,
    48          "ModifyIndex": 4
    49      },
    50      ...
    51      ]
    52      ```
    53  
    54    </dd>
    55  </dl>
    56  
    57