Namespace McServerLauncher.Models.Modrinth
Classes
- FileHashes
Official checksums Modrinth provides for a file, used to verify the download.
- GalleryImage
A gallery image. Url is a thumbnail Modrinth has already resized, which is what the app shows; RawUrl is the full-size original.
- ProjectDetail
Full project as returned by
GET /v2/project/{id|slug}. It is the search hit plus everything the details page shows: the long description, the gallery, the external links and the licence. Every field is optional on purpose — Modrinth omits what an author never filled in, and the UI must simply not show it rather than invent a value.
- ProjectResult
One search hit. Modrinth returns far more than a card needs, and every extra field here is one request the details page doesn't have to make: the side (client/server), the categories, the follower count and the dates are enough to classify and describe a project on their own.
- TeamMember
One member of a project's team (
GET /v2/team/{id}/members).
- VersionDependency
A dependency declared by a version. DependencyType is "required", "optional", "incompatible" or "embedded"; only the project id is guaranteed, so the project itself has to be looked up to show a name.