{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Nomad HTTP ACL Allocations API", "version": "1.9.0" }, "request": { "auth": { "type": "apikey", "key": "X-Nomad-Token", "value": "{{X-Nomad-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Allocations", "type": "folder" }, "items": [ { "info": { "name": "List allocations", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/allocations", "params": [ { "name": "prefix", "value": "", "type": "query", "description": "Specifies a string to filter results based on an ID prefix." }, { "name": "namespace", "value": "", "type": "query", "description": "The target namespace. Defaults to the default namespace." }, { "name": "next_token", "value": "", "type": "query", "description": "Indicates where to start paging for queries that support pagination." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of results to return per page." }, { "name": "filter", "value": "", "type": "query", "description": "Specifies the expression used to filter the results." } ] }, "docs": "Lists all allocations in the system. Supports prefix-based filtering and pagination." }, { "info": { "name": "Read an allocation", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/allocation/:allocID", "params": [ { "name": "allocID", "value": "", "type": "path", "description": "The ID of the allocation." } ] }, "docs": "Returns the full details of the specified allocation." }, { "info": { "name": "List allocation services", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/allocation/:allocID/services", "params": [ { "name": "allocID", "value": "", "type": "path", "description": "The ID of the allocation." } ] }, "docs": "Returns the services registered by the specified allocation including address, port, and service name." }, { "info": { "name": "List allocation health checks", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/allocation/:allocID/checks", "params": [ { "name": "allocID", "value": "", "type": "path", "description": "The ID of the allocation." } ] }, "docs": "Returns the health check results for the specified allocation." } ] } ], "bundled": true }