Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Red Hat OpenShift Projects API

OpenShift Project resources for multi-tenant workspace management

Red Hat OpenShift Projects API is one of 16 APIs that Red Hat OpenShift publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Projects. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 5 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 4.0.

Requests are made against a single base URL, https://api.{cluster}:6443.

5 operations 2 paths 4 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
4.0
Base URL
https://api.cluster.example.com:6443
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Red Hat OpenShift Projects API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Projects 5

OpenShift Project resources for multi-tenant workspace management

GET
/apis/project.openshift.io/v1/projects
List Projects
listProjects 4 params → 200401
POST
/apis/project.openshift.io/v1/projects
Create Project
createProject body → 201401409
GET
/apis/project.openshift.io/v1/projects/{name}
Get Project
getProject 1 param → 200404
PUT
/apis/project.openshift.io/v1/projects/{name}
Update Project
updateProject 1 param body → 200
DELETE
/apis/project.openshift.io/v1/projects/{name}
Delete Project
deleteProject 1 param → 200404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ObjectMeta (7 properties), Status (6 properties), Project (5 properties), ProjectList (4 properties). Each schema is shown below with its type and property counts.

ObjectMeta
object
7 properties
Status
object
6 properties
Project
object
5 properties
ProjectList
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

red-hat-openshift-projects-api-openapi.yml Raw ↑

Other APIs Red Hat OpenShift publishes across the network.

Red Hat OpenShift Pipelines (Tekton) API
Red Hat OpenShift GitOps (ArgoCD) API
Red Hat OpenShift Service Mesh API
Red Hat OpenShift Serverless (Knative) API
Red Hat OpenShift Service on AWS (ROSA) API
Red Hat OpenShift Add-ons API
Red Hat OpenShift Builds API
Red Hat OpenShift Clusters API
Red Hat OpenShift Deployment Configs API
Red Hat OpenShift Identity Providers API
Red Hat OpenShift Image Streams API
Red Hat OpenShift Machine Pools API