@simantic/cloud-sim 0.1.0
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 +298 -0
- package/dist/catalog.d.ts +32 -0
- package/dist/catalog.js +58 -0
- package/dist/client.d.ts +53 -0
- package/dist/client.js +15 -0
- package/dist/compare.d.ts +26 -0
- package/dist/compare.js +53 -0
- package/dist/errors.d.ts +61 -0
- package/dist/errors.js +111 -0
- package/dist/follow.d.ts +61 -0
- package/dist/follow.js +277 -0
- package/dist/generated/v1.d.ts +1959 -0
- package/dist/generated/v1.js +5 -0
- package/dist/http.d.ts +89 -0
- package/dist/http.js +284 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/node.d.ts +5 -0
- package/dist/node.js +10 -0
- package/dist/runs.d.ts +152 -0
- package/dist/runs.js +284 -0
- package/dist/sse.d.ts +30 -0
- package/dist/sse.js +109 -0
- package/dist/types.d.ts +47 -0
- package/dist/types.js +11 -0
- package/package.json +59 -0
|
@@ -0,0 +1,1959 @@
|
|
|
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
|
+
"/v1/mcus": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** @description The MCU catalog of the request's version (`Cloud-Sim-Version`, or the default). */
|
|
14
|
+
get: operations["mcus"];
|
|
15
|
+
put?: never;
|
|
16
|
+
post?: never;
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
"/v1/runs": {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
get: operations["list"];
|
|
31
|
+
put?: never;
|
|
32
|
+
post: operations["create"];
|
|
33
|
+
delete?: never;
|
|
34
|
+
options?: never;
|
|
35
|
+
head?: never;
|
|
36
|
+
patch?: never;
|
|
37
|
+
trace?: never;
|
|
38
|
+
};
|
|
39
|
+
"/v1/runs/{id}": {
|
|
40
|
+
parameters: {
|
|
41
|
+
query?: never;
|
|
42
|
+
header?: never;
|
|
43
|
+
path?: never;
|
|
44
|
+
cookie?: never;
|
|
45
|
+
};
|
|
46
|
+
get: operations["get"];
|
|
47
|
+
put?: never;
|
|
48
|
+
post?: never;
|
|
49
|
+
delete?: never;
|
|
50
|
+
options?: never;
|
|
51
|
+
head?: never;
|
|
52
|
+
patch?: never;
|
|
53
|
+
trace?: never;
|
|
54
|
+
};
|
|
55
|
+
"/v1/runs/{id}/cancel": {
|
|
56
|
+
parameters: {
|
|
57
|
+
query?: never;
|
|
58
|
+
header?: never;
|
|
59
|
+
path?: never;
|
|
60
|
+
cookie?: never;
|
|
61
|
+
};
|
|
62
|
+
get?: never;
|
|
63
|
+
put?: never;
|
|
64
|
+
/** @description Cancels a run: a queued run at once; a starting or running one is stopped within seconds (`cancel_requested_at` meanwhile), keeping what it printed. A canceled run answers as it is. */
|
|
65
|
+
post: operations["cancel"];
|
|
66
|
+
delete?: never;
|
|
67
|
+
options?: never;
|
|
68
|
+
head?: never;
|
|
69
|
+
patch?: never;
|
|
70
|
+
trace?: never;
|
|
71
|
+
};
|
|
72
|
+
"/v1/runs/{id}/events": {
|
|
73
|
+
parameters: {
|
|
74
|
+
query?: never;
|
|
75
|
+
header?: never;
|
|
76
|
+
path?: never;
|
|
77
|
+
cookie?: never;
|
|
78
|
+
};
|
|
79
|
+
/** @description The run as server-sent events: `status` (the run, first on each connection and whenever it changes), `log` and `output` (`{"text", "next", "reset"}`), and `end` (the run) once it has finished; `error` (`{"error", "code"}`) if the API cannot read the run, before it closes. Each event's id is `<log>:<output>`; reconnect with `Last-Event-ID` to resume. A connection lasts at most 10 minutes. */
|
|
80
|
+
get: operations["events"];
|
|
81
|
+
put?: never;
|
|
82
|
+
post?: never;
|
|
83
|
+
delete?: never;
|
|
84
|
+
options?: never;
|
|
85
|
+
head?: never;
|
|
86
|
+
patch?: never;
|
|
87
|
+
trace?: never;
|
|
88
|
+
};
|
|
89
|
+
"/v1/runs/{id}/live": {
|
|
90
|
+
parameters: {
|
|
91
|
+
query?: never;
|
|
92
|
+
header?: never;
|
|
93
|
+
path?: never;
|
|
94
|
+
cookie?: never;
|
|
95
|
+
};
|
|
96
|
+
/** @description The run, and each stream from the byte offsets asked for (0 when left out), at most 256 KiB of each. Poll it from a queued run to its end, sending back each stream's `next`: the pages concatenate to the run's whole output, before it ends and after, unless a page says `reset`. */
|
|
97
|
+
get: operations["live"];
|
|
98
|
+
put?: never;
|
|
99
|
+
post?: never;
|
|
100
|
+
delete?: never;
|
|
101
|
+
options?: never;
|
|
102
|
+
head?: never;
|
|
103
|
+
patch?: never;
|
|
104
|
+
trace?: never;
|
|
105
|
+
};
|
|
106
|
+
"/v1/runs/{id}/log": {
|
|
107
|
+
parameters: {
|
|
108
|
+
query?: never;
|
|
109
|
+
header?: never;
|
|
110
|
+
path?: never;
|
|
111
|
+
cookie?: never;
|
|
112
|
+
};
|
|
113
|
+
/** @description The console of a finished run, as text. */
|
|
114
|
+
get: operations["log"];
|
|
115
|
+
put?: never;
|
|
116
|
+
post?: never;
|
|
117
|
+
delete?: never;
|
|
118
|
+
options?: never;
|
|
119
|
+
head?: never;
|
|
120
|
+
patch?: never;
|
|
121
|
+
trace?: never;
|
|
122
|
+
};
|
|
123
|
+
"/v1/runs/{id}/output": {
|
|
124
|
+
parameters: {
|
|
125
|
+
query?: never;
|
|
126
|
+
header?: never;
|
|
127
|
+
path?: never;
|
|
128
|
+
cookie?: never;
|
|
129
|
+
};
|
|
130
|
+
/** @description The UART records of a finished run, as text. */
|
|
131
|
+
get: operations["output"];
|
|
132
|
+
put?: never;
|
|
133
|
+
post?: never;
|
|
134
|
+
delete?: never;
|
|
135
|
+
options?: never;
|
|
136
|
+
head?: never;
|
|
137
|
+
patch?: never;
|
|
138
|
+
trace?: never;
|
|
139
|
+
};
|
|
140
|
+
"/v1/runs/{id}/result": {
|
|
141
|
+
parameters: {
|
|
142
|
+
query?: never;
|
|
143
|
+
header?: never;
|
|
144
|
+
path?: never;
|
|
145
|
+
cookie?: never;
|
|
146
|
+
};
|
|
147
|
+
get: operations["result"];
|
|
148
|
+
put?: never;
|
|
149
|
+
post?: never;
|
|
150
|
+
delete?: never;
|
|
151
|
+
options?: never;
|
|
152
|
+
head?: never;
|
|
153
|
+
patch?: never;
|
|
154
|
+
trace?: never;
|
|
155
|
+
};
|
|
156
|
+
"/v1/versions": {
|
|
157
|
+
parameters: {
|
|
158
|
+
query?: never;
|
|
159
|
+
header?: never;
|
|
160
|
+
path?: never;
|
|
161
|
+
cookie?: never;
|
|
162
|
+
};
|
|
163
|
+
get: operations["versions"];
|
|
164
|
+
put?: never;
|
|
165
|
+
post?: never;
|
|
166
|
+
delete?: never;
|
|
167
|
+
options?: never;
|
|
168
|
+
head?: never;
|
|
169
|
+
patch?: never;
|
|
170
|
+
trace?: never;
|
|
171
|
+
};
|
|
172
|
+
"/v1/versions/{version}": {
|
|
173
|
+
parameters: {
|
|
174
|
+
query?: never;
|
|
175
|
+
header?: never;
|
|
176
|
+
path?: never;
|
|
177
|
+
cookie?: never;
|
|
178
|
+
};
|
|
179
|
+
get: operations["version"];
|
|
180
|
+
put?: never;
|
|
181
|
+
post?: never;
|
|
182
|
+
delete?: never;
|
|
183
|
+
options?: never;
|
|
184
|
+
head?: never;
|
|
185
|
+
patch?: never;
|
|
186
|
+
trace?: never;
|
|
187
|
+
};
|
|
188
|
+
"/v1/versions/{version}/mcus": {
|
|
189
|
+
parameters: {
|
|
190
|
+
query?: never;
|
|
191
|
+
header?: never;
|
|
192
|
+
path?: never;
|
|
193
|
+
cookie?: never;
|
|
194
|
+
};
|
|
195
|
+
get: operations["version_mcus"];
|
|
196
|
+
put?: never;
|
|
197
|
+
post?: never;
|
|
198
|
+
delete?: never;
|
|
199
|
+
options?: never;
|
|
200
|
+
head?: never;
|
|
201
|
+
patch?: never;
|
|
202
|
+
trace?: never;
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
export type webhooks = Record<string, never>;
|
|
206
|
+
export interface components {
|
|
207
|
+
schemas: {
|
|
208
|
+
/**
|
|
209
|
+
* @description How an engine's binary was built: a published release, or from source
|
|
210
|
+
* (which may run MCUs a release refuses: quartz runs `incomplete` ones).
|
|
211
|
+
* @enum {string}
|
|
212
|
+
*/
|
|
213
|
+
Build: "dev" | "release";
|
|
214
|
+
/** @description What a version changed against the one before it. */
|
|
215
|
+
Changes: {
|
|
216
|
+
engines_added: string[];
|
|
217
|
+
engines_removed: string[];
|
|
218
|
+
engines_repinned: components["schemas"]["Repin"][];
|
|
219
|
+
/** @description Per engine in both versions. */
|
|
220
|
+
mcus: {
|
|
221
|
+
[key: string]: components["schemas"]["McuChanges"];
|
|
222
|
+
};
|
|
223
|
+
/** @description The version before; null for the first. */
|
|
224
|
+
previous: string | null;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* @description `POST /v1/runs` as JSON. A multipart request takes the same fields as
|
|
228
|
+
* form fields, with the ELF as the file part `firmware` (`usb_cdc_consoles`
|
|
229
|
+
* repeated for each name). Every option is optional; left out, each takes
|
|
230
|
+
* its default. An engine that does not take an option refuses it set to
|
|
231
|
+
* anything but the default (`option_not_supported`).
|
|
232
|
+
*/
|
|
233
|
+
CreateRun: {
|
|
234
|
+
/** @description The engine to run it on; the version's default engine when left out. */
|
|
235
|
+
engine?: string | null;
|
|
236
|
+
firmware: components["schemas"]["FirmwareInput"];
|
|
237
|
+
/** @description The MCU to simulate, by canonical name (`GET /v1/mcus`). */
|
|
238
|
+
mcu: string;
|
|
239
|
+
/**
|
|
240
|
+
* Format: double
|
|
241
|
+
* @description Simulated seconds to run for: more than 0, at most 60 (or the
|
|
242
|
+
* engine's own maximum). Default 10.
|
|
243
|
+
*/
|
|
244
|
+
simulated_seconds?: number | null;
|
|
245
|
+
/**
|
|
246
|
+
* @description Answer a bus access that reaches no device with a bus error instead
|
|
247
|
+
* of reading 0. Default false.
|
|
248
|
+
*/
|
|
249
|
+
trap_unmapped?: boolean | null;
|
|
250
|
+
uart_encoding?: null | components["schemas"]["UartEncoding"];
|
|
251
|
+
/**
|
|
252
|
+
* @description Write each UART record without its timestamp and label. Default
|
|
253
|
+
* false.
|
|
254
|
+
*/
|
|
255
|
+
uart_messages_only?: boolean | null;
|
|
256
|
+
/**
|
|
257
|
+
* @description USB device peripherals (such as `USB`) to put a CDC-ACM console
|
|
258
|
+
* host behind, whose traffic joins the UART records. At most 4.
|
|
259
|
+
*/
|
|
260
|
+
usb_cdc_consoles?: string[] | null;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* @description `POST /v1/runs` as multipart/form-data (the OpenAPI description of the
|
|
264
|
+
* form; the handler reads it field by field).
|
|
265
|
+
*/
|
|
266
|
+
CreateRunForm: {
|
|
267
|
+
engine?: string | null;
|
|
268
|
+
/**
|
|
269
|
+
* Format: binary
|
|
270
|
+
* @description The ELF, as a file part.
|
|
271
|
+
*/
|
|
272
|
+
firmware: string;
|
|
273
|
+
mcu: string;
|
|
274
|
+
/** Format: double */
|
|
275
|
+
simulated_seconds?: number | null;
|
|
276
|
+
trap_unmapped?: boolean | null;
|
|
277
|
+
uart_encoding?: null | components["schemas"]["UartEncoding"];
|
|
278
|
+
uart_messages_only?: boolean | null;
|
|
279
|
+
/** @description Repeat the field for each name. */
|
|
280
|
+
usb_cdc_consoles?: string[] | null;
|
|
281
|
+
};
|
|
282
|
+
/** @description An engine as a version pins it. */
|
|
283
|
+
EngineView: {
|
|
284
|
+
build: components["schemas"]["Build"];
|
|
285
|
+
/** @description The source commit of the release. */
|
|
286
|
+
commit: string;
|
|
287
|
+
fingerprint: string;
|
|
288
|
+
limits: components["schemas"]["Limits"];
|
|
289
|
+
/** @description How many MCUs it runs. */
|
|
290
|
+
mcu_count: number;
|
|
291
|
+
name: string;
|
|
292
|
+
/** @description The run options this engine takes, with their defaults and bounds. */
|
|
293
|
+
options: {
|
|
294
|
+
[key: string]: components["schemas"]["OptionView"];
|
|
295
|
+
};
|
|
296
|
+
/** @description The engine's release name. */
|
|
297
|
+
release: string;
|
|
298
|
+
/**
|
|
299
|
+
* Format: date-time
|
|
300
|
+
* @description When the release was published.
|
|
301
|
+
*/
|
|
302
|
+
released_at: string;
|
|
303
|
+
/** @description The engine's version (`sim version`). */
|
|
304
|
+
version: string;
|
|
305
|
+
};
|
|
306
|
+
/** @description Every error's body. */
|
|
307
|
+
Error: {
|
|
308
|
+
/**
|
|
309
|
+
* @description A stable name for programs. New codes may be added; a client treats
|
|
310
|
+
* one it does not know by the HTTP status. The /v1 API's:
|
|
311
|
+
*
|
|
312
|
+
* - 400 `version_unknown` (the `Cloud-Sim-Version` header names no
|
|
313
|
+
* version), `engine_unknown`, `engine_not_in_version`,
|
|
314
|
+
* `mcu_not_supported`, `mcu_not_runnable`, `option_not_supported`,
|
|
315
|
+
* `firmware_missing`, `firmware_invalid`, `firmware_url_refused`,
|
|
316
|
+
* `firmware_fetch_failed`, `invalid_request`;
|
|
317
|
+
* - 401 `unauthorized`; 403 `forbidden`;
|
|
318
|
+
* - 404 `run_not_found`, `version_unknown` (in the path), `not_found`;
|
|
319
|
+
* - 409 `idempotency_key_reused`, `run_not_finished`, `run_finished`;
|
|
320
|
+
* - 410 `version_retired`;
|
|
321
|
+
* - 413 `firmware_too_large`, `payload_too_large`;
|
|
322
|
+
* - 415 `unsupported_media_type`;
|
|
323
|
+
* - 429 `too_many_runs` (the caller's unfinished runs are at the
|
|
324
|
+
* limit; `Retry-After` says when to look again);
|
|
325
|
+
* - 503 `unavailable` (a service the API relies on; `Retry-After`).
|
|
326
|
+
*/
|
|
327
|
+
code: string;
|
|
328
|
+
/** @description A sentence for the person who made the request. */
|
|
329
|
+
error: string;
|
|
330
|
+
/** @description The request field at fault. */
|
|
331
|
+
param: string | null;
|
|
332
|
+
/** @description The request's `X-Request-Id`. */
|
|
333
|
+
request_id: string | null;
|
|
334
|
+
};
|
|
335
|
+
/** @description The firmware a run simulates. */
|
|
336
|
+
Firmware: {
|
|
337
|
+
/** @description Hex SHA-256 of the ELF. */
|
|
338
|
+
sha256: string;
|
|
339
|
+
/**
|
|
340
|
+
* Format: int64
|
|
341
|
+
* @description In bytes.
|
|
342
|
+
*/
|
|
343
|
+
size: number;
|
|
344
|
+
source: components["schemas"]["FirmwareSource"];
|
|
345
|
+
/** @description The URL it was fetched from, for `url`. */
|
|
346
|
+
url: string | null;
|
|
347
|
+
};
|
|
348
|
+
/** @description The firmware: exactly one of `base64` and `url`. */
|
|
349
|
+
FirmwareInput: {
|
|
350
|
+
/** @description The ELF, base64-encoded (standard alphabet, padded). */
|
|
351
|
+
base64?: string | null;
|
|
352
|
+
/**
|
|
353
|
+
* @description An https URL the server fetches the ELF from when the run is
|
|
354
|
+
* submitted (at most 24 MiB, within 20 seconds; never a private
|
|
355
|
+
* address).
|
|
356
|
+
*/
|
|
357
|
+
url?: string | null;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* @description How a run's firmware came: a multipart file part, base64 in JSON, or
|
|
361
|
+
* fetched by the server from a URL.
|
|
362
|
+
* @enum {string}
|
|
363
|
+
*/
|
|
364
|
+
FirmwareSource: "upload" | "base64" | "url";
|
|
365
|
+
/**
|
|
366
|
+
* @description Where a version is in its life (index.toml `status`).
|
|
367
|
+
* @enum {string}
|
|
368
|
+
*/
|
|
369
|
+
Lifecycle: "preview" | "stable" | "deprecated" | "retired";
|
|
370
|
+
/** @description What this server holds every run on the engine to. */
|
|
371
|
+
Limits: {
|
|
372
|
+
/**
|
|
373
|
+
* Format: int64
|
|
374
|
+
* @description The largest firmware, in bytes.
|
|
375
|
+
*/
|
|
376
|
+
firmware_bytes: number;
|
|
377
|
+
/**
|
|
378
|
+
* Format: int64
|
|
379
|
+
* @description The most real seconds a run may take, whatever it simulates.
|
|
380
|
+
*/
|
|
381
|
+
wall_seconds: number;
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* @description A run, and what it has printed of each stream from the offsets asked
|
|
385
|
+
* for.
|
|
386
|
+
*/
|
|
387
|
+
Live: {
|
|
388
|
+
/** @description The engine's console. */
|
|
389
|
+
log: components["schemas"]["LiveStream"];
|
|
390
|
+
/** @description The UART records. */
|
|
391
|
+
output: components["schemas"]["LiveStream"];
|
|
392
|
+
run: components["schemas"]["Run"];
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* @description Part of a stream: the text from the offset asked for, at most 256 KiB.
|
|
396
|
+
* Pages concatenate to the stream's whole text, while it runs and after,
|
|
397
|
+
* unless `reset` says to start over.
|
|
398
|
+
*/
|
|
399
|
+
LiveStream: {
|
|
400
|
+
/** @description Whether more is already waiting past `next`. */
|
|
401
|
+
more: boolean;
|
|
402
|
+
/**
|
|
403
|
+
* Format: int64
|
|
404
|
+
* @description The byte offset to ask from next. A character cut off at the end of
|
|
405
|
+
* what has arrived waits for the next read, so this can be short of
|
|
406
|
+
* the end: send it back as it came.
|
|
407
|
+
*/
|
|
408
|
+
next: number;
|
|
409
|
+
/**
|
|
410
|
+
* @description The run's final result differs from what it shipped while it ran,
|
|
411
|
+
* at or before the offset asked for: this page starts over at 0, and
|
|
412
|
+
* what was read before is to be dropped.
|
|
413
|
+
*/
|
|
414
|
+
reset: boolean;
|
|
415
|
+
text: string;
|
|
416
|
+
};
|
|
417
|
+
McuChanges: {
|
|
418
|
+
/** @description Runnable now and not before. */
|
|
419
|
+
added: string[];
|
|
420
|
+
/** @description Runnable before and not now. */
|
|
421
|
+
removed: string[];
|
|
422
|
+
status_changed: components["schemas"]["StatusChange"][];
|
|
423
|
+
};
|
|
424
|
+
McuEngineView: {
|
|
425
|
+
/** @description The engine's own name for it. */
|
|
426
|
+
model: string;
|
|
427
|
+
/** @description Whether this engine's release runs it. */
|
|
428
|
+
runnable: boolean;
|
|
429
|
+
/** @description The first version this engine ran it in. */
|
|
430
|
+
since: string | null;
|
|
431
|
+
/** @description `not-modeled`, `incomplete`, `modeled` or `tested`. */
|
|
432
|
+
status: string;
|
|
433
|
+
};
|
|
434
|
+
/** @description A version's MCU catalog. */
|
|
435
|
+
McuList: {
|
|
436
|
+
mcus: components["schemas"]["McuView"][];
|
|
437
|
+
version: string;
|
|
438
|
+
};
|
|
439
|
+
/** @description One MCU, and what each of the version's engines makes of it. */
|
|
440
|
+
McuView: {
|
|
441
|
+
description: string;
|
|
442
|
+
/** @description By engine name: only the engines that know it. */
|
|
443
|
+
engines: {
|
|
444
|
+
[key: string]: components["schemas"]["McuEngineView"];
|
|
445
|
+
};
|
|
446
|
+
/** @description The canonical name a run gives. */
|
|
447
|
+
mcu: string;
|
|
448
|
+
};
|
|
449
|
+
/** @description One run option an engine takes. */
|
|
450
|
+
OptionView: {
|
|
451
|
+
/** @description The option's default: a number, a string, a boolean or an array. */
|
|
452
|
+
default: unknown;
|
|
453
|
+
/** Format: double */
|
|
454
|
+
exclusive_minimum?: number | null;
|
|
455
|
+
/** @description Whole numbers only. */
|
|
456
|
+
integer?: boolean | null;
|
|
457
|
+
max_items?: number | null;
|
|
458
|
+
/** Format: double */
|
|
459
|
+
maximum?: number | null;
|
|
460
|
+
values?: string[] | null;
|
|
461
|
+
};
|
|
462
|
+
Pin: {
|
|
463
|
+
release: string;
|
|
464
|
+
version: string;
|
|
465
|
+
};
|
|
466
|
+
Repin: {
|
|
467
|
+
engine: string;
|
|
468
|
+
from: components["schemas"]["Pin"];
|
|
469
|
+
to: components["schemas"]["Pin"];
|
|
470
|
+
};
|
|
471
|
+
/** @description A simulation run. */
|
|
472
|
+
Run: {
|
|
473
|
+
/**
|
|
474
|
+
* Format: date-time
|
|
475
|
+
* @description When its owner asked to cancel it, while it is being stopped.
|
|
476
|
+
*/
|
|
477
|
+
cancel_requested_at: string | null;
|
|
478
|
+
/** Format: date-time */
|
|
479
|
+
created_at: string;
|
|
480
|
+
engine: null | components["schemas"]["RunEngine"];
|
|
481
|
+
/** @description Why the run failed or was canceled. */
|
|
482
|
+
error: string | null;
|
|
483
|
+
/**
|
|
484
|
+
* Format: int32
|
|
485
|
+
* @description The engine's exit code once it ran: 0 ok, 1 the simulation failed,
|
|
486
|
+
* 2 a usage error or an MCU the engine does not have.
|
|
487
|
+
*/
|
|
488
|
+
exit_code: number | null;
|
|
489
|
+
/** Format: date-time */
|
|
490
|
+
finished_at: string | null;
|
|
491
|
+
firmware: null | components["schemas"]["Firmware"];
|
|
492
|
+
/** Format: uuid */
|
|
493
|
+
id: string;
|
|
494
|
+
/** @description The MCU it simulates, by its canonical name. */
|
|
495
|
+
mcu: string;
|
|
496
|
+
options: null | components["schemas"]["RunOptions"];
|
|
497
|
+
/** Format: date-time */
|
|
498
|
+
started_at: string | null;
|
|
499
|
+
status: components["schemas"]["RunStatus"];
|
|
500
|
+
/**
|
|
501
|
+
* @description The API version the run is bound to. Null for a run from before API
|
|
502
|
+
* versions.
|
|
503
|
+
*/
|
|
504
|
+
version: string | null;
|
|
505
|
+
};
|
|
506
|
+
/** @description An engine as a run is bound to it. */
|
|
507
|
+
RunEngine: {
|
|
508
|
+
/** @description Such as `quartz`. */
|
|
509
|
+
name: string;
|
|
510
|
+
/**
|
|
511
|
+
* @description The engine release the run's version pins, when this server still
|
|
512
|
+
* serves that version.
|
|
513
|
+
*/
|
|
514
|
+
release: string | null;
|
|
515
|
+
/** @description The engine's own version (`sim version`), likewise. */
|
|
516
|
+
version: string | null;
|
|
517
|
+
};
|
|
518
|
+
/** @description A page of the caller's runs, newest first. */
|
|
519
|
+
RunList: {
|
|
520
|
+
/**
|
|
521
|
+
* Format: uuid
|
|
522
|
+
* @description Pass as `before` for the next page; null on the last.
|
|
523
|
+
*/
|
|
524
|
+
next: string | null;
|
|
525
|
+
runs: components["schemas"]["Run"][];
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* @description A run's options, engine-neutral, with every default filled in: what a
|
|
529
|
+
* /v1 run records (`jobs.options`) and reports.
|
|
530
|
+
*/
|
|
531
|
+
RunOptions: {
|
|
532
|
+
/** Format: double */
|
|
533
|
+
simulated_seconds: number;
|
|
534
|
+
trap_unmapped: boolean;
|
|
535
|
+
uart_encoding: components["schemas"]["UartEncoding"];
|
|
536
|
+
uart_messages_only: boolean;
|
|
537
|
+
usb_cdc_consoles: string[];
|
|
538
|
+
};
|
|
539
|
+
/** @description What a finished run produced. */
|
|
540
|
+
RunResult: {
|
|
541
|
+
/** Format: int32 */
|
|
542
|
+
exit_code: number | null;
|
|
543
|
+
/**
|
|
544
|
+
* @description The engine's console, each line starting with the UTC time it
|
|
545
|
+
* appeared.
|
|
546
|
+
*/
|
|
547
|
+
log: string | null;
|
|
548
|
+
/** @description The UART records. */
|
|
549
|
+
output: string | null;
|
|
550
|
+
/** @description Either stream reached its 1 MiB cap. */
|
|
551
|
+
truncated: boolean | null;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* @description Where a run is. The set is fixed for v1: `canceled` is a run its owner
|
|
555
|
+
* stopped.
|
|
556
|
+
* @enum {string}
|
|
557
|
+
*/
|
|
558
|
+
RunStatus: "queued" | "starting" | "running" | "succeeded" | "failed" | "canceled";
|
|
559
|
+
StatusChange: {
|
|
560
|
+
from: string;
|
|
561
|
+
mcu: string;
|
|
562
|
+
to: string;
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* @description How UART bytes are written: hex rows (every engine's default) or text.
|
|
566
|
+
* @enum {string}
|
|
567
|
+
*/
|
|
568
|
+
UartEncoding: "hex" | "ascii";
|
|
569
|
+
/** @description Every version this server serves. */
|
|
570
|
+
VersionList: {
|
|
571
|
+
/** @description What a request without `Cloud-Sim-Version` gets. */
|
|
572
|
+
default: string;
|
|
573
|
+
/** @description What the legacy /jobs API runs on. */
|
|
574
|
+
legacy: string;
|
|
575
|
+
/** @description Oldest first. */
|
|
576
|
+
versions: components["schemas"]["VersionView"][];
|
|
577
|
+
};
|
|
578
|
+
/** @description One API version: its lifecycle and the engines it binds. */
|
|
579
|
+
VersionView: {
|
|
580
|
+
/** @description What changed against the version before. */
|
|
581
|
+
changes: components["schemas"]["Changes"];
|
|
582
|
+
default_engine: string;
|
|
583
|
+
/** Format: date */
|
|
584
|
+
deprecated_at: string | null;
|
|
585
|
+
engines: components["schemas"]["EngineView"][];
|
|
586
|
+
/** @description `1.N` or `1.N-preview.M`. */
|
|
587
|
+
id: string;
|
|
588
|
+
notes: string;
|
|
589
|
+
/** Format: date */
|
|
590
|
+
released_at: string;
|
|
591
|
+
/** Format: date */
|
|
592
|
+
retired_at: string | null;
|
|
593
|
+
status: components["schemas"]["Lifecycle"];
|
|
594
|
+
/**
|
|
595
|
+
* Format: date
|
|
596
|
+
* @description When a deprecated version retires.
|
|
597
|
+
*/
|
|
598
|
+
sunset_at: string | null;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
responses: never;
|
|
602
|
+
parameters: never;
|
|
603
|
+
requestBodies: never;
|
|
604
|
+
headers: never;
|
|
605
|
+
pathItems: never;
|
|
606
|
+
}
|
|
607
|
+
export type $defs = Record<string, never>;
|
|
608
|
+
export interface operations {
|
|
609
|
+
mcus: {
|
|
610
|
+
parameters: {
|
|
611
|
+
query?: {
|
|
612
|
+
/** @description Only this engine's MCUs. */
|
|
613
|
+
engine?: string;
|
|
614
|
+
/** @description Only MCUs that run (on `engine`, or on any engine). */
|
|
615
|
+
runnable?: boolean;
|
|
616
|
+
};
|
|
617
|
+
header?: never;
|
|
618
|
+
path?: never;
|
|
619
|
+
cookie?: never;
|
|
620
|
+
};
|
|
621
|
+
requestBody?: never;
|
|
622
|
+
responses: {
|
|
623
|
+
200: {
|
|
624
|
+
headers: {
|
|
625
|
+
/** @description The API version that answered. */
|
|
626
|
+
"Cloud-Sim-Version"?: string;
|
|
627
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
628
|
+
Deprecation?: string;
|
|
629
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
630
|
+
Sunset?: string;
|
|
631
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
632
|
+
"X-Request-Id"?: string;
|
|
633
|
+
[name: string]: unknown;
|
|
634
|
+
};
|
|
635
|
+
content: {
|
|
636
|
+
"application/json": components["schemas"]["McuList"];
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
400: {
|
|
640
|
+
headers: {
|
|
641
|
+
/** @description The API version that answered. */
|
|
642
|
+
"Cloud-Sim-Version"?: string;
|
|
643
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
644
|
+
Deprecation?: string;
|
|
645
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
646
|
+
Sunset?: string;
|
|
647
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
648
|
+
"X-Request-Id"?: string;
|
|
649
|
+
[name: string]: unknown;
|
|
650
|
+
};
|
|
651
|
+
content: {
|
|
652
|
+
"application/json": components["schemas"]["Error"];
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
/** @description A service the API relies on is unavailable. */
|
|
656
|
+
503: {
|
|
657
|
+
headers: {
|
|
658
|
+
/** @description The API version that answered. */
|
|
659
|
+
"Cloud-Sim-Version"?: string;
|
|
660
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
661
|
+
Deprecation?: string;
|
|
662
|
+
/** @description Seconds to wait before trying again. */
|
|
663
|
+
"Retry-After"?: string;
|
|
664
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
665
|
+
Sunset?: string;
|
|
666
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
667
|
+
"X-Request-Id"?: string;
|
|
668
|
+
[name: string]: unknown;
|
|
669
|
+
};
|
|
670
|
+
content: {
|
|
671
|
+
"application/json": components["schemas"]["Error"];
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
list: {
|
|
677
|
+
parameters: {
|
|
678
|
+
query?: {
|
|
679
|
+
/** @description 1 to 100, default 20. */
|
|
680
|
+
limit?: number;
|
|
681
|
+
/** @description A run of yours: the page starts after it (a page's `next`). */
|
|
682
|
+
before?: string;
|
|
683
|
+
/** @description Only runs on this engine. */
|
|
684
|
+
engine?: string;
|
|
685
|
+
};
|
|
686
|
+
header?: never;
|
|
687
|
+
path?: never;
|
|
688
|
+
cookie?: never;
|
|
689
|
+
};
|
|
690
|
+
requestBody?: never;
|
|
691
|
+
responses: {
|
|
692
|
+
200: {
|
|
693
|
+
headers: {
|
|
694
|
+
/** @description The API version that answered. */
|
|
695
|
+
"Cloud-Sim-Version"?: string;
|
|
696
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
697
|
+
Deprecation?: string;
|
|
698
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
699
|
+
Sunset?: string;
|
|
700
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
701
|
+
"X-Request-Id"?: string;
|
|
702
|
+
[name: string]: unknown;
|
|
703
|
+
};
|
|
704
|
+
content: {
|
|
705
|
+
"application/json": components["schemas"]["RunList"];
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
400: {
|
|
709
|
+
headers: {
|
|
710
|
+
/** @description The API version that answered. */
|
|
711
|
+
"Cloud-Sim-Version"?: string;
|
|
712
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
713
|
+
Deprecation?: string;
|
|
714
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
715
|
+
Sunset?: string;
|
|
716
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
717
|
+
"X-Request-Id"?: string;
|
|
718
|
+
[name: string]: unknown;
|
|
719
|
+
};
|
|
720
|
+
content: {
|
|
721
|
+
"application/json": components["schemas"]["Error"];
|
|
722
|
+
};
|
|
723
|
+
};
|
|
724
|
+
401: {
|
|
725
|
+
headers: {
|
|
726
|
+
/** @description The API version that answered. */
|
|
727
|
+
"Cloud-Sim-Version"?: string;
|
|
728
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
729
|
+
Deprecation?: string;
|
|
730
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
731
|
+
Sunset?: string;
|
|
732
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
733
|
+
"X-Request-Id"?: string;
|
|
734
|
+
[name: string]: unknown;
|
|
735
|
+
};
|
|
736
|
+
content: {
|
|
737
|
+
"application/json": components["schemas"]["Error"];
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
/** @description A service the API relies on is unavailable. */
|
|
741
|
+
503: {
|
|
742
|
+
headers: {
|
|
743
|
+
/** @description The API version that answered. */
|
|
744
|
+
"Cloud-Sim-Version"?: string;
|
|
745
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
746
|
+
Deprecation?: string;
|
|
747
|
+
/** @description Seconds to wait before trying again. */
|
|
748
|
+
"Retry-After"?: string;
|
|
749
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
750
|
+
Sunset?: string;
|
|
751
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
752
|
+
"X-Request-Id"?: string;
|
|
753
|
+
[name: string]: unknown;
|
|
754
|
+
};
|
|
755
|
+
content: {
|
|
756
|
+
"application/json": components["schemas"]["Error"];
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
create: {
|
|
762
|
+
parameters: {
|
|
763
|
+
query?: never;
|
|
764
|
+
header?: {
|
|
765
|
+
/** @description The API version; the newest stable without it. */
|
|
766
|
+
"Cloud-Sim-Version"?: string | null;
|
|
767
|
+
/** @description Up to 255 printable ASCII characters: the same request again with it gets the same run. */
|
|
768
|
+
"Idempotency-Key"?: string | null;
|
|
769
|
+
};
|
|
770
|
+
path?: never;
|
|
771
|
+
cookie?: never;
|
|
772
|
+
};
|
|
773
|
+
/** @description The run: JSON (firmware as base64 or a URL) or multipart/form-data (firmware as the file part `firmware`). */
|
|
774
|
+
requestBody: {
|
|
775
|
+
content: {
|
|
776
|
+
"application/json": components["schemas"]["CreateRun"];
|
|
777
|
+
"multipart/form-data": components["schemas"]["CreateRunForm"];
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
responses: {
|
|
781
|
+
/** @description Already made under this Idempotency-Key. */
|
|
782
|
+
200: {
|
|
783
|
+
headers: {
|
|
784
|
+
/** @description The API version that answered. */
|
|
785
|
+
"Cloud-Sim-Version"?: string;
|
|
786
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
787
|
+
Deprecation?: string;
|
|
788
|
+
/** @description `true` on a 200: the run this Idempotency-Key made before. */
|
|
789
|
+
"Idempotent-Replayed"?: string;
|
|
790
|
+
/** @description The run's URL path. */
|
|
791
|
+
Location?: string;
|
|
792
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
793
|
+
Sunset?: string;
|
|
794
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
795
|
+
"X-Request-Id"?: string;
|
|
796
|
+
[name: string]: unknown;
|
|
797
|
+
};
|
|
798
|
+
content: {
|
|
799
|
+
"application/json": components["schemas"]["Run"];
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
/** @description Queued; `Location` names it. */
|
|
803
|
+
201: {
|
|
804
|
+
headers: {
|
|
805
|
+
/** @description The API version that answered. */
|
|
806
|
+
"Cloud-Sim-Version"?: string;
|
|
807
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
808
|
+
Deprecation?: string;
|
|
809
|
+
/** @description `true` on a 200: the run this Idempotency-Key made before. */
|
|
810
|
+
"Idempotent-Replayed"?: string;
|
|
811
|
+
/** @description The run's URL path. */
|
|
812
|
+
Location?: string;
|
|
813
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
814
|
+
Sunset?: string;
|
|
815
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
816
|
+
"X-Request-Id"?: string;
|
|
817
|
+
[name: string]: unknown;
|
|
818
|
+
};
|
|
819
|
+
content: {
|
|
820
|
+
"application/json": components["schemas"]["Run"];
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
/** @description The request does not fit the version, engine or MCU. */
|
|
824
|
+
400: {
|
|
825
|
+
headers: {
|
|
826
|
+
/** @description The API version that answered. */
|
|
827
|
+
"Cloud-Sim-Version"?: string;
|
|
828
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
829
|
+
Deprecation?: string;
|
|
830
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
831
|
+
Sunset?: string;
|
|
832
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
833
|
+
"X-Request-Id"?: string;
|
|
834
|
+
[name: string]: unknown;
|
|
835
|
+
};
|
|
836
|
+
content: {
|
|
837
|
+
"application/json": components["schemas"]["Error"];
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
/** @description No valid credential. */
|
|
841
|
+
401: {
|
|
842
|
+
headers: {
|
|
843
|
+
/** @description The API version that answered. */
|
|
844
|
+
"Cloud-Sim-Version"?: string;
|
|
845
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
846
|
+
Deprecation?: string;
|
|
847
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
848
|
+
Sunset?: string;
|
|
849
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
850
|
+
"X-Request-Id"?: string;
|
|
851
|
+
[name: string]: unknown;
|
|
852
|
+
};
|
|
853
|
+
content: {
|
|
854
|
+
"application/json": components["schemas"]["Error"];
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
/** @description The Idempotency-Key was used for a different run. */
|
|
858
|
+
409: {
|
|
859
|
+
headers: {
|
|
860
|
+
/** @description The API version that answered. */
|
|
861
|
+
"Cloud-Sim-Version"?: string;
|
|
862
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
863
|
+
Deprecation?: string;
|
|
864
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
865
|
+
Sunset?: string;
|
|
866
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
867
|
+
"X-Request-Id"?: string;
|
|
868
|
+
[name: string]: unknown;
|
|
869
|
+
};
|
|
870
|
+
content: {
|
|
871
|
+
"application/json": components["schemas"]["Error"];
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
/** @description The version is retired. */
|
|
875
|
+
410: {
|
|
876
|
+
headers: {
|
|
877
|
+
/** @description The API version that answered. */
|
|
878
|
+
"Cloud-Sim-Version"?: string;
|
|
879
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
880
|
+
Deprecation?: string;
|
|
881
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
882
|
+
Sunset?: string;
|
|
883
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
884
|
+
"X-Request-Id"?: string;
|
|
885
|
+
[name: string]: unknown;
|
|
886
|
+
};
|
|
887
|
+
content: {
|
|
888
|
+
"application/json": components["schemas"]["Error"];
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
/** @description The body or the firmware is too large. */
|
|
892
|
+
413: {
|
|
893
|
+
headers: {
|
|
894
|
+
/** @description The API version that answered. */
|
|
895
|
+
"Cloud-Sim-Version"?: string;
|
|
896
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
897
|
+
Deprecation?: string;
|
|
898
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
899
|
+
Sunset?: string;
|
|
900
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
901
|
+
"X-Request-Id"?: string;
|
|
902
|
+
[name: string]: unknown;
|
|
903
|
+
};
|
|
904
|
+
content: {
|
|
905
|
+
"application/json": components["schemas"]["Error"];
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
/** @description Neither JSON nor multipart/form-data. */
|
|
909
|
+
415: {
|
|
910
|
+
headers: {
|
|
911
|
+
/** @description The API version that answered. */
|
|
912
|
+
"Cloud-Sim-Version"?: string;
|
|
913
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
914
|
+
Deprecation?: string;
|
|
915
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
916
|
+
Sunset?: string;
|
|
917
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
918
|
+
"X-Request-Id"?: string;
|
|
919
|
+
[name: string]: unknown;
|
|
920
|
+
};
|
|
921
|
+
content: {
|
|
922
|
+
"application/json": components["schemas"]["Error"];
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
/** @description The caller has as many runs unfinished as allowed. */
|
|
926
|
+
429: {
|
|
927
|
+
headers: {
|
|
928
|
+
/** @description The API version that answered. */
|
|
929
|
+
"Cloud-Sim-Version"?: string;
|
|
930
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
931
|
+
Deprecation?: string;
|
|
932
|
+
/** @description Seconds to wait before trying again. */
|
|
933
|
+
"Retry-After"?: string;
|
|
934
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
935
|
+
Sunset?: string;
|
|
936
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
937
|
+
"X-Request-Id"?: string;
|
|
938
|
+
[name: string]: unknown;
|
|
939
|
+
};
|
|
940
|
+
content: {
|
|
941
|
+
"application/json": components["schemas"]["Error"];
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
/** @description A service it relies on is unavailable. */
|
|
945
|
+
503: {
|
|
946
|
+
headers: {
|
|
947
|
+
/** @description The API version that answered. */
|
|
948
|
+
"Cloud-Sim-Version"?: string;
|
|
949
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
950
|
+
Deprecation?: string;
|
|
951
|
+
/** @description Seconds to wait before trying again. */
|
|
952
|
+
"Retry-After"?: string;
|
|
953
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
954
|
+
Sunset?: string;
|
|
955
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
956
|
+
"X-Request-Id"?: string;
|
|
957
|
+
[name: string]: unknown;
|
|
958
|
+
};
|
|
959
|
+
content: {
|
|
960
|
+
"application/json": components["schemas"]["Error"];
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
get: {
|
|
966
|
+
parameters: {
|
|
967
|
+
query?: never;
|
|
968
|
+
header?: never;
|
|
969
|
+
path: {
|
|
970
|
+
id: string;
|
|
971
|
+
};
|
|
972
|
+
cookie?: never;
|
|
973
|
+
};
|
|
974
|
+
requestBody?: never;
|
|
975
|
+
responses: {
|
|
976
|
+
200: {
|
|
977
|
+
headers: {
|
|
978
|
+
/** @description The API version that answered. */
|
|
979
|
+
"Cloud-Sim-Version"?: string;
|
|
980
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
981
|
+
Deprecation?: string;
|
|
982
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
983
|
+
Sunset?: string;
|
|
984
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
985
|
+
"X-Request-Id"?: string;
|
|
986
|
+
[name: string]: unknown;
|
|
987
|
+
};
|
|
988
|
+
content: {
|
|
989
|
+
"application/json": components["schemas"]["Run"];
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
993
|
+
400: {
|
|
994
|
+
headers: {
|
|
995
|
+
/** @description The API version that answered. */
|
|
996
|
+
"Cloud-Sim-Version"?: string;
|
|
997
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
998
|
+
Deprecation?: string;
|
|
999
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1000
|
+
Sunset?: string;
|
|
1001
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1002
|
+
"X-Request-Id"?: string;
|
|
1003
|
+
[name: string]: unknown;
|
|
1004
|
+
};
|
|
1005
|
+
content: {
|
|
1006
|
+
"application/json": components["schemas"]["Error"];
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
/** @description No valid credential. */
|
|
1010
|
+
401: {
|
|
1011
|
+
headers: {
|
|
1012
|
+
/** @description The API version that answered. */
|
|
1013
|
+
"Cloud-Sim-Version"?: string;
|
|
1014
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1015
|
+
Deprecation?: string;
|
|
1016
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1017
|
+
Sunset?: string;
|
|
1018
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1019
|
+
"X-Request-Id"?: string;
|
|
1020
|
+
[name: string]: unknown;
|
|
1021
|
+
};
|
|
1022
|
+
content: {
|
|
1023
|
+
"application/json": components["schemas"]["Error"];
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
404: {
|
|
1027
|
+
headers: {
|
|
1028
|
+
/** @description The API version that answered. */
|
|
1029
|
+
"Cloud-Sim-Version"?: string;
|
|
1030
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1031
|
+
Deprecation?: string;
|
|
1032
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1033
|
+
Sunset?: string;
|
|
1034
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1035
|
+
"X-Request-Id"?: string;
|
|
1036
|
+
[name: string]: unknown;
|
|
1037
|
+
};
|
|
1038
|
+
content: {
|
|
1039
|
+
"application/json": components["schemas"]["Error"];
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
/** @description A service the API relies on is unavailable. */
|
|
1043
|
+
503: {
|
|
1044
|
+
headers: {
|
|
1045
|
+
/** @description The API version that answered. */
|
|
1046
|
+
"Cloud-Sim-Version"?: string;
|
|
1047
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1048
|
+
Deprecation?: string;
|
|
1049
|
+
/** @description Seconds to wait before trying again. */
|
|
1050
|
+
"Retry-After"?: string;
|
|
1051
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1052
|
+
Sunset?: string;
|
|
1053
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1054
|
+
"X-Request-Id"?: string;
|
|
1055
|
+
[name: string]: unknown;
|
|
1056
|
+
};
|
|
1057
|
+
content: {
|
|
1058
|
+
"application/json": components["schemas"]["Error"];
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
cancel: {
|
|
1064
|
+
parameters: {
|
|
1065
|
+
query?: never;
|
|
1066
|
+
header?: never;
|
|
1067
|
+
path: {
|
|
1068
|
+
id: string;
|
|
1069
|
+
};
|
|
1070
|
+
cookie?: never;
|
|
1071
|
+
};
|
|
1072
|
+
requestBody?: never;
|
|
1073
|
+
responses: {
|
|
1074
|
+
200: {
|
|
1075
|
+
headers: {
|
|
1076
|
+
/** @description The API version that answered. */
|
|
1077
|
+
"Cloud-Sim-Version"?: string;
|
|
1078
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1079
|
+
Deprecation?: string;
|
|
1080
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1081
|
+
Sunset?: string;
|
|
1082
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1083
|
+
"X-Request-Id"?: string;
|
|
1084
|
+
[name: string]: unknown;
|
|
1085
|
+
};
|
|
1086
|
+
content: {
|
|
1087
|
+
"application/json": components["schemas"]["Run"];
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
1091
|
+
400: {
|
|
1092
|
+
headers: {
|
|
1093
|
+
/** @description The API version that answered. */
|
|
1094
|
+
"Cloud-Sim-Version"?: string;
|
|
1095
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1096
|
+
Deprecation?: string;
|
|
1097
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1098
|
+
Sunset?: string;
|
|
1099
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1100
|
+
"X-Request-Id"?: string;
|
|
1101
|
+
[name: string]: unknown;
|
|
1102
|
+
};
|
|
1103
|
+
content: {
|
|
1104
|
+
"application/json": components["schemas"]["Error"];
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
/** @description No valid credential. */
|
|
1108
|
+
401: {
|
|
1109
|
+
headers: {
|
|
1110
|
+
/** @description The API version that answered. */
|
|
1111
|
+
"Cloud-Sim-Version"?: string;
|
|
1112
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1113
|
+
Deprecation?: string;
|
|
1114
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1115
|
+
Sunset?: string;
|
|
1116
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1117
|
+
"X-Request-Id"?: string;
|
|
1118
|
+
[name: string]: unknown;
|
|
1119
|
+
};
|
|
1120
|
+
content: {
|
|
1121
|
+
"application/json": components["schemas"]["Error"];
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
404: {
|
|
1125
|
+
headers: {
|
|
1126
|
+
/** @description The API version that answered. */
|
|
1127
|
+
"Cloud-Sim-Version"?: string;
|
|
1128
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1129
|
+
Deprecation?: string;
|
|
1130
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1131
|
+
Sunset?: string;
|
|
1132
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1133
|
+
"X-Request-Id"?: string;
|
|
1134
|
+
[name: string]: unknown;
|
|
1135
|
+
};
|
|
1136
|
+
content: {
|
|
1137
|
+
"application/json": components["schemas"]["Error"];
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
/** @description The run had already finished. */
|
|
1141
|
+
409: {
|
|
1142
|
+
headers: {
|
|
1143
|
+
/** @description The API version that answered. */
|
|
1144
|
+
"Cloud-Sim-Version"?: string;
|
|
1145
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1146
|
+
Deprecation?: string;
|
|
1147
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1148
|
+
Sunset?: string;
|
|
1149
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1150
|
+
"X-Request-Id"?: string;
|
|
1151
|
+
[name: string]: unknown;
|
|
1152
|
+
};
|
|
1153
|
+
content: {
|
|
1154
|
+
"application/json": components["schemas"]["Error"];
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
/** @description A service the API relies on is unavailable. */
|
|
1158
|
+
503: {
|
|
1159
|
+
headers: {
|
|
1160
|
+
/** @description The API version that answered. */
|
|
1161
|
+
"Cloud-Sim-Version"?: string;
|
|
1162
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1163
|
+
Deprecation?: string;
|
|
1164
|
+
/** @description Seconds to wait before trying again. */
|
|
1165
|
+
"Retry-After"?: string;
|
|
1166
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1167
|
+
Sunset?: string;
|
|
1168
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1169
|
+
"X-Request-Id"?: string;
|
|
1170
|
+
[name: string]: unknown;
|
|
1171
|
+
};
|
|
1172
|
+
content: {
|
|
1173
|
+
"application/json": components["schemas"]["Error"];
|
|
1174
|
+
};
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
events: {
|
|
1179
|
+
parameters: {
|
|
1180
|
+
query?: {
|
|
1181
|
+
/** @description Byte offset to start the console at. */
|
|
1182
|
+
log?: number;
|
|
1183
|
+
/** @description Byte offset to start the UART records at. */
|
|
1184
|
+
output?: number;
|
|
1185
|
+
};
|
|
1186
|
+
header?: {
|
|
1187
|
+
/** @description `<log>:<output>`, from the last event received. */
|
|
1188
|
+
"Last-Event-ID"?: string | null;
|
|
1189
|
+
};
|
|
1190
|
+
path: {
|
|
1191
|
+
id: string;
|
|
1192
|
+
};
|
|
1193
|
+
cookie?: never;
|
|
1194
|
+
};
|
|
1195
|
+
requestBody?: never;
|
|
1196
|
+
responses: {
|
|
1197
|
+
200: {
|
|
1198
|
+
headers: {
|
|
1199
|
+
/** @description The API version that answered. */
|
|
1200
|
+
"Cloud-Sim-Version"?: string;
|
|
1201
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1202
|
+
Deprecation?: string;
|
|
1203
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1204
|
+
Sunset?: string;
|
|
1205
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1206
|
+
"X-Request-Id"?: string;
|
|
1207
|
+
[name: string]: unknown;
|
|
1208
|
+
};
|
|
1209
|
+
content: {
|
|
1210
|
+
"text/event-stream": string;
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
1214
|
+
400: {
|
|
1215
|
+
headers: {
|
|
1216
|
+
/** @description The API version that answered. */
|
|
1217
|
+
"Cloud-Sim-Version"?: string;
|
|
1218
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1219
|
+
Deprecation?: string;
|
|
1220
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1221
|
+
Sunset?: string;
|
|
1222
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1223
|
+
"X-Request-Id"?: string;
|
|
1224
|
+
[name: string]: unknown;
|
|
1225
|
+
};
|
|
1226
|
+
content: {
|
|
1227
|
+
"application/json": components["schemas"]["Error"];
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
/** @description No valid credential. */
|
|
1231
|
+
401: {
|
|
1232
|
+
headers: {
|
|
1233
|
+
/** @description The API version that answered. */
|
|
1234
|
+
"Cloud-Sim-Version"?: string;
|
|
1235
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1236
|
+
Deprecation?: string;
|
|
1237
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1238
|
+
Sunset?: string;
|
|
1239
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1240
|
+
"X-Request-Id"?: string;
|
|
1241
|
+
[name: string]: unknown;
|
|
1242
|
+
};
|
|
1243
|
+
content: {
|
|
1244
|
+
"application/json": components["schemas"]["Error"];
|
|
1245
|
+
};
|
|
1246
|
+
};
|
|
1247
|
+
404: {
|
|
1248
|
+
headers: {
|
|
1249
|
+
/** @description The API version that answered. */
|
|
1250
|
+
"Cloud-Sim-Version"?: string;
|
|
1251
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1252
|
+
Deprecation?: string;
|
|
1253
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1254
|
+
Sunset?: string;
|
|
1255
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1256
|
+
"X-Request-Id"?: string;
|
|
1257
|
+
[name: string]: unknown;
|
|
1258
|
+
};
|
|
1259
|
+
content: {
|
|
1260
|
+
"application/json": components["schemas"]["Error"];
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
/** @description A service the API relies on is unavailable. */
|
|
1264
|
+
503: {
|
|
1265
|
+
headers: {
|
|
1266
|
+
/** @description The API version that answered. */
|
|
1267
|
+
"Cloud-Sim-Version"?: string;
|
|
1268
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1269
|
+
Deprecation?: string;
|
|
1270
|
+
/** @description Seconds to wait before trying again. */
|
|
1271
|
+
"Retry-After"?: string;
|
|
1272
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1273
|
+
Sunset?: string;
|
|
1274
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1275
|
+
"X-Request-Id"?: string;
|
|
1276
|
+
[name: string]: unknown;
|
|
1277
|
+
};
|
|
1278
|
+
content: {
|
|
1279
|
+
"application/json": components["schemas"]["Error"];
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
1284
|
+
live: {
|
|
1285
|
+
parameters: {
|
|
1286
|
+
query?: {
|
|
1287
|
+
/** @description Byte offset into the console. */
|
|
1288
|
+
log?: number;
|
|
1289
|
+
/** @description Byte offset into the UART records. */
|
|
1290
|
+
output?: number;
|
|
1291
|
+
};
|
|
1292
|
+
header?: never;
|
|
1293
|
+
path: {
|
|
1294
|
+
id: string;
|
|
1295
|
+
};
|
|
1296
|
+
cookie?: never;
|
|
1297
|
+
};
|
|
1298
|
+
requestBody?: never;
|
|
1299
|
+
responses: {
|
|
1300
|
+
200: {
|
|
1301
|
+
headers: {
|
|
1302
|
+
/** @description The API version that answered. */
|
|
1303
|
+
"Cloud-Sim-Version"?: string;
|
|
1304
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1305
|
+
Deprecation?: string;
|
|
1306
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1307
|
+
Sunset?: string;
|
|
1308
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1309
|
+
"X-Request-Id"?: string;
|
|
1310
|
+
[name: string]: unknown;
|
|
1311
|
+
};
|
|
1312
|
+
content: {
|
|
1313
|
+
"application/json": components["schemas"]["Live"];
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
400: {
|
|
1317
|
+
headers: {
|
|
1318
|
+
/** @description The API version that answered. */
|
|
1319
|
+
"Cloud-Sim-Version"?: string;
|
|
1320
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1321
|
+
Deprecation?: string;
|
|
1322
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1323
|
+
Sunset?: string;
|
|
1324
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1325
|
+
"X-Request-Id"?: string;
|
|
1326
|
+
[name: string]: unknown;
|
|
1327
|
+
};
|
|
1328
|
+
content: {
|
|
1329
|
+
"application/json": components["schemas"]["Error"];
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
/** @description No valid credential. */
|
|
1333
|
+
401: {
|
|
1334
|
+
headers: {
|
|
1335
|
+
/** @description The API version that answered. */
|
|
1336
|
+
"Cloud-Sim-Version"?: string;
|
|
1337
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1338
|
+
Deprecation?: string;
|
|
1339
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1340
|
+
Sunset?: string;
|
|
1341
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1342
|
+
"X-Request-Id"?: string;
|
|
1343
|
+
[name: string]: unknown;
|
|
1344
|
+
};
|
|
1345
|
+
content: {
|
|
1346
|
+
"application/json": components["schemas"]["Error"];
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
404: {
|
|
1350
|
+
headers: {
|
|
1351
|
+
/** @description The API version that answered. */
|
|
1352
|
+
"Cloud-Sim-Version"?: string;
|
|
1353
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1354
|
+
Deprecation?: string;
|
|
1355
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1356
|
+
Sunset?: string;
|
|
1357
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1358
|
+
"X-Request-Id"?: string;
|
|
1359
|
+
[name: string]: unknown;
|
|
1360
|
+
};
|
|
1361
|
+
content: {
|
|
1362
|
+
"application/json": components["schemas"]["Error"];
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
/** @description A service the API relies on is unavailable. */
|
|
1366
|
+
503: {
|
|
1367
|
+
headers: {
|
|
1368
|
+
/** @description The API version that answered. */
|
|
1369
|
+
"Cloud-Sim-Version"?: string;
|
|
1370
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1371
|
+
Deprecation?: string;
|
|
1372
|
+
/** @description Seconds to wait before trying again. */
|
|
1373
|
+
"Retry-After"?: string;
|
|
1374
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1375
|
+
Sunset?: string;
|
|
1376
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1377
|
+
"X-Request-Id"?: string;
|
|
1378
|
+
[name: string]: unknown;
|
|
1379
|
+
};
|
|
1380
|
+
content: {
|
|
1381
|
+
"application/json": components["schemas"]["Error"];
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
log: {
|
|
1387
|
+
parameters: {
|
|
1388
|
+
query?: never;
|
|
1389
|
+
header?: never;
|
|
1390
|
+
path: {
|
|
1391
|
+
id: string;
|
|
1392
|
+
};
|
|
1393
|
+
cookie?: never;
|
|
1394
|
+
};
|
|
1395
|
+
requestBody?: never;
|
|
1396
|
+
responses: {
|
|
1397
|
+
200: {
|
|
1398
|
+
headers: {
|
|
1399
|
+
/** @description The API version that answered. */
|
|
1400
|
+
"Cloud-Sim-Version"?: string;
|
|
1401
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1402
|
+
Deprecation?: string;
|
|
1403
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1404
|
+
Sunset?: string;
|
|
1405
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1406
|
+
"X-Request-Id"?: string;
|
|
1407
|
+
[name: string]: unknown;
|
|
1408
|
+
};
|
|
1409
|
+
content: {
|
|
1410
|
+
"text/plain": string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
1414
|
+
400: {
|
|
1415
|
+
headers: {
|
|
1416
|
+
/** @description The API version that answered. */
|
|
1417
|
+
"Cloud-Sim-Version"?: string;
|
|
1418
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1419
|
+
Deprecation?: string;
|
|
1420
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1421
|
+
Sunset?: string;
|
|
1422
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1423
|
+
"X-Request-Id"?: string;
|
|
1424
|
+
[name: string]: unknown;
|
|
1425
|
+
};
|
|
1426
|
+
content: {
|
|
1427
|
+
"application/json": components["schemas"]["Error"];
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1430
|
+
/** @description No valid credential. */
|
|
1431
|
+
401: {
|
|
1432
|
+
headers: {
|
|
1433
|
+
/** @description The API version that answered. */
|
|
1434
|
+
"Cloud-Sim-Version"?: string;
|
|
1435
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1436
|
+
Deprecation?: string;
|
|
1437
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1438
|
+
Sunset?: string;
|
|
1439
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1440
|
+
"X-Request-Id"?: string;
|
|
1441
|
+
[name: string]: unknown;
|
|
1442
|
+
};
|
|
1443
|
+
content: {
|
|
1444
|
+
"application/json": components["schemas"]["Error"];
|
|
1445
|
+
};
|
|
1446
|
+
};
|
|
1447
|
+
404: {
|
|
1448
|
+
headers: {
|
|
1449
|
+
/** @description The API version that answered. */
|
|
1450
|
+
"Cloud-Sim-Version"?: string;
|
|
1451
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1452
|
+
Deprecation?: string;
|
|
1453
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1454
|
+
Sunset?: string;
|
|
1455
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1456
|
+
"X-Request-Id"?: string;
|
|
1457
|
+
[name: string]: unknown;
|
|
1458
|
+
};
|
|
1459
|
+
content: {
|
|
1460
|
+
"application/json": components["schemas"]["Error"];
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
409: {
|
|
1464
|
+
headers: {
|
|
1465
|
+
/** @description The API version that answered. */
|
|
1466
|
+
"Cloud-Sim-Version"?: string;
|
|
1467
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1468
|
+
Deprecation?: string;
|
|
1469
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1470
|
+
Sunset?: string;
|
|
1471
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1472
|
+
"X-Request-Id"?: string;
|
|
1473
|
+
[name: string]: unknown;
|
|
1474
|
+
};
|
|
1475
|
+
content: {
|
|
1476
|
+
"application/json": components["schemas"]["Error"];
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
/** @description A service the API relies on is unavailable. */
|
|
1480
|
+
503: {
|
|
1481
|
+
headers: {
|
|
1482
|
+
/** @description The API version that answered. */
|
|
1483
|
+
"Cloud-Sim-Version"?: string;
|
|
1484
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1485
|
+
Deprecation?: string;
|
|
1486
|
+
/** @description Seconds to wait before trying again. */
|
|
1487
|
+
"Retry-After"?: string;
|
|
1488
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1489
|
+
Sunset?: string;
|
|
1490
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1491
|
+
"X-Request-Id"?: string;
|
|
1492
|
+
[name: string]: unknown;
|
|
1493
|
+
};
|
|
1494
|
+
content: {
|
|
1495
|
+
"application/json": components["schemas"]["Error"];
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1499
|
+
};
|
|
1500
|
+
output: {
|
|
1501
|
+
parameters: {
|
|
1502
|
+
query?: never;
|
|
1503
|
+
header?: never;
|
|
1504
|
+
path: {
|
|
1505
|
+
id: string;
|
|
1506
|
+
};
|
|
1507
|
+
cookie?: never;
|
|
1508
|
+
};
|
|
1509
|
+
requestBody?: never;
|
|
1510
|
+
responses: {
|
|
1511
|
+
200: {
|
|
1512
|
+
headers: {
|
|
1513
|
+
/** @description The API version that answered. */
|
|
1514
|
+
"Cloud-Sim-Version"?: string;
|
|
1515
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1516
|
+
Deprecation?: string;
|
|
1517
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1518
|
+
Sunset?: string;
|
|
1519
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1520
|
+
"X-Request-Id"?: string;
|
|
1521
|
+
[name: string]: unknown;
|
|
1522
|
+
};
|
|
1523
|
+
content: {
|
|
1524
|
+
"text/plain": string;
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
1528
|
+
400: {
|
|
1529
|
+
headers: {
|
|
1530
|
+
/** @description The API version that answered. */
|
|
1531
|
+
"Cloud-Sim-Version"?: string;
|
|
1532
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1533
|
+
Deprecation?: string;
|
|
1534
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1535
|
+
Sunset?: string;
|
|
1536
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1537
|
+
"X-Request-Id"?: string;
|
|
1538
|
+
[name: string]: unknown;
|
|
1539
|
+
};
|
|
1540
|
+
content: {
|
|
1541
|
+
"application/json": components["schemas"]["Error"];
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
/** @description No valid credential. */
|
|
1545
|
+
401: {
|
|
1546
|
+
headers: {
|
|
1547
|
+
/** @description The API version that answered. */
|
|
1548
|
+
"Cloud-Sim-Version"?: string;
|
|
1549
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1550
|
+
Deprecation?: string;
|
|
1551
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1552
|
+
Sunset?: string;
|
|
1553
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1554
|
+
"X-Request-Id"?: string;
|
|
1555
|
+
[name: string]: unknown;
|
|
1556
|
+
};
|
|
1557
|
+
content: {
|
|
1558
|
+
"application/json": components["schemas"]["Error"];
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
404: {
|
|
1562
|
+
headers: {
|
|
1563
|
+
/** @description The API version that answered. */
|
|
1564
|
+
"Cloud-Sim-Version"?: string;
|
|
1565
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1566
|
+
Deprecation?: string;
|
|
1567
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1568
|
+
Sunset?: string;
|
|
1569
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1570
|
+
"X-Request-Id"?: string;
|
|
1571
|
+
[name: string]: unknown;
|
|
1572
|
+
};
|
|
1573
|
+
content: {
|
|
1574
|
+
"application/json": components["schemas"]["Error"];
|
|
1575
|
+
};
|
|
1576
|
+
};
|
|
1577
|
+
409: {
|
|
1578
|
+
headers: {
|
|
1579
|
+
/** @description The API version that answered. */
|
|
1580
|
+
"Cloud-Sim-Version"?: string;
|
|
1581
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1582
|
+
Deprecation?: string;
|
|
1583
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1584
|
+
Sunset?: string;
|
|
1585
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1586
|
+
"X-Request-Id"?: string;
|
|
1587
|
+
[name: string]: unknown;
|
|
1588
|
+
};
|
|
1589
|
+
content: {
|
|
1590
|
+
"application/json": components["schemas"]["Error"];
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1593
|
+
/** @description A service the API relies on is unavailable. */
|
|
1594
|
+
503: {
|
|
1595
|
+
headers: {
|
|
1596
|
+
/** @description The API version that answered. */
|
|
1597
|
+
"Cloud-Sim-Version"?: string;
|
|
1598
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1599
|
+
Deprecation?: string;
|
|
1600
|
+
/** @description Seconds to wait before trying again. */
|
|
1601
|
+
"Retry-After"?: string;
|
|
1602
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1603
|
+
Sunset?: string;
|
|
1604
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1605
|
+
"X-Request-Id"?: string;
|
|
1606
|
+
[name: string]: unknown;
|
|
1607
|
+
};
|
|
1608
|
+
content: {
|
|
1609
|
+
"application/json": components["schemas"]["Error"];
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
result: {
|
|
1615
|
+
parameters: {
|
|
1616
|
+
query?: never;
|
|
1617
|
+
header?: never;
|
|
1618
|
+
path: {
|
|
1619
|
+
id: string;
|
|
1620
|
+
};
|
|
1621
|
+
cookie?: never;
|
|
1622
|
+
};
|
|
1623
|
+
requestBody?: never;
|
|
1624
|
+
responses: {
|
|
1625
|
+
200: {
|
|
1626
|
+
headers: {
|
|
1627
|
+
/** @description The API version that answered. */
|
|
1628
|
+
"Cloud-Sim-Version"?: string;
|
|
1629
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1630
|
+
Deprecation?: string;
|
|
1631
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1632
|
+
Sunset?: string;
|
|
1633
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1634
|
+
"X-Request-Id"?: string;
|
|
1635
|
+
[name: string]: unknown;
|
|
1636
|
+
};
|
|
1637
|
+
content: {
|
|
1638
|
+
"application/json": components["schemas"]["RunResult"];
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
1642
|
+
400: {
|
|
1643
|
+
headers: {
|
|
1644
|
+
/** @description The API version that answered. */
|
|
1645
|
+
"Cloud-Sim-Version"?: string;
|
|
1646
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1647
|
+
Deprecation?: string;
|
|
1648
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1649
|
+
Sunset?: string;
|
|
1650
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1651
|
+
"X-Request-Id"?: string;
|
|
1652
|
+
[name: string]: unknown;
|
|
1653
|
+
};
|
|
1654
|
+
content: {
|
|
1655
|
+
"application/json": components["schemas"]["Error"];
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
/** @description No valid credential. */
|
|
1659
|
+
401: {
|
|
1660
|
+
headers: {
|
|
1661
|
+
/** @description The API version that answered. */
|
|
1662
|
+
"Cloud-Sim-Version"?: string;
|
|
1663
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1664
|
+
Deprecation?: string;
|
|
1665
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1666
|
+
Sunset?: string;
|
|
1667
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1668
|
+
"X-Request-Id"?: string;
|
|
1669
|
+
[name: string]: unknown;
|
|
1670
|
+
};
|
|
1671
|
+
content: {
|
|
1672
|
+
"application/json": components["schemas"]["Error"];
|
|
1673
|
+
};
|
|
1674
|
+
};
|
|
1675
|
+
404: {
|
|
1676
|
+
headers: {
|
|
1677
|
+
/** @description The API version that answered. */
|
|
1678
|
+
"Cloud-Sim-Version"?: string;
|
|
1679
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1680
|
+
Deprecation?: string;
|
|
1681
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1682
|
+
Sunset?: string;
|
|
1683
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1684
|
+
"X-Request-Id"?: string;
|
|
1685
|
+
[name: string]: unknown;
|
|
1686
|
+
};
|
|
1687
|
+
content: {
|
|
1688
|
+
"application/json": components["schemas"]["Error"];
|
|
1689
|
+
};
|
|
1690
|
+
};
|
|
1691
|
+
/** @description The run has not finished. */
|
|
1692
|
+
409: {
|
|
1693
|
+
headers: {
|
|
1694
|
+
/** @description The API version that answered. */
|
|
1695
|
+
"Cloud-Sim-Version"?: string;
|
|
1696
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1697
|
+
Deprecation?: string;
|
|
1698
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1699
|
+
Sunset?: string;
|
|
1700
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1701
|
+
"X-Request-Id"?: string;
|
|
1702
|
+
[name: string]: unknown;
|
|
1703
|
+
};
|
|
1704
|
+
content: {
|
|
1705
|
+
"application/json": components["schemas"]["Error"];
|
|
1706
|
+
};
|
|
1707
|
+
};
|
|
1708
|
+
/** @description A service the API relies on is unavailable. */
|
|
1709
|
+
503: {
|
|
1710
|
+
headers: {
|
|
1711
|
+
/** @description The API version that answered. */
|
|
1712
|
+
"Cloud-Sim-Version"?: string;
|
|
1713
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1714
|
+
Deprecation?: string;
|
|
1715
|
+
/** @description Seconds to wait before trying again. */
|
|
1716
|
+
"Retry-After"?: string;
|
|
1717
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1718
|
+
Sunset?: string;
|
|
1719
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1720
|
+
"X-Request-Id"?: string;
|
|
1721
|
+
[name: string]: unknown;
|
|
1722
|
+
};
|
|
1723
|
+
content: {
|
|
1724
|
+
"application/json": components["schemas"]["Error"];
|
|
1725
|
+
};
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
};
|
|
1729
|
+
versions: {
|
|
1730
|
+
parameters: {
|
|
1731
|
+
query?: never;
|
|
1732
|
+
header?: never;
|
|
1733
|
+
path?: never;
|
|
1734
|
+
cookie?: never;
|
|
1735
|
+
};
|
|
1736
|
+
requestBody?: never;
|
|
1737
|
+
responses: {
|
|
1738
|
+
200: {
|
|
1739
|
+
headers: {
|
|
1740
|
+
/** @description The API version that answered. */
|
|
1741
|
+
"Cloud-Sim-Version"?: string;
|
|
1742
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1743
|
+
Deprecation?: string;
|
|
1744
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1745
|
+
Sunset?: string;
|
|
1746
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1747
|
+
"X-Request-Id"?: string;
|
|
1748
|
+
[name: string]: unknown;
|
|
1749
|
+
};
|
|
1750
|
+
content: {
|
|
1751
|
+
"application/json": components["schemas"]["VersionList"];
|
|
1752
|
+
};
|
|
1753
|
+
};
|
|
1754
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
1755
|
+
400: {
|
|
1756
|
+
headers: {
|
|
1757
|
+
/** @description The API version that answered. */
|
|
1758
|
+
"Cloud-Sim-Version"?: string;
|
|
1759
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1760
|
+
Deprecation?: string;
|
|
1761
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1762
|
+
Sunset?: string;
|
|
1763
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1764
|
+
"X-Request-Id"?: string;
|
|
1765
|
+
[name: string]: unknown;
|
|
1766
|
+
};
|
|
1767
|
+
content: {
|
|
1768
|
+
"application/json": components["schemas"]["Error"];
|
|
1769
|
+
};
|
|
1770
|
+
};
|
|
1771
|
+
/** @description A service the API relies on is unavailable. */
|
|
1772
|
+
503: {
|
|
1773
|
+
headers: {
|
|
1774
|
+
/** @description The API version that answered. */
|
|
1775
|
+
"Cloud-Sim-Version"?: string;
|
|
1776
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1777
|
+
Deprecation?: string;
|
|
1778
|
+
/** @description Seconds to wait before trying again. */
|
|
1779
|
+
"Retry-After"?: string;
|
|
1780
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1781
|
+
Sunset?: string;
|
|
1782
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1783
|
+
"X-Request-Id"?: string;
|
|
1784
|
+
[name: string]: unknown;
|
|
1785
|
+
};
|
|
1786
|
+
content: {
|
|
1787
|
+
"application/json": components["schemas"]["Error"];
|
|
1788
|
+
};
|
|
1789
|
+
};
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1792
|
+
version: {
|
|
1793
|
+
parameters: {
|
|
1794
|
+
query?: never;
|
|
1795
|
+
header?: never;
|
|
1796
|
+
path: {
|
|
1797
|
+
/** @description Such as 1.0 or 1.0-preview.1. */
|
|
1798
|
+
version: string;
|
|
1799
|
+
};
|
|
1800
|
+
cookie?: never;
|
|
1801
|
+
};
|
|
1802
|
+
requestBody?: never;
|
|
1803
|
+
responses: {
|
|
1804
|
+
200: {
|
|
1805
|
+
headers: {
|
|
1806
|
+
/** @description The API version that answered. */
|
|
1807
|
+
"Cloud-Sim-Version"?: string;
|
|
1808
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1809
|
+
Deprecation?: string;
|
|
1810
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1811
|
+
Sunset?: string;
|
|
1812
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1813
|
+
"X-Request-Id"?: string;
|
|
1814
|
+
[name: string]: unknown;
|
|
1815
|
+
};
|
|
1816
|
+
content: {
|
|
1817
|
+
"application/json": components["schemas"]["VersionView"];
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
/** @description The request is not one the API takes (see `code`). */
|
|
1821
|
+
400: {
|
|
1822
|
+
headers: {
|
|
1823
|
+
/** @description The API version that answered. */
|
|
1824
|
+
"Cloud-Sim-Version"?: string;
|
|
1825
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1826
|
+
Deprecation?: string;
|
|
1827
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1828
|
+
Sunset?: string;
|
|
1829
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1830
|
+
"X-Request-Id"?: string;
|
|
1831
|
+
[name: string]: unknown;
|
|
1832
|
+
};
|
|
1833
|
+
content: {
|
|
1834
|
+
"application/json": components["schemas"]["Error"];
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
404: {
|
|
1838
|
+
headers: {
|
|
1839
|
+
/** @description The API version that answered. */
|
|
1840
|
+
"Cloud-Sim-Version"?: string;
|
|
1841
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1842
|
+
Deprecation?: string;
|
|
1843
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1844
|
+
Sunset?: string;
|
|
1845
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1846
|
+
"X-Request-Id"?: string;
|
|
1847
|
+
[name: string]: unknown;
|
|
1848
|
+
};
|
|
1849
|
+
content: {
|
|
1850
|
+
"application/json": components["schemas"]["Error"];
|
|
1851
|
+
};
|
|
1852
|
+
};
|
|
1853
|
+
/** @description A service the API relies on is unavailable. */
|
|
1854
|
+
503: {
|
|
1855
|
+
headers: {
|
|
1856
|
+
/** @description The API version that answered. */
|
|
1857
|
+
"Cloud-Sim-Version"?: string;
|
|
1858
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1859
|
+
Deprecation?: string;
|
|
1860
|
+
/** @description Seconds to wait before trying again. */
|
|
1861
|
+
"Retry-After"?: string;
|
|
1862
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1863
|
+
Sunset?: string;
|
|
1864
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1865
|
+
"X-Request-Id"?: string;
|
|
1866
|
+
[name: string]: unknown;
|
|
1867
|
+
};
|
|
1868
|
+
content: {
|
|
1869
|
+
"application/json": components["schemas"]["Error"];
|
|
1870
|
+
};
|
|
1871
|
+
};
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1874
|
+
version_mcus: {
|
|
1875
|
+
parameters: {
|
|
1876
|
+
query?: {
|
|
1877
|
+
/** @description Only this engine's MCUs. */
|
|
1878
|
+
engine?: string;
|
|
1879
|
+
/** @description Only MCUs that run (on `engine`, or on any engine). */
|
|
1880
|
+
runnable?: boolean;
|
|
1881
|
+
};
|
|
1882
|
+
header?: never;
|
|
1883
|
+
path: {
|
|
1884
|
+
version: string;
|
|
1885
|
+
};
|
|
1886
|
+
cookie?: never;
|
|
1887
|
+
};
|
|
1888
|
+
requestBody?: never;
|
|
1889
|
+
responses: {
|
|
1890
|
+
200: {
|
|
1891
|
+
headers: {
|
|
1892
|
+
/** @description The API version that answered. */
|
|
1893
|
+
"Cloud-Sim-Version"?: string;
|
|
1894
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1895
|
+
Deprecation?: string;
|
|
1896
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1897
|
+
Sunset?: string;
|
|
1898
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1899
|
+
"X-Request-Id"?: string;
|
|
1900
|
+
[name: string]: unknown;
|
|
1901
|
+
};
|
|
1902
|
+
content: {
|
|
1903
|
+
"application/json": components["schemas"]["McuList"];
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
400: {
|
|
1907
|
+
headers: {
|
|
1908
|
+
/** @description The API version that answered. */
|
|
1909
|
+
"Cloud-Sim-Version"?: string;
|
|
1910
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1911
|
+
Deprecation?: string;
|
|
1912
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1913
|
+
Sunset?: string;
|
|
1914
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1915
|
+
"X-Request-Id"?: string;
|
|
1916
|
+
[name: string]: unknown;
|
|
1917
|
+
};
|
|
1918
|
+
content: {
|
|
1919
|
+
"application/json": components["schemas"]["Error"];
|
|
1920
|
+
};
|
|
1921
|
+
};
|
|
1922
|
+
404: {
|
|
1923
|
+
headers: {
|
|
1924
|
+
/** @description The API version that answered. */
|
|
1925
|
+
"Cloud-Sim-Version"?: string;
|
|
1926
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1927
|
+
Deprecation?: string;
|
|
1928
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1929
|
+
Sunset?: string;
|
|
1930
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1931
|
+
"X-Request-Id"?: string;
|
|
1932
|
+
[name: string]: unknown;
|
|
1933
|
+
};
|
|
1934
|
+
content: {
|
|
1935
|
+
"application/json": components["schemas"]["Error"];
|
|
1936
|
+
};
|
|
1937
|
+
};
|
|
1938
|
+
/** @description A service the API relies on is unavailable. */
|
|
1939
|
+
503: {
|
|
1940
|
+
headers: {
|
|
1941
|
+
/** @description The API version that answered. */
|
|
1942
|
+
"Cloud-Sim-Version"?: string;
|
|
1943
|
+
/** @description For a deprecated version: `@` and the Unix time it was deprecated (RFC 9745). */
|
|
1944
|
+
Deprecation?: string;
|
|
1945
|
+
/** @description Seconds to wait before trying again. */
|
|
1946
|
+
"Retry-After"?: string;
|
|
1947
|
+
/** @description For a deprecated version with a sunset date: when it retires (RFC 8594). */
|
|
1948
|
+
Sunset?: string;
|
|
1949
|
+
/** @description The request's id, which an error's `request_id` repeats. */
|
|
1950
|
+
"X-Request-Id"?: string;
|
|
1951
|
+
[name: string]: unknown;
|
|
1952
|
+
};
|
|
1953
|
+
content: {
|
|
1954
|
+
"application/json": components["schemas"]["Error"];
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
};
|
|
1958
|
+
};
|
|
1959
|
+
}
|