13.2. API endpoints


The following API endpoints are available:

  • /apis/batch/v1/jobs

    • GET: list or watch objects of kind Job
  • /apis/batch/v1/watch/jobs

    • GET: watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.
  • /apis/batch/v1/namespaces/{namespace}/jobs

    • DELETE: delete collection of Job
    • GET: list or watch objects of kind Job
    • POST: create a Job
  • /apis/batch/v1/watch/namespaces/{namespace}/jobs

    • GET: watch individual changes to a list of Job. deprecated: use the 'watch' parameter with a list operation instead.
  • /apis/batch/v1/namespaces/{namespace}/jobs/{name}

    • DELETE: delete a Job
    • GET: read the specified Job
    • PATCH: partially update the specified Job
    • PUT: replace the specified Job
  • /apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}

    • GET: watch changes to an object of kind Job. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
  • /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status

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

13.2.1. /apis/batch/v1/jobs

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

200 - OK

JobList schema

401 - Unauthorized

Empty

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

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

让开源更具包容性

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

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部