Class ProjectDetail
- Namespace
- McServerLauncher.Models.Modrinth
- Assembly
- McServerLauncher.dll
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.
public class ProjectDetail
- Inheritance
-
ProjectDetail
- Inherited Members
Properties
AdditionalCategories
[JsonPropertyName("additional_categories")]
public List<string> AdditionalCategories { get; set; }
Property Value
Body
Long description, in Markdown (often with raw HTML mixed in).
[JsonPropertyName("body")]
public string? Body { get; set; }
Property Value
Categories
[JsonPropertyName("categories")]
public List<string> Categories { get; set; }
Property Value
ClientSide
[JsonPropertyName("client_side")]
public string? ClientSide { get; set; }
Property Value
Description
One-line summary written by the author.
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
DiscordUrl
[JsonPropertyName("discord_url")]
public string? DiscordUrl { get; set; }
Property Value
DonationUrls
[JsonPropertyName("donation_urls")]
public List<DonationUrl> DonationUrls { get; set; }
Property Value
Downloads
[JsonPropertyName("downloads")]
public long Downloads { get; set; }
Property Value
Followers
Followers. The search endpoint calls the same number "follows".
[JsonPropertyName("followers")]
public int Followers { get; set; }
Property Value
Gallery
[JsonPropertyName("gallery")]
public List<GalleryImage> Gallery { get; set; }
Property Value
GameVersions
[JsonPropertyName("game_versions")]
public List<string> GameVersions { get; set; }
Property Value
IconUrl
[JsonPropertyName("icon_url")]
public string? IconUrl { get; set; }
Property Value
Id
[JsonPropertyName("id")]
public string Id { get; set; }
Property Value
IssuesUrl
[JsonPropertyName("issues_url")]
public string? IssuesUrl { get; set; }
Property Value
License
[JsonPropertyName("license")]
public ProjectLicense? License { get; set; }
Property Value
Loaders
[JsonPropertyName("loaders")]
public List<string> Loaders { get; set; }
Property Value
ProjectType
[JsonPropertyName("project_type")]
public string? ProjectType { get; set; }
Property Value
Published
[JsonPropertyName("published")]
public DateTimeOffset? Published { get; set; }
Property Value
ServerSide
[JsonPropertyName("server_side")]
public string? ServerSide { get; set; }
Property Value
Slug
[JsonPropertyName("slug")]
public string Slug { get; set; }
Property Value
SourceUrl
[JsonPropertyName("source_url")]
public string? SourceUrl { get; set; }
Property Value
Team
Team id, used to look up the authors (the project endpoint has no author name).
[JsonPropertyName("team")]
public string? Team { get; set; }
Property Value
Title
[JsonPropertyName("title")]
public string Title { get; set; }
Property Value
Updated
[JsonPropertyName("updated")]
public DateTimeOffset? Updated { get; set; }
Property Value
WikiUrl
[JsonPropertyName("wiki_url")]
public string? WikiUrl { get; set; }