|
7 | 7 | "url": "https://oxide.computer", |
8 | 8 | |
9 | 9 | }, |
10 | | - "version": "20251208.0.0" |
| 10 | + "version": "2025121200.0.0" |
11 | 11 | }, |
12 | 12 | "paths": { |
13 | 13 | "/device/auth": { |
|
16324 | 16324 | "open_confirm" |
16325 | 16325 | ] |
16326 | 16326 | }, |
| 16327 | + { |
| 16328 | + "description": "There is an ongoing Connection Collision that hasn't yet been resolved. Two connections are maintained until one connection receives an Open or is able to progress into Established.", |
| 16329 | + "type": "string", |
| 16330 | + "enum": [ |
| 16331 | + "connection_collision" |
| 16332 | + ] |
| 16333 | + }, |
16327 | 16334 | { |
16328 | 16335 | "description": "Synchronizing with peer.", |
16329 | 16336 | "type": "string", |
@@ -18408,18 +18415,60 @@ |
18408 | 18415 | "time_modified" |
18409 | 18416 | ] |
18410 | 18417 | }, |
| 18418 | + "DiskBackend": { |
| 18419 | + "description": "The source of a `Disk`'s blocks", |
| 18420 | + "oneOf": [ |
| 18421 | + { |
| 18422 | + "type": "object", |
| 18423 | + "properties": { |
| 18424 | + "type": { |
| 18425 | + "type": "string", |
| 18426 | + "enum": [ |
| 18427 | + "local" |
| 18428 | + ] |
| 18429 | + } |
| 18430 | + }, |
| 18431 | + "required": [ |
| 18432 | + "type" |
| 18433 | + ] |
| 18434 | + }, |
| 18435 | + { |
| 18436 | + "type": "object", |
| 18437 | + "properties": { |
| 18438 | + "disk_source": { |
| 18439 | + "description": "The initial source for this disk", |
| 18440 | + "allOf": [ |
| 18441 | + { |
| 18442 | + "$ref": "#/components/schemas/DiskSource" |
| 18443 | + } |
| 18444 | + ] |
| 18445 | + }, |
| 18446 | + "type": { |
| 18447 | + "type": "string", |
| 18448 | + "enum": [ |
| 18449 | + "distributed" |
| 18450 | + ] |
| 18451 | + } |
| 18452 | + }, |
| 18453 | + "required": [ |
| 18454 | + "disk_source", |
| 18455 | + "type" |
| 18456 | + ] |
| 18457 | + } |
| 18458 | + ] |
| 18459 | + }, |
18411 | 18460 | "DiskCreate": { |
18412 | 18461 | "description": "Create-time parameters for a `Disk`", |
18413 | 18462 | "type": "object", |
18414 | 18463 | "properties": { |
18415 | 18464 | "description": { |
18416 | 18465 | "type": "string" |
18417 | 18466 | }, |
18418 | | - "disk_source": { |
18419 | | - "description": "The initial source for this disk", |
| 18467 | + "disk_backend": { |
| 18468 | + "description": "The source for this `Disk`'s blocks", |
18420 | 18469 | "allOf": [ |
18421 | 18470 | { |
18422 | | - "$ref": "#/components/schemas/DiskSource" |
| 18471 | + "$ref": "#/components/schemas/DiskBackend" |
18423 | 18472 | } |
18424 | 18473 | ] |
18425 | 18474 | }, |
|
18437 | 18486 | }, |
18438 | 18487 | "required": [ |
18439 | 18488 | "description", |
18440 | | - "disk_source", |
| 18489 | + "disk_backend", |
18441 | 18490 | "name", |
18442 | 18491 | "size" |
18443 | 18492 | ] |
|
18480 | 18529 | ] |
18481 | 18530 | }, |
18482 | 18531 | "DiskSource": { |
18483 | | - "description": "Different sources for a disk", |
| 18532 | + "description": "Different sources for a Distributed Disk", |
18484 | 18533 | "oneOf": [ |
18485 | 18534 | { |
18486 | 18535 | "description": "Create a blank disk", |
|
18770 | 18819 | "DiskType": { |
18771 | 18820 | "type": "string", |
18772 | 18821 | "enum": [ |
18773 | | - "crucible" |
| 18822 | + "distributed", |
| 18823 | + "local" |
18774 | 18824 | ] |
18775 | 18825 | }, |
18776 | 18826 | "Distributiondouble": { |
@@ -21188,11 +21238,11 @@ |
21188 | 21238 | "description": { |
21189 | 21239 | "type": "string" |
21190 | 21240 | }, |
21191 | | - "disk_source": { |
21192 | | - "description": "The initial source for this disk", |
| 21241 | + "disk_backend": { |
| 21242 | + "description": "The source for this `Disk`'s blocks", |
21193 | 21243 | "allOf": [ |
21194 | 21244 | { |
21195 | | - "$ref": "#/components/schemas/DiskSource" |
| 21245 | + "$ref": "#/components/schemas/DiskBackend" |
21196 | 21246 | } |
21197 | 21247 | ] |
21198 | 21248 | }, |
|
21216 | 21266 | }, |
21217 | 21267 | "required": [ |
21218 | 21268 | "description", |
21219 | | - "disk_source", |
| 21269 | + "disk_backend", |
21220 | 21270 | "name", |
21221 | 21271 | "size", |
21222 | 21272 | "type" |
|
0 commit comments