{ "opencollection": "1.0.0", "info": { "name": "Knative Eventing Apis API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Apis", "type": "folder" }, "items": [ { "info": { "name": "List Knative Services", "type": "http" }, "http": { "method": "GET", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/services", "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 Service resources in the specified namespace. Services are the primary resource for deploying serverless workloads and automatically manage Routes, Configurations, and Revisions." }, { "info": { "name": "Create a Knative Service", "type": "http" }, "http": { "method": "POST", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/services", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace containing the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new Knative Service resource. Knative will automatically create a corresponding Route and Configuration, and will create the first Revision from the provided template. The Service begins routing traffic to the Revision once it becomes ready." }, { "info": { "name": "Get a Knative Service", "type": "http" }, "http": { "method": "GET", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/services/: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 Service including its template spec, traffic configuration, and status conditions reflecting readiness, latestCreatedRevisionName, and latestReadyRevisionName." }, { "info": { "name": "Replace a Knative Service", "type": "http" }, "http": { "method": "PUT", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/services/:name", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace containing the resource." }, { "name": "name", "value": "", "type": "path", "description": "Name of the Knative resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces a Knative Service. Any change to the spec.template causes Knative to create a new Revision. Traffic routing continues to the previous Revision until the new one becomes ready, unless traffic configuration specifies otherwise." }, { "info": { "name": "Delete a Knative Service", "type": "http" }, "http": { "method": "DELETE", "url": "https://kubernetes.default.svc/apis/serving.knative.dev/v1/namespaces/:namespace/services/: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 Service and all its owned resources including Routes, Configurations, and Revisions. Pods are terminated and the DNS entries are removed." } ] } ], "bundled": true }