{ "opencollection": "1.0.0", "info": { "name": "Red Hat OpenShift Container Platform Add-ons Builds API", "version": "4.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Builds", "type": "folder" }, "items": [ { "info": { "name": "List Build Configs", "type": "http" }, "http": { "method": "GET", "url": "https://api.{cluster}:6443/apis/build.openshift.io/v1/namespaces/:namespace/buildconfigs", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace" }, { "name": "labelSelector", "value": "", "type": "query", "description": "Label selector to filter resources (e.g., app=myapp)" } ] }, "docs": "Returns a list of BuildConfigs in the specified namespace. BuildConfigs define the source-to-image or Dockerfile build process for generating container images." }, { "info": { "name": "Create Build Config", "type": "http" }, "http": { "method": "POST", "url": "https://api.{cluster}:6443/apis/build.openshift.io/v1/namespaces/:namespace/buildconfigs", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new BuildConfig defining the build process." }, { "info": { "name": "List Builds", "type": "http" }, "http": { "method": "GET", "url": "https://api.{cluster}:6443/apis/build.openshift.io/v1/namespaces/:namespace/builds", "params": [ { "name": "namespace", "value": "", "type": "path", "description": "Kubernetes namespace" }, { "name": "labelSelector", "value": "", "type": "query", "description": "Label selector to filter resources (e.g., app=myapp)" } ] }, "docs": "Returns a list of Build instances in the specified namespace." } ] } ], "bundled": true }