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 Builds API

Build and BuildConfig resources for source-to-image and Dockerfile builds

Red Hat OpenShift Builds 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 Builds. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 3 operations across 2 paths, and defines 5 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.

3 operations 2 paths 5 schemas 2 GET1 POST

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 Builds API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 3

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

Builds 3

Build and BuildConfig resources for source-to-image and Dockerfile builds

GET
/apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs
List Build Configs
listBuildConfigs 2 params → 200
POST
/apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs
Create Build Config
createBuildConfig 1 param body → 201
GET
/apis/build.openshift.io/v1/namespaces/{namespace}/builds
List Builds
listBuilds 2 params → 200

Schemas 5

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

Build
object
4 properties
ObjectMeta
object
7 properties
BuildConfigList
object
1 property
BuildConfig
object
4 properties
BuildList
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

red-hat-openshift-builds-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 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
Red Hat OpenShift Projects API