Modify a version
PATCH /version/{id}
Authorizations
Parameters
Path Parameters
The ID of the version
Request Body
Modified version fields
object
The name of this version
The version number. Ideally will follow semantic versioning
The changelog for 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
The ID of the project that this version depends on
The file name of the dependency, mostly used for showing external dependencies on modpacks
The type of dependency that this version has
A list of versions of Minecraft that this version supports
The release channel for this version
The mod loaders that this version supports. In case of resource packs, use “minecraft”
Whether the version is featured or not
The hash format and the hash of the new primary file
A list of file_types to edit
object
The hash algorithm of the hash specified in the hash field
The hash of the file you’re editing
The hash algorithm of the file you’re editing
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
The contents of the error
404
The requested item(s) were not found or no authorization to access the requested item(s)