Upload targets of a mod
nexus_mod_file_targetsLists the v3 identifiers needed to publish a mod update: internal mod id and each file's mod_file_id with latest versions. Use a mod_file_id to upload a release; omit it to create a new file.
Instructions
START HERE before updating a mod: lists the v3 identifiers needed to publish. Returns the internal mod id plus every mod file (the update chain shown on the Files tab) with its mod_file_id and latest versions. Pass the mod_file_id to nexus_upload_mod_file to release a new version of that file; omit it to create a brand new file. The numeric mod_id is the one in the page URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mod_id | Yes | Numeric mod id (visible in the page URL) | |
| refresh | No | Bypass the cache (use right after an upload) | |
| game_domain_name | No | Game domain, e.g. "skyrimspecialedition". Default: "mountandblade2bannerlord" | |
| include_versions | No | Fetch the version chain of each file (default true, one extra call per file) | |
| versions_per_file | No | How many recent versions to keep per file (default 3) |