3.2. API endpoints


The following API endpoints are available:

  • /api/v1/podtemplates

    • GET: list or watch objects of kind PodTemplate
  • /api/v1/watch/podtemplates

    • GET: watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.
  • /api/v1/namespaces/{namespace}/podtemplates

    • DELETE: delete collection of PodTemplate
    • GET: list or watch objects of kind PodTemplate
    • POST: create a PodTemplate
  • /api/v1/watch/namespaces/{namespace}/podtemplates

    • GET: watch individual changes to a list of PodTemplate. deprecated: use the 'watch' parameter with a list operation instead.
  • /api/v1/namespaces/{namespace}/podtemplates/{name}

    • DELETE: delete a PodTemplate
    • GET: read the specified PodTemplate
    • PATCH: partially update the specified PodTemplate
    • PUT: replace the specified PodTemplate
  • /api/v1/watch/namespaces/{namespace}/podtemplates/{name}

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

3.2.1. /api/v1/podtemplates

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

200 - OK

PodTemplateList schema

401 - Unauthorized

Empty

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

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

让开源更具包容性

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

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部