Get container jobs

get/container/job

Returns a collection of container jobs, including jobs for project containers that were created, those that are still being created, and those that failed to be created.

Request Samples

Response Samples

1{
2 "start": 0,
3 "limit": 50,
4 "count": 3,
5 "items": [
6 {
7 "id": "0",
8 "sequence": 0,
9 "containerName": "A name for a project container",
10 "status": "QUEUED",
11 "statusMessage": "Not yet processed",
12 "createdBy": "Mohammed Lee",
13 "creationTimeStamp": "2024/04/24 09:11:52",
14 "projectName": "Project1",
15 "projectVersion": {
16 "major": 1,
17 "minor": 2
18 },
19 "description": "A description for the new project container",
20 "arch": "x86_64",
21 "gpu": [
22 "nvidia",
23 "openvino"
24 ],
25 "tags": [
26 "user tag",
27 "0.1-2023.04-20241016.174207"
28 ],
29 "targetRegistryName": "registry 5",
30 "targetRegistryPath": "sas-esp-cr-app",
31 "archived": false,
32 "podName": "thePodName"
33 },
34 {
35 "id": "1",
36 "sequence": 0,
37 "containerName": "A name for another project container",
38 "state": "processing",
39 "status": "Processing",
40 "createdBy": "Maria Singh",
41 "creationTimeStamp": "2024/04/24 09:12:52",
42 "description": "A description for another project container",
43 "projectName": "Project2",
44 "projectVersion": {
45 "major": 1,
46 "minor": 4
47 },
48 "arch": "x86_64",
49 "gpu": [
50 "nvidia"
51 ],
52 "tags": [
53 "another user tag",
54 "more tags",
55 "and more tags",
56 "0.1-2023.04-20241016.174207"
57 ],
58 "targetRegistryName": "registry 2",
59 "targetRegistryPath": "sas-esp-cr-app",
60 "archived": false,
61 "podName": "thePodName"
62 },
63 {
64 "id": "2",
65 "sequence": 0,
66 "containerName": "A name for a third project container",
67 "state": "pass",
68 "status": "Container created",
69 "createdBy": "Nushi Rodriguez",
70 "creationTimeStamp": "2024/04/24 09:13:52",
71 "description": "A description for the third project container",
72 "projectName": "Project3",
73 "projectVersion": {
74 "major": 2,
75 "minor": 2
76 },
77 "arch": "x86_64",
78 "gpu": [],
79 "tags": [
80 "a third user tag",
81 "0.1-2023.04-20241016.174207"
82 ],
83 "targetRegistryName": "registry 3",
84 "targetRegistryPath": "sas-esp-cr-app",
85 "archived": false,
86 "podName": "thePodName"
87 },
88 {
89 "id": "3",
90 "sequence": 0,
91 "containerName": "The name of an archived project container",
92 "state": "fail",
93 "status": "Container creation failed",
94 "createdBy": "John Smith",
95 "creationTimeStamp": "2024/04/24 09:14:52",
96 "description": "A description of a container job that has been archived",
97 "projectName": "Project4",
98 "projectVersion": {
99 "major": 3,
100 "minor": 12
101 },
102 "arch": "x86_64",
103 "gpu": [],
104 "tags": [
105 "0.1-2023.04-20241016.174207"
106 ],
107 "targetRegistryName": "registry 1",
108 "targetRegistryPath": "sas-esp-cr-app",
109 "archived": true,
110 "podName": "thePodName"
111 },
112 {
113 "id": "4",
114 "sequence": 0,
115 "containerName": "A name for a fifth project container",
116 "state": "cancelled",
117 "status": "Container creation cancelled",
118 "createdBy": "Jane Jones",
119 "creationTimeStamp": "2024/04/24 09:15:52",
120 "description": "A description for the fifth project container",
121 "projectName": "Project99",
122 "projectVersion": {
123 "major": 1,
124 "minor": 3
125 },
126 "arch": "x86_64",
127 "gpu": [
128 "nvidia",
129 "openvino"
130 ],
131 "tags": [
132 "0.1-2023.04-20241016.174207"
133 ],
134 "targetRegistryName": "registry 1",
135 "targetRegistryPath": "sas-esp-cr-app",
136 "archived": false,
137 "podName": "thePodName"
138 }
139 ]
140}

Query Parameters

filter
string
false

The filter parameter.

limit
integer<int32>
false

The maximum number of container creation jobs to be returned.

>= 1<= 10000
Default:
50
start
integer<int64>
false

The first container creation job to be returned.

>= 0
Default:
0

Responses

StatusMeaningDescription
200OK

Returns the header information for the jobs that are creating project containers.

Schema
401Unauthorized

The request is not authenticated.

Schema
403Forbidden

The user did not have the necessary permissions.

Schema
503Service Unavailable

Functionality for project containers is not enabled.

Schema