This is a cache of https://docs.okd.io/latest/rest_api/workloads_apis/buildlog-build-openshift-io-v1.html. It is a snapshot of the page at 2024-11-23T19:59:44.460+0000.
BuildLog [build.openshift.io/v1] - Workloads <strong>api</strong>s | <strong>api</strong> reference | OKD 4
×
Description

BuildLog is the (unused) resource associated with the build log redirector

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

Type

object

Specification

Property Type Description

apiVersion

string

apiVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

kind

string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

api endpoints

The following api endpoints are available:

  • /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/log

    • GET: read log of the specified Build

/apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/log

Table 1. Global path parameters
Parameter Type Description

name

string

name of the BuildLog

HTTP method

GET

Description

read log of the specified Build

Table 2. HTTP responses
HTTP code Reponse body

200 - OK

BuildLog schema

401 - Unauthorized

Empty