curl --request POST \
--url https://app.opencomputer.dev/api/sandboxes/checkpoints/{checkpointId}/patches \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"script": "<string>",
"description": "<string>"
}
'{
"patch": {
"id": "pa-abc123",
"checkpointId": "cp-abc123",
"script": "apt install -y curl",
"description": "Install curl",
"strategy": "on_wake",
"sequence": 1,
"createdAt": "2025-01-15T10:30:00Z"
}
}
curl --request POST \
--url https://app.opencomputer.dev/api/sandboxes/checkpoints/{checkpointId}/patches \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"script": "<string>",
"description": "<string>"
}
'{
"patch": {
"id": "pa-abc123",
"checkpointId": "cp-abc123",
"script": "apt install -y curl",
"description": "Install curl",
"strategy": "on_wake",
"sequence": 1,
"createdAt": "2025-01-15T10:30:00Z"
}
}
{
"patch": {
"id": "pa-abc123",
"checkpointId": "cp-abc123",
"script": "apt install -y curl",
"description": "Install curl",
"strategy": "on_wake",
"sequence": 1,
"createdAt": "2025-01-15T10:30:00Z"
}
}