4.2. API endpoints


The following API endpoints are available:

  • /apis/template.openshift.io/v1/templates

    • GET: list or watch objects of kind Template
  • /apis/template.openshift.io/v1/watch/templates

    • GET: watch individual changes to a list of Template. deprecated: use the 'watch' parameter with a list operation instead.
  • /apis/template.openshift.io/v1/namespaces/{namespace}/templates

    • DELETE: delete collection of Template
    • GET: list or watch objects of kind Template
    • POST: create a Template
  • /apis/template.openshift.io/v1/watch/namespaces/{namespace}/templates

    • GET: watch individual changes to a list of Template. deprecated: use the 'watch' parameter with a list operation instead.
  • /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name}

    • DELETE: delete a Template
    • GET: read the specified Template
    • PATCH: partially update the specified Template
    • PUT: replace the specified Template
  • /apis/template.openshift.io/v1/namespaces/{namespace}/processedtemplates

    • POST: create a Template
  • /apis/template.openshift.io/v1/watch/namespaces/{namespace}/templates/{name}

    • GET: watch changes to an object of kind Template. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.

4.2.1. /apis/template.openshift.io/v1/templates

HTTP method
GET
Description
list or watch objects of kind Template
Expand
表 4.1. HTTP responses
HTTP codeReponse body

200 - OK

TemplateList schema

401 - Unauthorized

Empty

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

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

让开源更具包容性

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

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部