{ "opencollection": "1.0.0", "info": { "name": "Knative Eventing Apis Routes API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Routes", "type": "folder" }, "items": [ { "info": { "name": "List Knative Routes", "type": "http" }, "http": { "method": "GET", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/routes", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace containing the resource." }, { "name": "labelSelector", "value": "", "type": "query", "description": "Selector to filter resources by label key-value pairs." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return in a single response." }, { "name": "continue", "value": "", "type": "query", "description": "Pagination token returned by a previous list call." } ] }, "docs": "Returns a list of all Knative Route resources in the specified namespace. Routes map network endpoints to Revisions and manage percentage-based traffic distribution." }, { "info": { "name": "Create a Knative Route", "type": "http" }, "http": { "method": "POST", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/routes", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace containing the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new Knative Route resource. Routes can distribute traffic across multiple Revisions using percentage-based splitting. Traffic percentages across all targets must sum to 100." }, { "info": { "name": "Get a Knative Route", "type": "http" }, "http": { "method": "GET", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/routes/:name", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace containing the resource." }, { "name": "name", "value": "", "type": "path", "description": "Name of the Knative resource." } ] }, "docs": "Returns the details of a specific Knative Route including its traffic targets, URLs for named routes, and status conditions." }, { "info": { "name": "Delete a Knative Route", "type": "http" }, "http": { "method": "DELETE", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/routes/:name", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace containing the resource." }, { "name": "name", "value": "", "type": "path", "description": "Name of the Knative resource." } ] }, "docs": "Deletes a Knative Route. Traffic to the associated URL will cease. Note that Routes owned by a Service are automatically deleted when the Service is deleted." } ] } ], "bundled": true }