games.cdn.createGameCdnSite
Description
Creates a new CDN site for the given game.
Code Examples
Request Parameters
game_id
required path parameter
Request Body
display_name
stringRepresent a resource's readable display name.
files
array of objectsA list of files preparing to upload.
files.path
stringThe path/filename of the file.
files.content_type
stringThe MIME type of the file.
files.content_length
numberUnsigned 64 bit integer.
Response Body
site_id
stringupload_id
stringpresigned_requests
array of objectspresigned_requests.path
stringThe name of the file to upload. This is the same as the one given in the upload prepare file.
presigned_requests.url
stringThe URL of the presigned request for which to upload your file to.
presigned_requests.byte_offset
numberThe byte offset for this multipart chunk. Always 0 if not a multipart upload.
presigned_requests.content_length
numberExpected size of this upload.