games.cdn.createGameCdnSite
Description
Creates a new CDN site for the given game.
Code Examples
Request Parameters
game_id
required path parameterRequest Body
display_namestringRepresent a resource's readable display name.
filesarray of objectsA list of files preparing to upload.
files.pathstringThe path/filename of the file.
files.content_typestringThe MIME type of the file.
files.content_lengthnumberUnsigned 64 bit integer.
Response Body
site_idstringupload_idstringpresigned_requestsarray of objectspresigned_requests.pathstringThe name of the file to upload. This is the same as the one given in the upload prepare file.
presigned_requests.urlstringThe URL of the presigned request for which to upload your file to.
presigned_requests.byte_offsetnumberThe byte offset for this multipart chunk. Always 0 if not a multipart upload.
presigned_requests.content_lengthnumberExpected size of this upload.