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

Body

application/json
gameId
string
required
kind
enum<string>
required
Available options:
IMAGE,
MODEL_3D,
VIDEO
contentType
enum<string>
required
Available options:
image/png,
image/jpeg,
image/webp,
model/gltf-binary,
model/gltf+json,
video/mp4,
video/webm
byteLength
integer<int64>
required
Required range: 1 <= x <= 536870912
sha256
string
required
Pattern: ^[0-9a-f]{64}$
originalFilename
string
required
Required string length: 1 - 255

Response

Resource view

The response is of type object.