mod-files

Create a new mod file version

Creates a new version of an existing mod file. The upload specified in the request becomes the most recent entry in the update chain.

post/mod-files/{id}/versions

Request

  • Base URL: https://api.nexusmods.com/v3
  • URL: https://api.nexusmods.com/v3/mod-files/{id}/versions
  • Auth: one of:
    • API key in header apikey
    • HTTP bearer

Path parameters

idstring required

The unique identifier for the mod file to add a version to.

Request body

upload_idstring uuid required

The unique identifier for the upload.

namestring required

Mod file name

descriptionstring nullable

Description of the mod file

versionstring required

Mod file version

file_category'main' | 'optional' | 'miscellaneous' required
primary_mod_manager_downloadboolean

Whether this file is the default download for mod managers.

allow_mod_manager_downloadboolean

Whether mod manager downloads are enabled for this file.

show_requirements_pop_upboolean

Whether to show a requirements popup when downloading this file.

update_mod_versionboolean

Whether to update the mod's version to match this file's version.

archive_existing_fileboolean

Whether to archive the existing file when uploading a new version.

previous_version_idstring nullable

The unique identifier for the mod file version this version is replacing.

Response

The created mod file version.

Changes

No recorded changes to this operation across all 1 revision of this API.