{ "opencollection": "1.0.0", "info": { "name": "Red Hat OpenShift Container Platform Add-ons Projects API", "version": "4.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Projects", "type": "folder" }, "items": [ { "info": { "name": "List Projects", "type": "http" }, "http": { "method": "GET", "url": "https://api.{cluster}:6443/apis/project.openshift.io/v1/projects", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of resources to return" }, { "name": "continue", "value": "", "type": "query", "description": "Pagination continue token" }, { "name": "labelSelector", "value": "", "type": "query", "description": "Label selector to filter resources (e.g., app=myapp)" }, { "name": "fieldSelector", "value": "", "type": "query", "description": "Field selector to filter resources" } ] }, "docs": "Returns a list of OpenShift projects that the authenticated user has access to. Projects are OpenShift's tenant wrapper around Kubernetes namespaces." }, { "info": { "name": "Create Project", "type": "http" }, "http": { "method": "POST", "url": "https://api.{cluster}:6443/apis/project.openshift.io/v1/projects", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new OpenShift project. Projects are automatically provisioned with default RBAC policies and network policies based on the cluster configuration." }, { "info": { "name": "Get Project", "type": "http" }, "http": { "method": "GET", "url": "https://api.{cluster}:6443/apis/project.openshift.io/v1/projects/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Resource name" } ] }, "docs": "Returns details for a specific OpenShift project." }, { "info": { "name": "Update Project", "type": "http" }, "http": { "method": "PUT", "url": "https://api.{cluster}:6443/apis/project.openshift.io/v1/projects/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Resource name" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces an existing OpenShift project." }, { "info": { "name": "Delete Project", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.{cluster}:6443/apis/project.openshift.io/v1/projects/:name", "params": [ { "name": "name", "value": "", "type": "path", "description": "Resource name" } ] }, "docs": "Deletes an OpenShift project and all resources within it." } ] } ], "bundled": true }