Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Your Summer account token. An agent gets it by signing in with OAuth: summer login --store in the Summer CLI, or the Summer connector in an AI app. Agent tokens can call only the operations on these pages. Publishing needs an approval from the game's owner first.

Headers

Idempotency-Key
string
required
Required string length: 1 - 128
If-Match
string
required
Pattern: ^"[1-9][0-9]*"$

Path Parameters

gameId
string
required
Required string length: 1 - 128
envId
string
required
Required string length: 1 - 128
draftId
string
required
Required string length: 1 - 128

Body

application/json
replaceTargets
boolean
default:false

Freeze only the selected targets as the complete release configuration. Omitted platforms are removed from the next release. Hosted clients require selecting Server. Existing target updates preserve unselected platforms when false.

targets
enum<string>[]
Required array length: 1 - 7 elements
Available options:
server,
android,
ios,
linux,
macos,
web,
windows

Response

Accepted immutable intent.

releaseId
string
required
Required string length: 1 - 128
operationId
string
required
Required string length: 1 - 128
state
string
required
Allowed value: "pending"
targets
object

Independent target selections. The server key takes buildId only; other keys name client platforms.