Create a project
POST /project
Authorizations
Request Body
New project
object
object
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
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
Whether the project should be saved as a draft instead of being sent to moderation for review. Deprecated - please always mark this as 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
The title of the gallery image
The description of the gallery image
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
The ID of the team that has ownership of this project
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
The long name of a license
The URL to this license
A list of the version IDs of the project (will never be empty unless draft
status)
A list of all of the game versions supported by the project
A list of all of the loaders supported by the project
A list of images that have been uploaded to the project’s gallery
object
The URL of the gallery image
Whether the image is featured in the gallery
The title of the gallery image
The description of the gallery image
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
The contents of the error
401
Incorrect token scopes or no authorization to access the requested item(s)
object
The name of the error
The contents of the error