Modify a version
PATCH /version/{id}
Authorizations
Parameters
Path Parameters
[ "IIJJKKLL"]The ID of the version
Request Body
Modified version fields
object
The name of this version
Version 1.0.0The version number. Ideally will follow semantic versioning
1.0.0The changelog for this version
List of changes in this version: ...A list of specific versions of projects that this version depends on
object
The ID of the version that this version depends on
IIJJKKLLThe ID of the project that this version depends on
QQRRSSTTThe file name of the dependency, mostly used for showing external dependencies on modpacks
sodium-fabric-mc1.19-0.4.2+build.16.jarThe type of dependency that this version has
requiredA list of versions of Minecraft that this version supports
[ "1.16.5", "1.17.1"]The release channel for this version
releaseThe mod loaders that this version supports. In case of resource packs, use “minecraft”
[ "fabric", "forge", "minecraft"]Whether the version is featured or not
truelistedThe hash format and the hash of the new primary file
[ "sha1", "aaaabbbbccccddddeeeeffffgggghhhhiiiijjjj"]A list of file_types to edit
object
The hash algorithm of the hash specified in the hash field
sha1The hash of the file you’re editing
aaaabbbbccccddddeeeeffffgggghhhhiiiijjjjThe hash algorithm of the file you’re editing
required-resource-packResponses
204
Expected response to a valid request
401
Incorrect token scopes or no authorization to access the requested item(s)
object
The name of the error
unauthorizedThe contents of the error
Authentication Error: Invalid Authentication Credentials404
The requested item(s) were not found or no authorization to access the requested item(s)