Skip to main content

Add Multipart Upload Part

PUT 

/games/:game-id/mods/:mod-id/files/multipart

Add a new multipart upload part to an existing upload session. All parts must be exactly 50MB (Mebibyte) in size unless it is the final part which can be smaller. A successful request will return a single Multipart Upload Part Object.

Request

Error Codes

Status CodeError RefDescription
40029005The Digest header contains more than one value, please ensure only the digest for the content body is provided.
40029006An algorithm indicated in the Digest header is unsupported, please use one of the following algorithms instead: SHA-256, CRC32C.
40029008The `Content-Range` header is missing from your request.
40029009The unit within the Content-Range header must be of type: bytes.
40029010The Content-Range header must not include wild-carded values, as they are unsupported (an asterisk cannot be included).
40029011The Content-Range header contains a non numeric value.
40029012The Content-Range header does not match the required pattern.
40029013The size of the part provided is either too big, or too small.
40029014The Content-Range header contains an invalid range, ensure that the finishing byte is greater than the starting byte.
40029015An uploaded part with the specified start - finish byte range has already been uploaded to that session. If this is in error, you may need to abort the upload session, and start again.
40029026The finish byte of that range must be 1 byte less than the total file size specified.
40315006The authenticated user does not have permission to upload modfiles for the specified mod, ensure the user is a team manager or administrator.
40315012The authenticated user has had upload privileges restricted by mod.io admins, this is typically due to spam.

Responses

Successful Request