Create a project
POST /project
Authorizations
Request Body
New project
object
object
modpack
A list of initial versions to upload with the created project. Deprecated - please upload version files after initial upload.
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
Whether the project should be saved as a draft instead of being sent to moderation for review. Deprecated - please always mark this as true.
true
Gallery images to be uploaded with the created project. Deprecated - please upload gallery images after initial upload.
object
The name of the multipart item where the gallery media is located
Whether the image is featured in the gallery
true
The title of the gallery image
My awesome screenshot!
The description of the gallery image
This awesome screenshot shows all of the blocks in my mod!
The order of the gallery image. Gallery images are sorted by this field and then alphabetically by title.
Project icon file
Responses
200
Expected response to a valid request
object
The ID of the project, encoded as a base62 string
AABBCCDD
The ID of the team that has ownership of this project
MMNNOOPP
The link to the long description of the project. Always null, only kept for legacy compatibility.
A message that a moderator sent regarding the project
object
The message that a moderator has left for the project
The longer body of the message that a moderator has left for the project
The date the project was published
The date the project was last updated
The date the project’s status was set to an approved status
The date the project’s status was submitted to moderators for review
The total number of users following the project
The license of the project
object
The SPDX license ID of a project
LGPL-3.0-or-later
The long name of a license
GNU Lesser General Public License v3 or later
The URL to this license
A list of the version IDs of the project (will never be empty unless draft
status)
[ "IIJJKKLL", "QQRRSSTT"]
A list of all of the game versions supported by the project
[ "1.19", "1.19.1", "1.19.2", "1.19.3"]
A list of all of the loaders supported by the project
[ "forge", "fabric", "quilt"]
A list of images that have been uploaded to the project’s gallery
object
The URL of the gallery image
https://cdn.modrinth.com/data/AABBCCDD/images/009b7d8d6e8bf04968a29421117c59b3efe2351a.png
Whether the image is featured in the gallery
true
The title of the gallery image
My awesome screenshot!
The description of the gallery image
This awesome screenshot shows all of the blocks in my mod!
The date and time the gallery image was created
The order of the gallery image. Gallery images are sorted by this field and then alphabetically by title.
400
Request was invalid, see given error
object
The name of the error
invalid_input
The contents of the error
Error while parsing multipart payload
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