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.0
The version number. Ideally will follow semantic versioning
1.0.0
The 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
IIJJKKLL
The ID of the project that this version depends on
QQRRSSTT
The file name of the dependency, mostly used for showing external dependencies on modpacks
sodium-fabric-mc1.19-0.4.2+build.16.jar
The type of dependency that this version has
required
A list of versions of Minecraft that this version supports
[ "1.16.5", "1.17.1"]
The release channel for this version
release
The mod loaders that this version supports. In case of resource packs, use “minecraft”
[ "fabric", "forge", "minecraft"]
Whether the version is featured or not
true
listed
The 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
sha1
The hash of the file you’re editing
aaaabbbbccccddddeeeeffffgggghhhhiiiijjjj
The hash algorithm of the file you’re editing
required-resource-pack
Responses
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
unauthorized
The contents of the error
Authentication Error: Invalid Authentication Credentials
404
The requested item(s) were not found or no authorization to access the requested item(s)