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 Code | Error Ref | Description |
---|---|---|
400 | 29005 | The Digest header contains more than one value, please ensure only the digest for the content body is provided. |
400 | 29006 | An algorithm indicated in the Digest header is unsupported, please use one of the following algorithms instead: SHA-256, CRC32C. |
400 | 29008 | The `Content-Range` header is missing from your request. |
400 | 29009 | The unit within the Content-Range header must be of type: bytes. |
400 | 29010 | The Content-Range header must not include wild-carded values, as they are unsupported (an asterisk cannot be included). |
400 | 29011 | The Content-Range header contains a non numeric value. |
400 | 29012 | The Content-Range header does not match the required pattern. |
400 | 29013 | The size of the part provided is either too big, or too small. |
400 | 29014 | The Content-Range header contains an invalid range, ensure that the finishing byte is greater than the starting byte. |
400 | 29015 | An 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. |
400 | 29026 | The finish byte of that range must be 1 byte less than the total file size specified. |
403 | 15006 | The authenticated user does not have permission to upload modfiles for the specified mod, ensure the user is a team manager or administrator. |
403 | 15012 | The authenticated user has had upload privileges restricted by mod.io admins, this is typically due to spam. |
Responses
- 200
- 400
- 403
Successful Request
The Content-Range
header is missing from your request.
The authenticated user has had upload privileges restricted by mod.io admins, this is typically due to spam.