Skip to content

Commit aa94d48

Browse files
dobracgithub-actions[bot]
authored andcommitted
chore: sync infra OpenAPI specs
1 parent e1e7215 commit aa94d48

3 files changed

Lines changed: 5099 additions & 5075 deletions

File tree

spec/openapi.infra.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,20 @@ components:
787787
type: string
788788
description: Optional name for the snapshot template. If a snapshot template with this name already exists, a new build will be assigned to the existing template instead of creating a new one.
789789

790+
SandboxPauseRequest:
791+
type: object
792+
properties:
793+
memory:
794+
type: boolean
795+
default: true
796+
description: >-
797+
Whether to capture a full memory snapshot. When false, only the
798+
filesystem is persisted and resuming the sandbox cold-boots
799+
(reboots) it from disk, losing in-memory state, running processes,
800+
and open connections. Resume it with an explicit request (connect or
801+
resume); auto-resume, which can be triggered by arbitrary traffic,
802+
refuses such a sandbox. Defaults to true.
803+
790804
TeamMetric:
791805
description: Team metric with timestamp
792806
required:
@@ -2396,6 +2410,12 @@ paths:
23962410
AdminTeamAuth: []
23972411
parameters:
23982412
- $ref: "#/components/parameters/sandboxID"
2413+
requestBody:
2414+
required: false
2415+
content:
2416+
application/json:
2417+
schema:
2418+
$ref: "#/components/schemas/SandboxPauseRequest"
23992419
responses:
24002420
"204":
24012421
description: The sandbox was paused successfully and can be resumed

0 commit comments

Comments
 (0)