Add Source Modfile
POST/games/:game-id/mods/:mod-id/sources
Upload a source file for the corresponding mod. Successful request will return the newly created Modfile Object.
tip
Rules engine applies here
info
Cross-platform submissions are supported on this endpoint. To target particular platforms, see the platforms
body parameter above.
Request
Error Codes
Status Code | Error Ref | Description |
---|---|---|
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. |
422 | 13002 | The payload passed in the request was unable to be validated/read by mod.io, please try again. |
Responses
- 201
- 403
- 422
Resource Created
Response Headers
Location
URL to newly created resource
Error response
Error response