mcio-dev/Upload to NexusMC
Upload file to NexusMC to update resource
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api_token | NexusMC Personal API Token | yes | — |
| resource_id | NexusMC Resource ID | yes | — |
| file_path | Path to one file to upload (legacy compatible; use files for multiple files) | no | — |
| files | Resource files as JSON array. Each item supports path, isPrimary, subcategoryIds, loaderIds, gameVersions, mcVersions, extractCode, and extra resource file fields. | no | — |
| if_no_files_found | Behavior when file_path/files are provided but no files exist. Options: warn, error, ignore. | no | error |
| version | Resource version number | no | — |
| version_title | Version title | no | — |
| changelog | Changelog for the new version | no | — |
| publish_version | Whether to publish as a new version. Omit it when only patching metadata, docs, or tutorials. | yes | — |
| mc_versions | Supported Minecraft versions (JSON array) | no | — |
| tags | Custom tags (JSON array) | no | — |
| official_tags | Official tags (JSON array) | no | — |
| cover_image_path | Path to cover image file | no | — |
| tutorial_post_ids | Tutorial post IDs (JSON array) | no | — |
| documentation_post_refs | Documentation post references (JSON array) | no | — |
| documentation_url | External documentation URL | no | — |
| dependencies | Dependencies (JSON array) | no | — |
| is_draft | Save as draft. Omit it to leave the current draft/publish state unchanged. | no | — |
Outputs
no outputs