25.2. API endpoints


The following API endpoints are available:

  • /apis/operator.openshift.io/v1/openshiftapiservers

    • DELETE: delete collection of OpenShiftAPIServer
    • GET: list objects of kind OpenShiftAPIServer
    • POST: create an OpenShiftAPIServer
  • /apis/operator.openshift.io/v1/openshiftapiservers/{name}

    • DELETE: delete an OpenShiftAPIServer
    • GET: read the specified OpenShiftAPIServer
    • PATCH: partially update the specified OpenShiftAPIServer
    • PUT: replace the specified OpenShiftAPIServer
  • /apis/operator.openshift.io/v1/openshiftapiservers/{name}/status

    • GET: read status of the specified OpenShiftAPIServer
    • PATCH: partially update status of the specified OpenShiftAPIServer
    • PUT: replace status of the specified OpenShiftAPIServer

25.2.1. /apis/operator.openshift.io/v1/openshiftapiservers

HTTP method
DELETE
Description
delete collection of OpenShiftAPIServer
Expand
表 25.1. HTTP responses
HTTP codeReponse body

200 - OK

Status schema

401 - Unauthorized

Empty

HTTP method
GET
Description
list objects of kind OpenShiftAPIServer
Expand
表 25.2. HTTP responses
HTTP codeReponse body

200 - OK

OpenShiftAPIServerList schema

401 - Unauthorized

Empty

HTTP method
POST
Description
create an OpenShiftAPIServer
Expand
表 25.3. Query parameters
ParameterTypeDescription

dryRun

string

When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

fieldValidation

string

fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Expand
表 25.4. Body parameters
ParameterTypeDescription

body

OpenShiftAPIServer schema

 
Expand
表 25.5. HTTP responses
HTTP codeReponse body

200 - OK

OpenShiftAPIServer schema

201 - Created

OpenShiftAPIServer schema

202 - Accepted

OpenShiftAPIServer schema

401 - Unauthorized

Empty

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部