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
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |