HashiCorp Nomad Nodes API
Endpoints for querying and managing client nodes registered with the Nomad cluster.
HashiCorp Nomad Nodes API is one of 22 APIs that HashiCorp Nomad publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
This API exposes 1 JSON Schema definition.
Tagged areas include Nodes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and 1 JSON Schema.
This API exposes 5 operations across 5 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.9.0.
Requests are made against a single base URL, http://localhost:4646/v1.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
HashiCorp Nomad Nodes API declares
2 security schemes
for authenticating requests.
An API key is passed in the header as X-Nomad-Token (nomadToken).
It accepts HTTP bearer tokens (bearerAuth).
By default, every request must be authenticated.
nomadToken— ACL token passed via the X-Nomad-Token request header.bearerAuth— ACL token passed via the Authorization header with Bearer scheme.
Paths & Operations 5
Across 5 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Endpoints for querying and managing client nodes registered with the Nomad cluster.
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Node (17 properties), NodeListStub (13 properties), NetworkResource (8 properties), Resources (6 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from HashiCorp Nomad 12
Other APIs HashiCorp Nomad publishes across the network.