Interface ProjectVersion

Represents a version of a project on Modrinth

interface ProjectVersion {
    author_id: string;
    changelog: null | string;
    changelog_url: null | string;
    date_published: string;
    dependencies: Dependency[];
    downloads: number;
    featured: boolean;
    files: VersionFile[];
    game_versions: string[];
    id: string;
    loaders: string[];
    name: string;
    project_id: string;
    requested_status: null | "listed" | "archived" | "draft" | "unlisted";
    status:
        | "listed"
        | "archived"
        | "draft"
        | "unlisted"
        | "scheduled"
        | "unknown";
    version_number: string;
    version_type: "release"
    | "beta"
    | "alpha";
}

Properties

author_id: string

The ID of the author who published this version

changelog: null | string

The changelog for this version

changelog_url: null | string

A link to the changelog for this version. Always null, only kept for legacy compatibility.

Use the changelog field instead

date_published: string
dependencies: Dependency[]

A list of specific versions of projects that this version depends on

downloads: number

The number of times this version has been downloaded

featured: boolean

Whether the version is featured or not

files: VersionFile[]

A list of files available for download for this version

game_versions: string[]

A list of versions of Minecraft that this version supports

id: string

The ID of the version, encoded as a base62 string

loaders: string[]

The mod loaders that this version supports. In case of resource packs, use “minecraft”

name: string

The name of this version

project_id: string

The ID of the project this version is for

requested_status: null | "listed" | "archived" | "draft" | "unlisted"
status: "listed" | "archived" | "draft" | "unlisted" | "scheduled" | "unknown"
version_number: string

The version number. Ideally will follow semantic versioning

version_type: "release" | "beta" | "alpha"

The release channel for this version