{ "opencollection": "1.0.0", "info": { "name": "Ambassador Edge Stack Diagnostics Hosts API", "version": "3.x" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Hosts", "type": "folder" }, "items": [ { "info": { "name": "Ambassador List All Hosts in a Namespace", "type": "http" }, "http": { "method": "GET", "url": "https://{ambassador-host}:8877/apis/getambassador.io/v3alpha1/namespaces/:namespace/hosts", "params": [ { "name": "namespace", "value": "default", "type": "path", "description": "Kubernetes namespace" }, { "name": "labelSelector", "value": "app=my-service", "type": "query", "description": "Kubernetes label selector to filter resources" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of resources to return" }, { "name": "continue", "value": "", "type": "query", "description": "Continuation token for paginated results" } ] }, "docs": "Returns a list of all Host resources in the specified namespace. Hosts define how Ambassador should handle requests for specific hostnames, including TLS termination and ACME certificate provisioning." }, { "info": { "name": "Ambassador Create a New Host", "type": "http" }, "http": { "method": "POST", "url": "https://{ambassador-host}:8877/apis/getambassador.io/v3alpha1/namespaces/:namespace/hosts", "params": [ { "name": "namespace", "value": "default", "type": "path", "description": "Kubernetes namespace" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new Host resource in the specified namespace. A Host defines hostname routing, TLS termination behavior, and optionally configures ACME-based automatic certificate management." }, { "info": { "name": "Ambassador Get a Specific Host", "type": "http" }, "http": { "method": "GET", "url": "https://{ambassador-host}:8877/apis/getambassador.io/v3alpha1/namespaces/:namespace/hosts/:name", "params": [ { "name": "namespace", "value": "default", "type": "path", "description": "Kubernetes namespace" }, { "name": "name", "value": "", "type": "path", "description": "Name of the resource" } ] }, "docs": "Retrieves the specification and status of a specific Host resource." }, { "info": { "name": "Ambassador Update a Host", "type": "http" }, "http": { "method": "PUT", "url": "https://{ambassador-host}:8877/apis/getambassador.io/v3alpha1/namespaces/:namespace/hosts/:name", "params": [ { "name": "namespace", "value": "default", "type": "path", "description": "Kubernetes namespace" }, { "name": "name", "value": "", "type": "path", "description": "Name of the resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces an existing Host resource with the provided specification." }, { "info": { "name": "Ambassador Delete a Host", "type": "http" }, "http": { "method": "DELETE", "url": "https://{ambassador-host}:8877/apis/getambassador.io/v3alpha1/namespaces/:namespace/hosts/:name", "params": [ { "name": "namespace", "value": "default", "type": "path", "description": "Kubernetes namespace" }, { "name": "name", "value": "", "type": "path", "description": "Name of the resource" } ] }, "docs": "Deletes a specific Host resource. TLS termination and hostname routing for this host will be removed." } ] } ], "bundled": true }