Upload New File Version (v3)
upload_file_versionPublish a new version of an existing mod file by uploading a local archive, with retry via upload ID and optional changelog.
Instructions
Upload a local archive as a NEW VERSION of an existing mod file and publish it immediately (multipart upload → finalise → wait → publish). Get mod_file_id from get_upload_targets. If publishing fails after the upload, retry with upload_id to skip re-uploading. Optionally adds a changelog (needs mod_uid).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name (defaults to the file name) | |
| mod_uid | No | v3 mod uid (from get_upload_targets), needed for changelog | |
| version | Yes | Version string, e.g. 1.2.0 | |
| changelog | No | Changelog text for this version (requires mod_uid) | |
| file_path | No | Absolute path of the archive to upload (omit when passing upload_id) | |
| upload_id | No | Reuse an already-available upload instead of uploading file_path | |
| description | No | ||
| mod_file_id | Yes | v3 mod_file id to add the version to | |
| file_category | No | main | |
| update_mod_version | No | Set the mod's version to this version | |
| previous_version_id | No | v3 version id this replaces | |
| archive_existing_file | No | Archive the previous version | |
| show_requirements_pop_up | No | ||
| allow_mod_manager_download | No | ||
| primary_mod_manager_download | No |