Skip to main content

HostedGameUpload

How to upload one file of a publish: PUT the file bytes to url with exactly these headers.

type HostedGameUpload {
path: String!
url: String!
method: String!
headers: [HostedGameUploadHeader!]!
}

Fields​

HostedGameUpload.path ● String! non-null scalar​

The manifest path this URL is for.

HostedGameUpload.url ● String! non-null scalar​

Presigned S3 URL; valid until BeginGamePublishResult.expiresAt.

HostedGameUpload.method ● String! non-null scalar​

Always PUT.

HostedGameUpload.headers ● [HostedGameUploadHeader!]! non-null object​

Headers the PUT must carry exactly (content type, SHA-256 checksum, staging tag, cache-control). S3 refuses a body whose digest differs.

Member Of​

BeginGamePublishResult object