games.builds.createGameBuild
Description
Creates a new game build for the given game.
Code Examples
Request Parameters
game_id
required path parameter
Request Body
display_name
stringRepresent a resource's readable display name.
image_tag
stringA tag given to the game build.
image_file
objectA file being prepared to upload.
image_file.path
stringThe path/filename of the file.
image_file.content_type
stringThe MIME type of the file.
image_file.content_length
numberUnsigned 64 bit integer.
multipart_upload
booleankind
stringcompression
string
Response Body
build_id
stringupload_id
stringimage_presigned_request
objectA presigned request used to upload files. Upload your file to the given URL via a PUT request.
image_presigned_request.path
stringThe name of the file to upload. This is the same as the one given in the upload prepare file.
image_presigned_request.url
stringThe URL of the presigned request for which to upload your file to.
image_presigned_request.byte_offset
numberThe byte offset for this multipart chunk. Always 0 if not a multipart upload.
image_presigned_request.content_length
numberExpected size of this upload.
image_presigned_requests
array of objectsimage_presigned_requests.path
stringThe name of the file to upload. This is the same as the one given in the upload prepare file.
image_presigned_requests.url
stringThe URL of the presigned request for which to upload your file to.
image_presigned_requests.byte_offset
numberThe byte offset for this multipart chunk. Always 0 if not a multipart upload.
image_presigned_requests.content_length
numberExpected size of this upload.