@antelopejs/cloud-sdk 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -2
- package/dist/api-error.d.ts +21 -0
- package/dist/api-error.js +27 -0
- package/dist/api.d.ts +193 -0
- package/dist/api.js +224 -0
- package/dist/environments.d.ts +48 -0
- package/dist/environments.js +81 -0
- package/dist/generated/cloud-api.d.ts +1612 -0
- package/dist/generated/cloud-api.js +6 -0
- package/dist/guards.d.ts +9 -0
- package/dist/guards.js +16 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/dist/resources.d.ts +43 -0
- package/dist/resources.js +2 -0
- package/dist/result.d.ts +25 -0
- package/dist/result.js +36 -0
- package/dist/sse.d.ts +6 -0
- package/dist/sse.js +45 -0
- package/openapi/cloud.openapi.yaml +556 -0
- package/openapi/environments.yaml +341 -0
- package/openapi/resources.openapi.yaml +274 -0
- package/openapi/variables.parts.yaml +127 -0
- package/package.json +69 -4
|
@@ -0,0 +1,1612 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/api/cloud/onboarding/": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
get: operations["readOnboardingState"];
|
|
14
|
+
put?: never;
|
|
15
|
+
post?: never;
|
|
16
|
+
delete?: never;
|
|
17
|
+
options?: never;
|
|
18
|
+
head?: never;
|
|
19
|
+
patch?: never;
|
|
20
|
+
trace?: never;
|
|
21
|
+
};
|
|
22
|
+
"/api/cloud/workspace-provisioning": {
|
|
23
|
+
parameters: {
|
|
24
|
+
query?: never;
|
|
25
|
+
header?: never;
|
|
26
|
+
path?: never;
|
|
27
|
+
cookie?: never;
|
|
28
|
+
};
|
|
29
|
+
get: operations["readWorkspaceProvisioning"];
|
|
30
|
+
put?: never;
|
|
31
|
+
post?: never;
|
|
32
|
+
delete?: never;
|
|
33
|
+
options?: never;
|
|
34
|
+
head?: never;
|
|
35
|
+
patch?: never;
|
|
36
|
+
trace?: never;
|
|
37
|
+
};
|
|
38
|
+
"/api/cloud/cli/device": {
|
|
39
|
+
parameters: {
|
|
40
|
+
query?: never;
|
|
41
|
+
header?: never;
|
|
42
|
+
path?: never;
|
|
43
|
+
cookie?: never;
|
|
44
|
+
};
|
|
45
|
+
get?: never;
|
|
46
|
+
put?: never;
|
|
47
|
+
post: operations["createDeviceAuthorization"];
|
|
48
|
+
delete?: never;
|
|
49
|
+
options?: never;
|
|
50
|
+
head?: never;
|
|
51
|
+
patch?: never;
|
|
52
|
+
trace?: never;
|
|
53
|
+
};
|
|
54
|
+
"/api/cloud/cli/token": {
|
|
55
|
+
parameters: {
|
|
56
|
+
query?: never;
|
|
57
|
+
header?: never;
|
|
58
|
+
path?: never;
|
|
59
|
+
cookie?: never;
|
|
60
|
+
};
|
|
61
|
+
get?: never;
|
|
62
|
+
put?: never;
|
|
63
|
+
post: operations["exchangeDeviceCode"];
|
|
64
|
+
delete?: never;
|
|
65
|
+
options?: never;
|
|
66
|
+
head?: never;
|
|
67
|
+
patch?: never;
|
|
68
|
+
trace?: never;
|
|
69
|
+
};
|
|
70
|
+
"/api/cloud/projects/": {
|
|
71
|
+
parameters: {
|
|
72
|
+
query?: never;
|
|
73
|
+
header?: never;
|
|
74
|
+
path?: never;
|
|
75
|
+
cookie?: never;
|
|
76
|
+
};
|
|
77
|
+
get: operations["listProjects"];
|
|
78
|
+
put?: never;
|
|
79
|
+
post: operations["createProject"];
|
|
80
|
+
delete?: never;
|
|
81
|
+
options?: never;
|
|
82
|
+
head?: never;
|
|
83
|
+
patch?: never;
|
|
84
|
+
trace?: never;
|
|
85
|
+
};
|
|
86
|
+
"/api/cloud/projects/{projectId}": {
|
|
87
|
+
parameters: {
|
|
88
|
+
query?: never;
|
|
89
|
+
header?: never;
|
|
90
|
+
path?: never;
|
|
91
|
+
cookie?: never;
|
|
92
|
+
};
|
|
93
|
+
get: operations["readProject"];
|
|
94
|
+
put?: never;
|
|
95
|
+
post?: never;
|
|
96
|
+
delete?: never;
|
|
97
|
+
options?: never;
|
|
98
|
+
head?: never;
|
|
99
|
+
patch?: never;
|
|
100
|
+
trace?: never;
|
|
101
|
+
};
|
|
102
|
+
"/api/cloud/projects/{projectId}/repository": {
|
|
103
|
+
parameters: {
|
|
104
|
+
query?: never;
|
|
105
|
+
header?: never;
|
|
106
|
+
path?: never;
|
|
107
|
+
cookie?: never;
|
|
108
|
+
};
|
|
109
|
+
get: operations["readProjectRepository"];
|
|
110
|
+
/** @description Links the project to a repository a GitHub installation of the workspace grants; null unlinks it, and the answer falls back to the repository most of its services build from. */
|
|
111
|
+
put: operations["linkProjectRepository"];
|
|
112
|
+
post?: never;
|
|
113
|
+
delete?: never;
|
|
114
|
+
options?: never;
|
|
115
|
+
head?: never;
|
|
116
|
+
patch?: never;
|
|
117
|
+
trace?: never;
|
|
118
|
+
};
|
|
119
|
+
"/api/cloud/projects/{projectId}/environments": {
|
|
120
|
+
parameters: {
|
|
121
|
+
query?: never;
|
|
122
|
+
header?: never;
|
|
123
|
+
path?: never;
|
|
124
|
+
cookie?: never;
|
|
125
|
+
};
|
|
126
|
+
get: operations["listEnvironments"];
|
|
127
|
+
put?: never;
|
|
128
|
+
post: operations["createEnvironment"];
|
|
129
|
+
delete?: never;
|
|
130
|
+
options?: never;
|
|
131
|
+
head?: never;
|
|
132
|
+
patch?: never;
|
|
133
|
+
trace?: never;
|
|
134
|
+
};
|
|
135
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}": {
|
|
136
|
+
parameters: {
|
|
137
|
+
query?: never;
|
|
138
|
+
header?: never;
|
|
139
|
+
path?: never;
|
|
140
|
+
cookie?: never;
|
|
141
|
+
};
|
|
142
|
+
get: operations["readEnvironment"];
|
|
143
|
+
put?: never;
|
|
144
|
+
post?: never;
|
|
145
|
+
delete?: never;
|
|
146
|
+
options?: never;
|
|
147
|
+
head?: never;
|
|
148
|
+
patch?: never;
|
|
149
|
+
trace?: never;
|
|
150
|
+
};
|
|
151
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/deletion": {
|
|
152
|
+
parameters: {
|
|
153
|
+
query?: never;
|
|
154
|
+
header?: never;
|
|
155
|
+
path?: never;
|
|
156
|
+
cookie?: never;
|
|
157
|
+
};
|
|
158
|
+
get?: never;
|
|
159
|
+
put?: never;
|
|
160
|
+
/** @description Deletes the environment, its services and its previews. A protected environment refuses. */
|
|
161
|
+
post: operations["deleteEnvironment"];
|
|
162
|
+
delete?: never;
|
|
163
|
+
options?: never;
|
|
164
|
+
head?: never;
|
|
165
|
+
patch?: never;
|
|
166
|
+
trace?: never;
|
|
167
|
+
};
|
|
168
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/promotion": {
|
|
169
|
+
parameters: {
|
|
170
|
+
query?: never;
|
|
171
|
+
header?: never;
|
|
172
|
+
path?: never;
|
|
173
|
+
cookie?: never;
|
|
174
|
+
};
|
|
175
|
+
get?: never;
|
|
176
|
+
put?: never;
|
|
177
|
+
/** @description Builds and deploys a commit of the project's repository, or a branch tip, to the environment's services that build from it. The serving revision keeps the traffic until the new one passes its health check. */
|
|
178
|
+
post: operations["promoteEnvironment"];
|
|
179
|
+
delete?: never;
|
|
180
|
+
options?: never;
|
|
181
|
+
head?: never;
|
|
182
|
+
patch?: never;
|
|
183
|
+
trace?: never;
|
|
184
|
+
};
|
|
185
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/health": {
|
|
186
|
+
parameters: {
|
|
187
|
+
query?: never;
|
|
188
|
+
header?: never;
|
|
189
|
+
path?: never;
|
|
190
|
+
cookie?: never;
|
|
191
|
+
};
|
|
192
|
+
get: operations["readEnvironmentHealth"];
|
|
193
|
+
put?: never;
|
|
194
|
+
post?: never;
|
|
195
|
+
delete?: never;
|
|
196
|
+
options?: never;
|
|
197
|
+
head?: never;
|
|
198
|
+
patch?: never;
|
|
199
|
+
trace?: never;
|
|
200
|
+
};
|
|
201
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/services": {
|
|
202
|
+
parameters: {
|
|
203
|
+
query?: never;
|
|
204
|
+
header?: never;
|
|
205
|
+
path?: never;
|
|
206
|
+
cookie?: never;
|
|
207
|
+
};
|
|
208
|
+
get?: never;
|
|
209
|
+
put?: never;
|
|
210
|
+
post: operations["createService"];
|
|
211
|
+
delete?: never;
|
|
212
|
+
options?: never;
|
|
213
|
+
head?: never;
|
|
214
|
+
patch?: never;
|
|
215
|
+
trace?: never;
|
|
216
|
+
};
|
|
217
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/variables": {
|
|
218
|
+
parameters: {
|
|
219
|
+
query?: never;
|
|
220
|
+
header?: never;
|
|
221
|
+
path?: never;
|
|
222
|
+
cookie?: never;
|
|
223
|
+
};
|
|
224
|
+
/** @description Lists the variables of every service of the environment, those wired from a resource included. Requires the project's deploy permission. Secret values are never returned. */
|
|
225
|
+
get: operations["listVariables"];
|
|
226
|
+
put?: never;
|
|
227
|
+
post?: never;
|
|
228
|
+
delete?: never;
|
|
229
|
+
options?: never;
|
|
230
|
+
head?: never;
|
|
231
|
+
patch?: never;
|
|
232
|
+
trace?: never;
|
|
233
|
+
};
|
|
234
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/services/{serviceId}/variables/{key}": {
|
|
235
|
+
parameters: {
|
|
236
|
+
query?: never;
|
|
237
|
+
header?: never;
|
|
238
|
+
path?: never;
|
|
239
|
+
cookie?: never;
|
|
240
|
+
};
|
|
241
|
+
get?: never;
|
|
242
|
+
/** @description Sets a variable of a service of the environment and answers the variable as listed. A key the service does not hold is created, as a secret unless `secret` is false; a held plain or secret variable keeps its kind. A variable wired from a resource is refused. Requires the project's deploy permission. */
|
|
243
|
+
put: operations["setVariable"];
|
|
244
|
+
post?: never;
|
|
245
|
+
/** @description Removes a variable of a service of the environment, one wired from a resource included. Requires the project's deploy permission. */
|
|
246
|
+
delete: operations["deleteVariable"];
|
|
247
|
+
options?: never;
|
|
248
|
+
head?: never;
|
|
249
|
+
patch?: never;
|
|
250
|
+
trace?: never;
|
|
251
|
+
};
|
|
252
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/resources": {
|
|
253
|
+
parameters: {
|
|
254
|
+
query?: never;
|
|
255
|
+
header?: never;
|
|
256
|
+
path?: never;
|
|
257
|
+
cookie?: never;
|
|
258
|
+
};
|
|
259
|
+
get: operations["readEnvironmentResources"];
|
|
260
|
+
put?: never;
|
|
261
|
+
post?: never;
|
|
262
|
+
delete?: never;
|
|
263
|
+
options?: never;
|
|
264
|
+
head?: never;
|
|
265
|
+
patch?: never;
|
|
266
|
+
trace?: never;
|
|
267
|
+
};
|
|
268
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/resource-plan": {
|
|
269
|
+
parameters: {
|
|
270
|
+
query?: never;
|
|
271
|
+
header?: never;
|
|
272
|
+
path?: never;
|
|
273
|
+
cookie?: never;
|
|
274
|
+
};
|
|
275
|
+
get?: never;
|
|
276
|
+
put?: never;
|
|
277
|
+
post: operations["planResources"];
|
|
278
|
+
delete?: never;
|
|
279
|
+
options?: never;
|
|
280
|
+
head?: never;
|
|
281
|
+
patch?: never;
|
|
282
|
+
trace?: never;
|
|
283
|
+
};
|
|
284
|
+
"/api/cloud/projects/{projectId}/environments/{environmentId}/resource-plan/apply": {
|
|
285
|
+
parameters: {
|
|
286
|
+
query?: never;
|
|
287
|
+
header?: never;
|
|
288
|
+
path?: never;
|
|
289
|
+
cookie?: never;
|
|
290
|
+
};
|
|
291
|
+
get?: never;
|
|
292
|
+
put?: never;
|
|
293
|
+
/**
|
|
294
|
+
* @description Creates the databases the modules need, from a plan the server recomputes
|
|
295
|
+
* under the environment's apply lock. A plan with `refusals` is refused with
|
|
296
|
+
* 409 and the error key of its first refusal, before any write. Another
|
|
297
|
+
* worker holding the lock is answered 503 with `Retry-After`.
|
|
298
|
+
*/
|
|
299
|
+
post: operations["applyResources"];
|
|
300
|
+
delete?: never;
|
|
301
|
+
options?: never;
|
|
302
|
+
head?: never;
|
|
303
|
+
patch?: never;
|
|
304
|
+
trace?: never;
|
|
305
|
+
};
|
|
306
|
+
"/api/cloud/services/{serviceId}/settings": {
|
|
307
|
+
parameters: {
|
|
308
|
+
query?: never;
|
|
309
|
+
header?: never;
|
|
310
|
+
path?: never;
|
|
311
|
+
cookie?: never;
|
|
312
|
+
};
|
|
313
|
+
get: operations["readServiceSettings"];
|
|
314
|
+
put?: never;
|
|
315
|
+
post?: never;
|
|
316
|
+
delete?: never;
|
|
317
|
+
options?: never;
|
|
318
|
+
head?: never;
|
|
319
|
+
patch?: never;
|
|
320
|
+
trace?: never;
|
|
321
|
+
};
|
|
322
|
+
"/api/cloud/services/{serviceId}/source-deployments": {
|
|
323
|
+
parameters: {
|
|
324
|
+
query?: never;
|
|
325
|
+
header?: never;
|
|
326
|
+
path?: never;
|
|
327
|
+
cookie?: never;
|
|
328
|
+
};
|
|
329
|
+
get?: never;
|
|
330
|
+
put?: never;
|
|
331
|
+
post: operations["deploySource"];
|
|
332
|
+
delete?: never;
|
|
333
|
+
options?: never;
|
|
334
|
+
head?: never;
|
|
335
|
+
patch?: never;
|
|
336
|
+
trace?: never;
|
|
337
|
+
};
|
|
338
|
+
"/api/cloud/services/{serviceId}/deployments": {
|
|
339
|
+
parameters: {
|
|
340
|
+
query?: never;
|
|
341
|
+
header?: never;
|
|
342
|
+
path?: never;
|
|
343
|
+
cookie?: never;
|
|
344
|
+
};
|
|
345
|
+
get: operations["deploymentHistory"];
|
|
346
|
+
put?: never;
|
|
347
|
+
post?: never;
|
|
348
|
+
delete?: never;
|
|
349
|
+
options?: never;
|
|
350
|
+
head?: never;
|
|
351
|
+
patch?: never;
|
|
352
|
+
trace?: never;
|
|
353
|
+
};
|
|
354
|
+
"/api/cloud/services/{serviceId}/deployments/{revisionId}/rollback": {
|
|
355
|
+
parameters: {
|
|
356
|
+
query?: never;
|
|
357
|
+
header?: never;
|
|
358
|
+
path?: never;
|
|
359
|
+
cookie?: never;
|
|
360
|
+
};
|
|
361
|
+
get?: never;
|
|
362
|
+
put?: never;
|
|
363
|
+
post: operations["rollbackDeployment"];
|
|
364
|
+
delete?: never;
|
|
365
|
+
options?: never;
|
|
366
|
+
head?: never;
|
|
367
|
+
patch?: never;
|
|
368
|
+
trace?: never;
|
|
369
|
+
};
|
|
370
|
+
"/api/cloud/services/{serviceId}/logs": {
|
|
371
|
+
parameters: {
|
|
372
|
+
query?: never;
|
|
373
|
+
header?: never;
|
|
374
|
+
path?: never;
|
|
375
|
+
cookie?: never;
|
|
376
|
+
};
|
|
377
|
+
get: operations["streamServiceLogs"];
|
|
378
|
+
put?: never;
|
|
379
|
+
post?: never;
|
|
380
|
+
delete?: never;
|
|
381
|
+
options?: never;
|
|
382
|
+
head?: never;
|
|
383
|
+
patch?: never;
|
|
384
|
+
trace?: never;
|
|
385
|
+
};
|
|
386
|
+
"/api/cloud/deployments/{deploymentId}": {
|
|
387
|
+
parameters: {
|
|
388
|
+
query?: never;
|
|
389
|
+
header?: never;
|
|
390
|
+
path?: never;
|
|
391
|
+
cookie?: never;
|
|
392
|
+
};
|
|
393
|
+
get: operations["readDeployment"];
|
|
394
|
+
put?: never;
|
|
395
|
+
post?: never;
|
|
396
|
+
delete?: never;
|
|
397
|
+
options?: never;
|
|
398
|
+
head?: never;
|
|
399
|
+
patch?: never;
|
|
400
|
+
trace?: never;
|
|
401
|
+
};
|
|
402
|
+
"/api/cloud/deployments/{deploymentId}/progress": {
|
|
403
|
+
parameters: {
|
|
404
|
+
query?: never;
|
|
405
|
+
header?: never;
|
|
406
|
+
path?: never;
|
|
407
|
+
cookie?: never;
|
|
408
|
+
};
|
|
409
|
+
get: operations["streamDeploymentProgress"];
|
|
410
|
+
put?: never;
|
|
411
|
+
post?: never;
|
|
412
|
+
delete?: never;
|
|
413
|
+
options?: never;
|
|
414
|
+
head?: never;
|
|
415
|
+
patch?: never;
|
|
416
|
+
trace?: never;
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
export type webhooks = Record<string, never>;
|
|
420
|
+
export interface components {
|
|
421
|
+
schemas: {
|
|
422
|
+
/** @description A canonical machine-readable error code, as a plain string or named field. */
|
|
423
|
+
Error: string | ({
|
|
424
|
+
code?: string;
|
|
425
|
+
error?: string;
|
|
426
|
+
message?: string;
|
|
427
|
+
} | unknown | unknown | unknown);
|
|
428
|
+
DeviceAuthorization: {
|
|
429
|
+
device_code: string;
|
|
430
|
+
user_code: string;
|
|
431
|
+
/** Format: uri */
|
|
432
|
+
verification_uri: string;
|
|
433
|
+
/** Format: uri */
|
|
434
|
+
verification_uri_complete: string;
|
|
435
|
+
expires_in: number;
|
|
436
|
+
interval: number;
|
|
437
|
+
};
|
|
438
|
+
DeviceToken: {
|
|
439
|
+
access_token: string;
|
|
440
|
+
/** @constant */
|
|
441
|
+
token_type: "Bearer";
|
|
442
|
+
workspace_id: string;
|
|
443
|
+
/** @description Name of the workspace the token is for; absent on servers that predate it. */
|
|
444
|
+
workspace_name?: string;
|
|
445
|
+
};
|
|
446
|
+
/** @description Where a variable's value comes from. `manual` is a variable set by hand on its service. `resource` is wired from a value another service of the environment publishes, such as the `REDIS_URL` of a Redis resource, and follows that value. */
|
|
447
|
+
VariableOrigin: {
|
|
448
|
+
/** @constant */
|
|
449
|
+
type: "manual";
|
|
450
|
+
} | {
|
|
451
|
+
/** @constant */
|
|
452
|
+
type: "resource";
|
|
453
|
+
/** @description The service that publishes the value. */
|
|
454
|
+
serviceId: string;
|
|
455
|
+
/** @description The key the publisher publishes the value under. */
|
|
456
|
+
publishedKey: string;
|
|
457
|
+
};
|
|
458
|
+
/** @description A variable of one service of an environment. Secret values are write-only, so `value` is null whenever `secret` is true, masked or not. */
|
|
459
|
+
EnvironmentVariable: {
|
|
460
|
+
/** @description The service the variable is set on. */
|
|
461
|
+
serviceId: string;
|
|
462
|
+
key: string;
|
|
463
|
+
secret: boolean;
|
|
464
|
+
/** @description The value in clear; null when the variable is secret, or when a `resource` variable follows a value that is not available. */
|
|
465
|
+
value: string | null;
|
|
466
|
+
origin: components["schemas"]["VariableOrigin"];
|
|
467
|
+
};
|
|
468
|
+
EnvironmentVariableList: {
|
|
469
|
+
variables: components["schemas"]["EnvironmentVariable"][];
|
|
470
|
+
};
|
|
471
|
+
VariableWrite: {
|
|
472
|
+
/** @description The new value. It cannot be empty. */
|
|
473
|
+
value: string;
|
|
474
|
+
/** @description Whether a variable the service does not hold yet is created as a secret, which can never be read back. Defaults to true. A variable the service already holds keeps its kind, and one wired from a resource is refused. */
|
|
475
|
+
secret?: boolean;
|
|
476
|
+
};
|
|
477
|
+
Service: {
|
|
478
|
+
id: string;
|
|
479
|
+
name: string;
|
|
480
|
+
status: string;
|
|
481
|
+
primaryHost: string | null;
|
|
482
|
+
/** @description The services this one reads a variable from; deploy ships them first. Absent from an API older than this field. */
|
|
483
|
+
linkedServiceIds?: string[];
|
|
484
|
+
/** @description The deployment that shipped the service; null before the first one. */
|
|
485
|
+
deployment: components["schemas"]["ServiceDeployment"] | null;
|
|
486
|
+
};
|
|
487
|
+
/** @description The deployment a service is running. Services shipped together share it. */
|
|
488
|
+
ServiceDeployment: {
|
|
489
|
+
number: number;
|
|
490
|
+
/** Format: date-time */
|
|
491
|
+
occurredAt: string;
|
|
492
|
+
};
|
|
493
|
+
Environment: {
|
|
494
|
+
id: string;
|
|
495
|
+
name: string;
|
|
496
|
+
services: components["schemas"]["Service"][];
|
|
497
|
+
};
|
|
498
|
+
Project: {
|
|
499
|
+
id: string;
|
|
500
|
+
slug: string;
|
|
501
|
+
region: string;
|
|
502
|
+
environments: components["schemas"]["Environment"][];
|
|
503
|
+
};
|
|
504
|
+
ProjectList: {
|
|
505
|
+
projects: {
|
|
506
|
+
id: string;
|
|
507
|
+
slug: string;
|
|
508
|
+
status: string;
|
|
509
|
+
}[];
|
|
510
|
+
};
|
|
511
|
+
DeploymentReceipt: {
|
|
512
|
+
deploymentId: string;
|
|
513
|
+
buildId: string;
|
|
514
|
+
/** @constant */
|
|
515
|
+
status: "queued";
|
|
516
|
+
};
|
|
517
|
+
/** @description A build of the service still queued or running, and the deployment it belongs to. */
|
|
518
|
+
ActiveBuild: {
|
|
519
|
+
id: string;
|
|
520
|
+
deploymentId: string;
|
|
521
|
+
/** @enum {string} */
|
|
522
|
+
status: "queued" | "starting" | "running";
|
|
523
|
+
queuePosition: number | null;
|
|
524
|
+
/** Format: date-time */
|
|
525
|
+
createdAt: string;
|
|
526
|
+
};
|
|
527
|
+
DeploymentHistory: {
|
|
528
|
+
activeBuilds?: components["schemas"]["ActiveBuild"][];
|
|
529
|
+
desiredRevisionId: string | null;
|
|
530
|
+
revisions: {
|
|
531
|
+
id: string;
|
|
532
|
+
number: number;
|
|
533
|
+
isDesired: boolean;
|
|
534
|
+
canRollback: boolean;
|
|
535
|
+
/**
|
|
536
|
+
* @description Where the revision is; preparing and pending ones are still rolling out.
|
|
537
|
+
* @enum {string}
|
|
538
|
+
*/
|
|
539
|
+
state?: "preparing" | "pending" | "succeeded" | "failed";
|
|
540
|
+
/** @description The deployment that rolls the revision out; null when none of the recent ones links to it. */
|
|
541
|
+
deploymentId?: string | null;
|
|
542
|
+
}[];
|
|
543
|
+
};
|
|
544
|
+
DeploymentDetail: {
|
|
545
|
+
id: string;
|
|
546
|
+
status: string;
|
|
547
|
+
/** @description Why the deployment failed; null unless it did. */
|
|
548
|
+
failure: {
|
|
549
|
+
key: string;
|
|
550
|
+
params?: {
|
|
551
|
+
[key: string]: unknown;
|
|
552
|
+
};
|
|
553
|
+
} | null;
|
|
554
|
+
/** @description The deployment's builds; a failed one carries why it failed. */
|
|
555
|
+
builds?: components["schemas"]["DeploymentBuild"][];
|
|
556
|
+
};
|
|
557
|
+
DeploymentBuild: {
|
|
558
|
+
id: string;
|
|
559
|
+
status: string;
|
|
560
|
+
/** @description Why the build failed, read from its log; null unless it did. */
|
|
561
|
+
failureReason?: {
|
|
562
|
+
code: string;
|
|
563
|
+
/** @description The platform failed, not the source; retrying the same commit is the way out. */
|
|
564
|
+
platform: boolean;
|
|
565
|
+
summary: string;
|
|
566
|
+
step?: number | null;
|
|
567
|
+
} | null;
|
|
568
|
+
};
|
|
569
|
+
/** @description Whether the workspace can build and deploy yet, and why not. */
|
|
570
|
+
WorkspaceProvisioning: {
|
|
571
|
+
/** @enum {string} */
|
|
572
|
+
phase: "pending" | "reconciling" | "ready" | "blocked" | "revoking" | "revoked";
|
|
573
|
+
owner: string | null;
|
|
574
|
+
reasonCode: string | null;
|
|
575
|
+
/** Format: date-time */
|
|
576
|
+
retryAt: string | null;
|
|
577
|
+
canRetry: boolean;
|
|
578
|
+
};
|
|
579
|
+
OnboardingState: {
|
|
580
|
+
canCreateProjects: boolean;
|
|
581
|
+
regions: string[];
|
|
582
|
+
defaultRegion: string;
|
|
583
|
+
};
|
|
584
|
+
NewProject: {
|
|
585
|
+
slug: string;
|
|
586
|
+
region?: string;
|
|
587
|
+
};
|
|
588
|
+
CreatedProject: {
|
|
589
|
+
projectId: string;
|
|
590
|
+
slug: string;
|
|
591
|
+
region: string;
|
|
592
|
+
environmentId: string;
|
|
593
|
+
serviceId?: string | null;
|
|
594
|
+
};
|
|
595
|
+
NewUploadService: {
|
|
596
|
+
name: string;
|
|
597
|
+
appName: string;
|
|
598
|
+
source: {
|
|
599
|
+
/** @constant */
|
|
600
|
+
type: "upload";
|
|
601
|
+
};
|
|
602
|
+
port?: number | null;
|
|
603
|
+
isPublic?: boolean;
|
|
604
|
+
};
|
|
605
|
+
CreatedService: {
|
|
606
|
+
serviceId: string;
|
|
607
|
+
name: string;
|
|
608
|
+
appName: string;
|
|
609
|
+
};
|
|
610
|
+
ServicePricing: {
|
|
611
|
+
currency: string;
|
|
612
|
+
cpuHourUnitPrice: number;
|
|
613
|
+
memoryHourUnitPrice: number;
|
|
614
|
+
hoursPerMonth: number;
|
|
615
|
+
};
|
|
616
|
+
ServiceBounds: {
|
|
617
|
+
replicas: {
|
|
618
|
+
min: number;
|
|
619
|
+
max: number;
|
|
620
|
+
};
|
|
621
|
+
cpu: number;
|
|
622
|
+
memory: number;
|
|
623
|
+
};
|
|
624
|
+
ServiceSettings: {
|
|
625
|
+
serviceId: string;
|
|
626
|
+
scaling: {
|
|
627
|
+
bounds: components["schemas"]["ServiceBounds"];
|
|
628
|
+
replicaLimit: number;
|
|
629
|
+
pricing: components["schemas"]["ServicePricing"] | null;
|
|
630
|
+
};
|
|
631
|
+
volumeLimits: {
|
|
632
|
+
minGb: number;
|
|
633
|
+
maxGb: number;
|
|
634
|
+
/** @description Days support can still recover a detached volume's latest snapshot. */
|
|
635
|
+
removedRetentionDays: number;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
ProjectRepository: {
|
|
639
|
+
/** @description The GitHub repository the project builds from, as owner/name. It is the linked one, else the one most of its services build from; null when neither exists. */
|
|
640
|
+
repository: string | null;
|
|
641
|
+
};
|
|
642
|
+
EnvironmentPreview: {
|
|
643
|
+
sourceEnvironmentId: string;
|
|
644
|
+
repository: string;
|
|
645
|
+
pullRequestNumber: number;
|
|
646
|
+
headBranch: string;
|
|
647
|
+
};
|
|
648
|
+
EnvironmentDeployment: {
|
|
649
|
+
id: string;
|
|
650
|
+
number: number;
|
|
651
|
+
/** @enum {string} */
|
|
652
|
+
status: "queued" | "building" | "checking" | "switching" | "succeeded" | "failed" | "cancelled";
|
|
653
|
+
/** @description The commit it built; null for a CLI upload or a rollback. */
|
|
654
|
+
commit: string | null;
|
|
655
|
+
branch: string | null;
|
|
656
|
+
/** Format: date-time */
|
|
657
|
+
createdAt: string;
|
|
658
|
+
};
|
|
659
|
+
EnvironmentService: {
|
|
660
|
+
id: string;
|
|
661
|
+
name: string;
|
|
662
|
+
/** @description The revision serving traffic; null before the first one goes live. */
|
|
663
|
+
servingRevisionId: string | null;
|
|
664
|
+
/** @description The revision last submitted; it equals servingRevisionId once live. */
|
|
665
|
+
targetRevisionId: string | null;
|
|
666
|
+
};
|
|
667
|
+
/** @description An environment of a project, the git branch it builds and what it serves. */
|
|
668
|
+
EnvironmentDetail: {
|
|
669
|
+
id: string;
|
|
670
|
+
name: string;
|
|
671
|
+
/** @description The branch the environment builds. A push to it deploys a durable environment; a preview follows its pull request's head branch, which pull request updates deploy. Null for an environment the CLI deploys. */
|
|
672
|
+
branch: string | null;
|
|
673
|
+
/**
|
|
674
|
+
* @description The status of its services together.
|
|
675
|
+
* @enum {string}
|
|
676
|
+
*/
|
|
677
|
+
state: "live" | "build" | "waiting" | "sleep" | "failed" | "unknown";
|
|
678
|
+
/**
|
|
679
|
+
* Format: uri
|
|
680
|
+
* @description The address of its first public service; null when none answers on one.
|
|
681
|
+
*/
|
|
682
|
+
url: string | null;
|
|
683
|
+
/** @description A protected environment refuses deletion. */
|
|
684
|
+
isProtected: boolean;
|
|
685
|
+
/** @description The pull request a preview environment mirrors; null for a durable environment. */
|
|
686
|
+
preview: components["schemas"]["EnvironmentPreview"] | null;
|
|
687
|
+
/** @description The last deployment that went live; null before the first one. */
|
|
688
|
+
serving: components["schemas"]["EnvironmentDeployment"] | null;
|
|
689
|
+
/** @description The latest deployment asked of the environment. It differs from serving while it rolls out, or after it failed and serving kept the traffic. */
|
|
690
|
+
target: components["schemas"]["EnvironmentDeployment"] | null;
|
|
691
|
+
services: components["schemas"]["EnvironmentService"][];
|
|
692
|
+
};
|
|
693
|
+
EnvironmentList: {
|
|
694
|
+
environments: components["schemas"]["EnvironmentDetail"][];
|
|
695
|
+
};
|
|
696
|
+
NewEnvironment: {
|
|
697
|
+
/** @description Stored as a slug. */
|
|
698
|
+
name: string;
|
|
699
|
+
/** @description The branch the environment builds; absent for one the CLI deploys. */
|
|
700
|
+
branch?: string | null;
|
|
701
|
+
/** @description An environment of the same project whose services the new one copies. */
|
|
702
|
+
cloneFrom?: string | null;
|
|
703
|
+
autoSleep?: boolean;
|
|
704
|
+
};
|
|
705
|
+
CreatedEnvironment: {
|
|
706
|
+
environmentId: string;
|
|
707
|
+
name: string;
|
|
708
|
+
};
|
|
709
|
+
/** @description What to put the environment on, a commit of the project's repository or the tip of one of its branches. */
|
|
710
|
+
Promotion: {
|
|
711
|
+
commit: string;
|
|
712
|
+
} | {
|
|
713
|
+
/** @description A valid git branch name; the server refuses any other with 400. */
|
|
714
|
+
branch: string;
|
|
715
|
+
};
|
|
716
|
+
PromotionReceipt: {
|
|
717
|
+
deploymentId: string;
|
|
718
|
+
/** @description The commit the deployment builds, the branch tip read when the promotion named a branch. */
|
|
719
|
+
commit: string;
|
|
720
|
+
};
|
|
721
|
+
RevisionCheck: {
|
|
722
|
+
revisionId: string;
|
|
723
|
+
number: number;
|
|
724
|
+
/**
|
|
725
|
+
* @description Preparing and pending revisions are still being checked.
|
|
726
|
+
* @enum {string}
|
|
727
|
+
*/
|
|
728
|
+
state: "preparing" | "pending" | "succeeded" | "failed";
|
|
729
|
+
/**
|
|
730
|
+
* Format: date-time
|
|
731
|
+
* @description When the check started; null before it did.
|
|
732
|
+
*/
|
|
733
|
+
startedAt: string | null;
|
|
734
|
+
/** @description Why the revision never went live; null unless it failed. */
|
|
735
|
+
failure: {
|
|
736
|
+
/** @enum {string} */
|
|
737
|
+
reason: "image_pull" | "crash_loop" | "runtime" | "scheduling" | "health_check" | "no_pod" | "refused";
|
|
738
|
+
detail: string | null;
|
|
739
|
+
} | null;
|
|
740
|
+
};
|
|
741
|
+
RuntimeHealth: {
|
|
742
|
+
/** @enum {string} */
|
|
743
|
+
phase: "running" | "starting" | "pending" | "sleeping" | "failed" | "unknown" | "unschedulable" | "image-pull-failed" | "stalled";
|
|
744
|
+
message: string | null;
|
|
745
|
+
/** Format: date-time */
|
|
746
|
+
observedAt: string;
|
|
747
|
+
};
|
|
748
|
+
ServiceHealth: {
|
|
749
|
+
serviceId: string;
|
|
750
|
+
name: string;
|
|
751
|
+
/** @description The path the service is set to probe for readiness over HTTP; null for a TCP connect. A revision keeps the path it was deployed with, so a change applies at the next deployment. */
|
|
752
|
+
readinessPath: string | null;
|
|
753
|
+
/** @description The path the service is set to probe for liveness over HTTP, the readiness path when it sets none; null for a TCP connect. A change applies at the next deployment. */
|
|
754
|
+
livenessPath: string | null;
|
|
755
|
+
/** @description The start-up check of the target revision, which gates the traffic switch; null before the first revision. */
|
|
756
|
+
check: components["schemas"]["RevisionCheck"] | null;
|
|
757
|
+
/** @description What the platform last reported of the running workload; null when it reported nothing. */
|
|
758
|
+
runtime: components["schemas"]["RuntimeHealth"] | null;
|
|
759
|
+
};
|
|
760
|
+
EnvironmentHealth: {
|
|
761
|
+
environmentId: string;
|
|
762
|
+
services: components["schemas"]["ServiceHealth"][];
|
|
763
|
+
};
|
|
764
|
+
/** @description A monthly amount in the plan's currency. A plan that rates nothing a database holds includes it, with no amount to show. */
|
|
765
|
+
MonthlyCost: {
|
|
766
|
+
/** @constant */
|
|
767
|
+
included: true;
|
|
768
|
+
currency: string;
|
|
769
|
+
} | {
|
|
770
|
+
/** @constant */
|
|
771
|
+
included: false;
|
|
772
|
+
currency: string;
|
|
773
|
+
/** @description The reserved allocation of every instance held around the clock, plus the volumes. */
|
|
774
|
+
floor: number;
|
|
775
|
+
/** @description The limits of every instance held around the clock, plus the volumes. */
|
|
776
|
+
ceiling: number;
|
|
777
|
+
};
|
|
778
|
+
DatabaseFigures: {
|
|
779
|
+
label: string;
|
|
780
|
+
version: string;
|
|
781
|
+
/** @description Size of each instance's volume. */
|
|
782
|
+
volumeGb: number;
|
|
783
|
+
instances: number;
|
|
784
|
+
/** @description Whether its volume is backed up off the cluster. */
|
|
785
|
+
backups: boolean;
|
|
786
|
+
/** @description The variable that carries its connection string into the project. */
|
|
787
|
+
connectionVariable: string;
|
|
788
|
+
/** @description Null when no rates can be read. */
|
|
789
|
+
monthlyCost: components["schemas"]["MonthlyCost"] | null;
|
|
790
|
+
};
|
|
791
|
+
/** @enum {string} */
|
|
792
|
+
DatabaseEngine: "mongodb" | "postgres" | "mysql" | "redis" | "valkey";
|
|
793
|
+
/**
|
|
794
|
+
* @description One instance on one volume, or a replicated cluster.
|
|
795
|
+
* @enum {string}
|
|
796
|
+
*/
|
|
797
|
+
DatabaseMode: "single" | "ha";
|
|
798
|
+
/** @description A database the environment runs. */
|
|
799
|
+
EnvironmentResource: components["schemas"]["DatabaseFigures"] & {
|
|
800
|
+
serviceId: string;
|
|
801
|
+
name: string;
|
|
802
|
+
appName: string;
|
|
803
|
+
engine: components["schemas"]["DatabaseEngine"];
|
|
804
|
+
mode: components["schemas"]["DatabaseMode"];
|
|
805
|
+
/** @description The npm package of the module it serves; null when it serves none. */
|
|
806
|
+
module: string | null;
|
|
807
|
+
};
|
|
808
|
+
EnvironmentResources: {
|
|
809
|
+
environmentId: string;
|
|
810
|
+
resources: components["schemas"]["EnvironmentResource"][];
|
|
811
|
+
};
|
|
812
|
+
ResourceModules: {
|
|
813
|
+
/** @description The npm package names of the project's modules, as `antelope.config.ts` lists them. */
|
|
814
|
+
modules: string[];
|
|
815
|
+
};
|
|
816
|
+
/** @description A database Cloud would create for a module. */
|
|
817
|
+
PlannedResource: components["schemas"]["DatabaseFigures"] & {
|
|
818
|
+
module: string;
|
|
819
|
+
engine: components["schemas"]["DatabaseEngine"];
|
|
820
|
+
mode: components["schemas"]["DatabaseMode"];
|
|
821
|
+
/** @description The service name the apply creates it under. The engine's name, or `<engine>-2`, `<engine>-3` when a service of the environment, a retired database included, already holds it. */
|
|
822
|
+
name: string;
|
|
823
|
+
};
|
|
824
|
+
/** @description A database of the environment that already satisfies a module. */
|
|
825
|
+
ExistingResource: {
|
|
826
|
+
module: string;
|
|
827
|
+
serviceId: string;
|
|
828
|
+
name: string;
|
|
829
|
+
engine: components["schemas"]["DatabaseEngine"];
|
|
830
|
+
};
|
|
831
|
+
/** @enum {string} */
|
|
832
|
+
AppTier: "free" | "hobby" | "pro";
|
|
833
|
+
/** @description A module whose need Cloud cannot provide. */
|
|
834
|
+
UnprovidedResource: {
|
|
835
|
+
module: string;
|
|
836
|
+
resource: string;
|
|
837
|
+
/**
|
|
838
|
+
* @description Cloud does not run it.
|
|
839
|
+
* @constant
|
|
840
|
+
*/
|
|
841
|
+
reason: "not_offered";
|
|
842
|
+
} | {
|
|
843
|
+
module: string;
|
|
844
|
+
resource: string;
|
|
845
|
+
/**
|
|
846
|
+
* @description Cloud runs it, but no mode of it is on the workspace's plan.
|
|
847
|
+
* @constant
|
|
848
|
+
*/
|
|
849
|
+
reason: "not_on_plan";
|
|
850
|
+
/** @description The cheapest tier that runs it. */
|
|
851
|
+
requiredTier: components["schemas"]["AppTier"];
|
|
852
|
+
};
|
|
853
|
+
/** @description A count held against a ceiling, before and after the plan is applied. */
|
|
854
|
+
CeilingUse: {
|
|
855
|
+
used: number;
|
|
856
|
+
ceiling: number;
|
|
857
|
+
/** @description `used` plus what the plan creates. */
|
|
858
|
+
afterApply: number;
|
|
859
|
+
};
|
|
860
|
+
ResourcePlanLimits: {
|
|
861
|
+
tier: components["schemas"]["AppTier"];
|
|
862
|
+
planName: string | null;
|
|
863
|
+
servicesPerEnvironment: components["schemas"]["CeilingUse"];
|
|
864
|
+
/** @description The databases the environment may hold, where the tier's topology caps them (Free); null where it does not. */
|
|
865
|
+
databasesPerEnvironment: components["schemas"]["CeilingUse"] | null;
|
|
866
|
+
};
|
|
867
|
+
/**
|
|
868
|
+
* @description Why an apply of the plan's databases is refused. Each has a stable error key:
|
|
869
|
+
* `preview_environment` is `cloud.errors.resources.preview_environment`,
|
|
870
|
+
* `services_per_environment` is `cloud.errors.resources.over_service_limit` and
|
|
871
|
+
* `databases_per_environment` is `cloud.errors.resources.over_database_limit`.
|
|
872
|
+
* @enum {string}
|
|
873
|
+
*/
|
|
874
|
+
ResourcePlanRefusal: "preview_environment" | "services_per_environment" | "databases_per_environment";
|
|
875
|
+
/** @description What applying a project's modules to an environment would do. */
|
|
876
|
+
ResourcePlan: {
|
|
877
|
+
create: components["schemas"]["PlannedResource"][];
|
|
878
|
+
existing: components["schemas"]["ExistingResource"][];
|
|
879
|
+
unprovided: components["schemas"]["UnprovidedResource"][];
|
|
880
|
+
/** @description Summed over `create`; null when no rates can be read. */
|
|
881
|
+
cost: components["schemas"]["MonthlyCost"] | null;
|
|
882
|
+
limits: components["schemas"]["ResourcePlanLimits"];
|
|
883
|
+
/** @description Every reason the apply is refused, in the order creation would meet them. Empty when there is nothing to create. */
|
|
884
|
+
refusals: components["schemas"]["ResourcePlanRefusal"][];
|
|
885
|
+
/** @description False when `refusals` is not empty. The apply then answers 409 before any write. */
|
|
886
|
+
canApply: boolean;
|
|
887
|
+
};
|
|
888
|
+
AppliedResources: {
|
|
889
|
+
created: components["schemas"]["EnvironmentResource"][];
|
|
890
|
+
/** @description The plan that remains once the databases are created. */
|
|
891
|
+
plan: components["schemas"]["ResourcePlan"];
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
responses: {
|
|
895
|
+
/** @description Stable API error */
|
|
896
|
+
Error: {
|
|
897
|
+
headers: {
|
|
898
|
+
[name: string]: unknown;
|
|
899
|
+
};
|
|
900
|
+
content: {
|
|
901
|
+
"application/json": components["schemas"]["Error"];
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
parameters: never;
|
|
906
|
+
requestBodies: never;
|
|
907
|
+
headers: never;
|
|
908
|
+
pathItems: never;
|
|
909
|
+
}
|
|
910
|
+
export type $defs = Record<string, never>;
|
|
911
|
+
export interface operations {
|
|
912
|
+
readOnboardingState: {
|
|
913
|
+
parameters: {
|
|
914
|
+
query?: never;
|
|
915
|
+
header?: never;
|
|
916
|
+
path?: never;
|
|
917
|
+
cookie?: never;
|
|
918
|
+
};
|
|
919
|
+
requestBody?: never;
|
|
920
|
+
responses: {
|
|
921
|
+
200: {
|
|
922
|
+
headers: {
|
|
923
|
+
[name: string]: unknown;
|
|
924
|
+
};
|
|
925
|
+
content: {
|
|
926
|
+
"application/json": components["schemas"]["OnboardingState"];
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
default: components["responses"]["Error"];
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
readWorkspaceProvisioning: {
|
|
933
|
+
parameters: {
|
|
934
|
+
query?: never;
|
|
935
|
+
header?: never;
|
|
936
|
+
path?: never;
|
|
937
|
+
cookie?: never;
|
|
938
|
+
};
|
|
939
|
+
requestBody?: never;
|
|
940
|
+
responses: {
|
|
941
|
+
200: {
|
|
942
|
+
headers: {
|
|
943
|
+
[name: string]: unknown;
|
|
944
|
+
};
|
|
945
|
+
content: {
|
|
946
|
+
"application/json": components["schemas"]["WorkspaceProvisioning"];
|
|
947
|
+
};
|
|
948
|
+
};
|
|
949
|
+
default: components["responses"]["Error"];
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
createDeviceAuthorization: {
|
|
953
|
+
parameters: {
|
|
954
|
+
query?: never;
|
|
955
|
+
header?: never;
|
|
956
|
+
path?: never;
|
|
957
|
+
cookie?: never;
|
|
958
|
+
};
|
|
959
|
+
requestBody?: {
|
|
960
|
+
content: {
|
|
961
|
+
"application/json": {
|
|
962
|
+
device_name?: string;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
responses: {
|
|
967
|
+
200: {
|
|
968
|
+
headers: {
|
|
969
|
+
[name: string]: unknown;
|
|
970
|
+
};
|
|
971
|
+
content: {
|
|
972
|
+
"application/json": components["schemas"]["DeviceAuthorization"];
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
default: components["responses"]["Error"];
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
exchangeDeviceCode: {
|
|
979
|
+
parameters: {
|
|
980
|
+
query?: never;
|
|
981
|
+
header?: never;
|
|
982
|
+
path?: never;
|
|
983
|
+
cookie?: never;
|
|
984
|
+
};
|
|
985
|
+
requestBody: {
|
|
986
|
+
content: {
|
|
987
|
+
"application/json": {
|
|
988
|
+
device_code: string;
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
responses: {
|
|
993
|
+
200: {
|
|
994
|
+
headers: {
|
|
995
|
+
[name: string]: unknown;
|
|
996
|
+
};
|
|
997
|
+
content: {
|
|
998
|
+
"application/json": components["schemas"]["DeviceToken"];
|
|
999
|
+
};
|
|
1000
|
+
};
|
|
1001
|
+
default: components["responses"]["Error"];
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
listProjects: {
|
|
1005
|
+
parameters: {
|
|
1006
|
+
query?: never;
|
|
1007
|
+
header?: never;
|
|
1008
|
+
path?: never;
|
|
1009
|
+
cookie?: never;
|
|
1010
|
+
};
|
|
1011
|
+
requestBody?: never;
|
|
1012
|
+
responses: {
|
|
1013
|
+
200: {
|
|
1014
|
+
headers: {
|
|
1015
|
+
[name: string]: unknown;
|
|
1016
|
+
};
|
|
1017
|
+
content: {
|
|
1018
|
+
"application/json": components["schemas"]["ProjectList"];
|
|
1019
|
+
};
|
|
1020
|
+
};
|
|
1021
|
+
default: components["responses"]["Error"];
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
createProject: {
|
|
1025
|
+
parameters: {
|
|
1026
|
+
query?: never;
|
|
1027
|
+
header?: never;
|
|
1028
|
+
path?: never;
|
|
1029
|
+
cookie?: never;
|
|
1030
|
+
};
|
|
1031
|
+
requestBody: {
|
|
1032
|
+
content: {
|
|
1033
|
+
"application/json": components["schemas"]["NewProject"];
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
responses: {
|
|
1037
|
+
200: {
|
|
1038
|
+
headers: {
|
|
1039
|
+
[name: string]: unknown;
|
|
1040
|
+
};
|
|
1041
|
+
content: {
|
|
1042
|
+
"application/json": components["schemas"]["CreatedProject"];
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
default: components["responses"]["Error"];
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
readProject: {
|
|
1049
|
+
parameters: {
|
|
1050
|
+
query?: never;
|
|
1051
|
+
header?: never;
|
|
1052
|
+
path: {
|
|
1053
|
+
projectId: string;
|
|
1054
|
+
};
|
|
1055
|
+
cookie?: never;
|
|
1056
|
+
};
|
|
1057
|
+
requestBody?: never;
|
|
1058
|
+
responses: {
|
|
1059
|
+
200: {
|
|
1060
|
+
headers: {
|
|
1061
|
+
[name: string]: unknown;
|
|
1062
|
+
};
|
|
1063
|
+
content: {
|
|
1064
|
+
"application/json": components["schemas"]["Project"];
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
default: components["responses"]["Error"];
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
readProjectRepository: {
|
|
1071
|
+
parameters: {
|
|
1072
|
+
query?: never;
|
|
1073
|
+
header?: never;
|
|
1074
|
+
path: {
|
|
1075
|
+
projectId: string;
|
|
1076
|
+
};
|
|
1077
|
+
cookie?: never;
|
|
1078
|
+
};
|
|
1079
|
+
requestBody?: never;
|
|
1080
|
+
responses: {
|
|
1081
|
+
200: {
|
|
1082
|
+
headers: {
|
|
1083
|
+
[name: string]: unknown;
|
|
1084
|
+
};
|
|
1085
|
+
content: {
|
|
1086
|
+
"application/json": components["schemas"]["ProjectRepository"];
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
default: components["responses"]["Error"];
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
linkProjectRepository: {
|
|
1093
|
+
parameters: {
|
|
1094
|
+
query?: never;
|
|
1095
|
+
header?: never;
|
|
1096
|
+
path: {
|
|
1097
|
+
projectId: string;
|
|
1098
|
+
};
|
|
1099
|
+
cookie?: never;
|
|
1100
|
+
};
|
|
1101
|
+
requestBody: {
|
|
1102
|
+
content: {
|
|
1103
|
+
"application/json": components["schemas"]["ProjectRepository"];
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
responses: {
|
|
1107
|
+
200: {
|
|
1108
|
+
headers: {
|
|
1109
|
+
[name: string]: unknown;
|
|
1110
|
+
};
|
|
1111
|
+
content: {
|
|
1112
|
+
"application/json": components["schemas"]["ProjectRepository"];
|
|
1113
|
+
};
|
|
1114
|
+
};
|
|
1115
|
+
default: components["responses"]["Error"];
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
listEnvironments: {
|
|
1119
|
+
parameters: {
|
|
1120
|
+
query?: never;
|
|
1121
|
+
header?: never;
|
|
1122
|
+
path: {
|
|
1123
|
+
projectId: string;
|
|
1124
|
+
};
|
|
1125
|
+
cookie?: never;
|
|
1126
|
+
};
|
|
1127
|
+
requestBody?: never;
|
|
1128
|
+
responses: {
|
|
1129
|
+
200: {
|
|
1130
|
+
headers: {
|
|
1131
|
+
[name: string]: unknown;
|
|
1132
|
+
};
|
|
1133
|
+
content: {
|
|
1134
|
+
"application/json": components["schemas"]["EnvironmentList"];
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1137
|
+
default: components["responses"]["Error"];
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
createEnvironment: {
|
|
1141
|
+
parameters: {
|
|
1142
|
+
query?: never;
|
|
1143
|
+
header?: never;
|
|
1144
|
+
path: {
|
|
1145
|
+
projectId: string;
|
|
1146
|
+
};
|
|
1147
|
+
cookie?: never;
|
|
1148
|
+
};
|
|
1149
|
+
requestBody: {
|
|
1150
|
+
content: {
|
|
1151
|
+
"application/json": components["schemas"]["NewEnvironment"];
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
responses: {
|
|
1155
|
+
200: {
|
|
1156
|
+
headers: {
|
|
1157
|
+
[name: string]: unknown;
|
|
1158
|
+
};
|
|
1159
|
+
content: {
|
|
1160
|
+
"application/json": components["schemas"]["CreatedEnvironment"];
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
default: components["responses"]["Error"];
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
readEnvironment: {
|
|
1167
|
+
parameters: {
|
|
1168
|
+
query?: never;
|
|
1169
|
+
header?: never;
|
|
1170
|
+
path: {
|
|
1171
|
+
projectId: string;
|
|
1172
|
+
environmentId: string;
|
|
1173
|
+
};
|
|
1174
|
+
cookie?: never;
|
|
1175
|
+
};
|
|
1176
|
+
requestBody?: never;
|
|
1177
|
+
responses: {
|
|
1178
|
+
200: {
|
|
1179
|
+
headers: {
|
|
1180
|
+
[name: string]: unknown;
|
|
1181
|
+
};
|
|
1182
|
+
content: {
|
|
1183
|
+
"application/json": components["schemas"]["EnvironmentDetail"];
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
default: components["responses"]["Error"];
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
deleteEnvironment: {
|
|
1190
|
+
parameters: {
|
|
1191
|
+
query?: never;
|
|
1192
|
+
header?: never;
|
|
1193
|
+
path: {
|
|
1194
|
+
projectId: string;
|
|
1195
|
+
environmentId: string;
|
|
1196
|
+
};
|
|
1197
|
+
cookie?: never;
|
|
1198
|
+
};
|
|
1199
|
+
requestBody?: never;
|
|
1200
|
+
responses: {
|
|
1201
|
+
/** @description Done */
|
|
1202
|
+
200: {
|
|
1203
|
+
headers: {
|
|
1204
|
+
[name: string]: unknown;
|
|
1205
|
+
};
|
|
1206
|
+
content?: never;
|
|
1207
|
+
};
|
|
1208
|
+
default: components["responses"]["Error"];
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
promoteEnvironment: {
|
|
1212
|
+
parameters: {
|
|
1213
|
+
query?: never;
|
|
1214
|
+
header?: never;
|
|
1215
|
+
path: {
|
|
1216
|
+
projectId: string;
|
|
1217
|
+
environmentId: string;
|
|
1218
|
+
};
|
|
1219
|
+
cookie?: never;
|
|
1220
|
+
};
|
|
1221
|
+
requestBody: {
|
|
1222
|
+
content: {
|
|
1223
|
+
"application/json": components["schemas"]["Promotion"];
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
responses: {
|
|
1227
|
+
200: {
|
|
1228
|
+
headers: {
|
|
1229
|
+
[name: string]: unknown;
|
|
1230
|
+
};
|
|
1231
|
+
content: {
|
|
1232
|
+
"application/json": components["schemas"]["PromotionReceipt"];
|
|
1233
|
+
};
|
|
1234
|
+
};
|
|
1235
|
+
default: components["responses"]["Error"];
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
readEnvironmentHealth: {
|
|
1239
|
+
parameters: {
|
|
1240
|
+
query?: never;
|
|
1241
|
+
header?: never;
|
|
1242
|
+
path: {
|
|
1243
|
+
projectId: string;
|
|
1244
|
+
environmentId: string;
|
|
1245
|
+
};
|
|
1246
|
+
cookie?: never;
|
|
1247
|
+
};
|
|
1248
|
+
requestBody?: never;
|
|
1249
|
+
responses: {
|
|
1250
|
+
200: {
|
|
1251
|
+
headers: {
|
|
1252
|
+
[name: string]: unknown;
|
|
1253
|
+
};
|
|
1254
|
+
content: {
|
|
1255
|
+
"application/json": components["schemas"]["EnvironmentHealth"];
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
default: components["responses"]["Error"];
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
createService: {
|
|
1262
|
+
parameters: {
|
|
1263
|
+
query?: never;
|
|
1264
|
+
header?: never;
|
|
1265
|
+
path: {
|
|
1266
|
+
projectId: string;
|
|
1267
|
+
environmentId: string;
|
|
1268
|
+
};
|
|
1269
|
+
cookie?: never;
|
|
1270
|
+
};
|
|
1271
|
+
requestBody: {
|
|
1272
|
+
content: {
|
|
1273
|
+
"application/json": components["schemas"]["NewUploadService"];
|
|
1274
|
+
};
|
|
1275
|
+
};
|
|
1276
|
+
responses: {
|
|
1277
|
+
200: {
|
|
1278
|
+
headers: {
|
|
1279
|
+
[name: string]: unknown;
|
|
1280
|
+
};
|
|
1281
|
+
content: {
|
|
1282
|
+
"application/json": components["schemas"]["CreatedService"];
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
default: components["responses"]["Error"];
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
listVariables: {
|
|
1289
|
+
parameters: {
|
|
1290
|
+
query?: never;
|
|
1291
|
+
header?: never;
|
|
1292
|
+
path: {
|
|
1293
|
+
projectId: string;
|
|
1294
|
+
environmentId: string;
|
|
1295
|
+
};
|
|
1296
|
+
cookie?: never;
|
|
1297
|
+
};
|
|
1298
|
+
requestBody?: never;
|
|
1299
|
+
responses: {
|
|
1300
|
+
200: {
|
|
1301
|
+
headers: {
|
|
1302
|
+
[name: string]: unknown;
|
|
1303
|
+
};
|
|
1304
|
+
content: {
|
|
1305
|
+
"application/json": components["schemas"]["EnvironmentVariableList"];
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
default: components["responses"]["Error"];
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
setVariable: {
|
|
1312
|
+
parameters: {
|
|
1313
|
+
query?: never;
|
|
1314
|
+
header?: never;
|
|
1315
|
+
path: {
|
|
1316
|
+
projectId: string;
|
|
1317
|
+
environmentId: string;
|
|
1318
|
+
serviceId: string;
|
|
1319
|
+
key: string;
|
|
1320
|
+
};
|
|
1321
|
+
cookie?: never;
|
|
1322
|
+
};
|
|
1323
|
+
requestBody: {
|
|
1324
|
+
content: {
|
|
1325
|
+
"application/json": components["schemas"]["VariableWrite"];
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
responses: {
|
|
1329
|
+
200: {
|
|
1330
|
+
headers: {
|
|
1331
|
+
[name: string]: unknown;
|
|
1332
|
+
};
|
|
1333
|
+
content: {
|
|
1334
|
+
"application/json": components["schemas"]["EnvironmentVariable"];
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
default: components["responses"]["Error"];
|
|
1338
|
+
};
|
|
1339
|
+
};
|
|
1340
|
+
deleteVariable: {
|
|
1341
|
+
parameters: {
|
|
1342
|
+
query?: never;
|
|
1343
|
+
header?: never;
|
|
1344
|
+
path: {
|
|
1345
|
+
projectId: string;
|
|
1346
|
+
environmentId: string;
|
|
1347
|
+
serviceId: string;
|
|
1348
|
+
key: string;
|
|
1349
|
+
};
|
|
1350
|
+
cookie?: never;
|
|
1351
|
+
};
|
|
1352
|
+
requestBody?: never;
|
|
1353
|
+
responses: {
|
|
1354
|
+
/** @description The variable is removed; the answer has no body. */
|
|
1355
|
+
200: {
|
|
1356
|
+
headers: {
|
|
1357
|
+
[name: string]: unknown;
|
|
1358
|
+
};
|
|
1359
|
+
content?: never;
|
|
1360
|
+
};
|
|
1361
|
+
default: components["responses"]["Error"];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
readEnvironmentResources: {
|
|
1365
|
+
parameters: {
|
|
1366
|
+
query?: never;
|
|
1367
|
+
header?: never;
|
|
1368
|
+
path: {
|
|
1369
|
+
projectId: string;
|
|
1370
|
+
environmentId: string;
|
|
1371
|
+
};
|
|
1372
|
+
cookie?: never;
|
|
1373
|
+
};
|
|
1374
|
+
requestBody?: never;
|
|
1375
|
+
responses: {
|
|
1376
|
+
200: {
|
|
1377
|
+
headers: {
|
|
1378
|
+
[name: string]: unknown;
|
|
1379
|
+
};
|
|
1380
|
+
content: {
|
|
1381
|
+
"application/json": components["schemas"]["EnvironmentResources"];
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
default: components["responses"]["Error"];
|
|
1385
|
+
};
|
|
1386
|
+
};
|
|
1387
|
+
planResources: {
|
|
1388
|
+
parameters: {
|
|
1389
|
+
query?: never;
|
|
1390
|
+
header?: never;
|
|
1391
|
+
path: {
|
|
1392
|
+
projectId: string;
|
|
1393
|
+
environmentId: string;
|
|
1394
|
+
};
|
|
1395
|
+
cookie?: never;
|
|
1396
|
+
};
|
|
1397
|
+
requestBody: {
|
|
1398
|
+
content: {
|
|
1399
|
+
"application/json": components["schemas"]["ResourceModules"];
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1402
|
+
responses: {
|
|
1403
|
+
200: {
|
|
1404
|
+
headers: {
|
|
1405
|
+
[name: string]: unknown;
|
|
1406
|
+
};
|
|
1407
|
+
content: {
|
|
1408
|
+
"application/json": components["schemas"]["ResourcePlan"];
|
|
1409
|
+
};
|
|
1410
|
+
};
|
|
1411
|
+
default: components["responses"]["Error"];
|
|
1412
|
+
};
|
|
1413
|
+
};
|
|
1414
|
+
applyResources: {
|
|
1415
|
+
parameters: {
|
|
1416
|
+
query?: never;
|
|
1417
|
+
header?: never;
|
|
1418
|
+
path: {
|
|
1419
|
+
projectId: string;
|
|
1420
|
+
environmentId: string;
|
|
1421
|
+
};
|
|
1422
|
+
cookie?: never;
|
|
1423
|
+
};
|
|
1424
|
+
requestBody: {
|
|
1425
|
+
content: {
|
|
1426
|
+
"application/json": components["schemas"]["ResourceModules"];
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
responses: {
|
|
1430
|
+
200: {
|
|
1431
|
+
headers: {
|
|
1432
|
+
[name: string]: unknown;
|
|
1433
|
+
};
|
|
1434
|
+
content: {
|
|
1435
|
+
"application/json": components["schemas"]["AppliedResources"];
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
default: components["responses"]["Error"];
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
readServiceSettings: {
|
|
1442
|
+
parameters: {
|
|
1443
|
+
query?: never;
|
|
1444
|
+
header?: never;
|
|
1445
|
+
path: {
|
|
1446
|
+
serviceId: string;
|
|
1447
|
+
};
|
|
1448
|
+
cookie?: never;
|
|
1449
|
+
};
|
|
1450
|
+
requestBody?: never;
|
|
1451
|
+
responses: {
|
|
1452
|
+
200: {
|
|
1453
|
+
headers: {
|
|
1454
|
+
[name: string]: unknown;
|
|
1455
|
+
};
|
|
1456
|
+
content: {
|
|
1457
|
+
"application/json": components["schemas"]["ServiceSettings"];
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
default: components["responses"]["Error"];
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
deploySource: {
|
|
1464
|
+
parameters: {
|
|
1465
|
+
query?: never;
|
|
1466
|
+
header?: never;
|
|
1467
|
+
path: {
|
|
1468
|
+
serviceId: string;
|
|
1469
|
+
};
|
|
1470
|
+
cookie?: never;
|
|
1471
|
+
};
|
|
1472
|
+
requestBody: {
|
|
1473
|
+
content: {
|
|
1474
|
+
"multipart/form-data": {
|
|
1475
|
+
/**
|
|
1476
|
+
* Format: binary
|
|
1477
|
+
* @description Non-empty source tar archive (.tar) of at most 95 MiB, the upload_bytes ceiling no plan raises. The Cloudflare edge refuses a request body above 100 MB with its own 413 page before the API sees it. No other parts are accepted. Tenant upload quotas also apply.
|
|
1478
|
+
*/
|
|
1479
|
+
source: string;
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
responses: {
|
|
1484
|
+
202: {
|
|
1485
|
+
headers: {
|
|
1486
|
+
[name: string]: unknown;
|
|
1487
|
+
};
|
|
1488
|
+
content: {
|
|
1489
|
+
"application/json": components["schemas"]["DeploymentReceipt"];
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
default: components["responses"]["Error"];
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
deploymentHistory: {
|
|
1496
|
+
parameters: {
|
|
1497
|
+
query?: never;
|
|
1498
|
+
header?: never;
|
|
1499
|
+
path: {
|
|
1500
|
+
serviceId: string;
|
|
1501
|
+
};
|
|
1502
|
+
cookie?: never;
|
|
1503
|
+
};
|
|
1504
|
+
requestBody?: never;
|
|
1505
|
+
responses: {
|
|
1506
|
+
200: {
|
|
1507
|
+
headers: {
|
|
1508
|
+
[name: string]: unknown;
|
|
1509
|
+
};
|
|
1510
|
+
content: {
|
|
1511
|
+
"application/json": components["schemas"]["DeploymentHistory"];
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
default: components["responses"]["Error"];
|
|
1515
|
+
};
|
|
1516
|
+
};
|
|
1517
|
+
rollbackDeployment: {
|
|
1518
|
+
parameters: {
|
|
1519
|
+
query?: never;
|
|
1520
|
+
header?: never;
|
|
1521
|
+
path: {
|
|
1522
|
+
serviceId: string;
|
|
1523
|
+
revisionId: string;
|
|
1524
|
+
};
|
|
1525
|
+
cookie?: never;
|
|
1526
|
+
};
|
|
1527
|
+
requestBody?: never;
|
|
1528
|
+
responses: {
|
|
1529
|
+
200: {
|
|
1530
|
+
headers: {
|
|
1531
|
+
[name: string]: unknown;
|
|
1532
|
+
};
|
|
1533
|
+
content: {
|
|
1534
|
+
"application/json": {
|
|
1535
|
+
[key: string]: unknown;
|
|
1536
|
+
};
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
default: components["responses"]["Error"];
|
|
1540
|
+
};
|
|
1541
|
+
};
|
|
1542
|
+
streamServiceLogs: {
|
|
1543
|
+
parameters: {
|
|
1544
|
+
query?: {
|
|
1545
|
+
follow?: boolean;
|
|
1546
|
+
};
|
|
1547
|
+
header?: never;
|
|
1548
|
+
path: {
|
|
1549
|
+
serviceId: string;
|
|
1550
|
+
};
|
|
1551
|
+
cookie?: never;
|
|
1552
|
+
};
|
|
1553
|
+
requestBody?: never;
|
|
1554
|
+
responses: {
|
|
1555
|
+
/** @description Server-sent log events */
|
|
1556
|
+
200: {
|
|
1557
|
+
headers: {
|
|
1558
|
+
[name: string]: unknown;
|
|
1559
|
+
};
|
|
1560
|
+
content: {
|
|
1561
|
+
"text/event-stream": string;
|
|
1562
|
+
};
|
|
1563
|
+
};
|
|
1564
|
+
default: components["responses"]["Error"];
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
readDeployment: {
|
|
1568
|
+
parameters: {
|
|
1569
|
+
query?: never;
|
|
1570
|
+
header?: never;
|
|
1571
|
+
path: {
|
|
1572
|
+
deploymentId: string;
|
|
1573
|
+
};
|
|
1574
|
+
cookie?: never;
|
|
1575
|
+
};
|
|
1576
|
+
requestBody?: never;
|
|
1577
|
+
responses: {
|
|
1578
|
+
200: {
|
|
1579
|
+
headers: {
|
|
1580
|
+
[name: string]: unknown;
|
|
1581
|
+
};
|
|
1582
|
+
content: {
|
|
1583
|
+
"application/json": components["schemas"]["DeploymentDetail"];
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
default: components["responses"]["Error"];
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
streamDeploymentProgress: {
|
|
1590
|
+
parameters: {
|
|
1591
|
+
query?: never;
|
|
1592
|
+
header?: never;
|
|
1593
|
+
path: {
|
|
1594
|
+
deploymentId: string;
|
|
1595
|
+
};
|
|
1596
|
+
cookie?: never;
|
|
1597
|
+
};
|
|
1598
|
+
requestBody?: never;
|
|
1599
|
+
responses: {
|
|
1600
|
+
/** @description Server-sent deployment progress events */
|
|
1601
|
+
200: {
|
|
1602
|
+
headers: {
|
|
1603
|
+
[name: string]: unknown;
|
|
1604
|
+
};
|
|
1605
|
+
content: {
|
|
1606
|
+
"text/event-stream": string;
|
|
1607
|
+
};
|
|
1608
|
+
};
|
|
1609
|
+
default: components["responses"]["Error"];
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
}
|