Get Popular Mods
Stable
Getting popular mods returns a set of mods ranked by download count. The list is used to surface trending or widely-used content on the Webapp's homepage.
| Property | Value |
|---|---|
| Applies to | Webapp |
| Trigger | Client requests GET /api/popular-mods |
| Preconditions | None |
Inputs
There are no inputs.
Assertions
| Assertion | Status |
|---|---|
| None — the operation always succeeds |
Outputs
ModSummaryData[] : A list of mod summaries ordered by popularity. May be empty if no mods have been downloaded.
Effects
None. This is a read-only operation.
Behavior
mermaid
flowchart TD
Start([GET /api/popular-mods]) --> Query[modRepository.findAllPopularMods]
Query --> Done([ModSummaryData array])
style Done fill:#4ade80,color:#000See Also
- Get featured mods — Spec page for retrieving editorially selected mods.
- Get server metrics — Spec page for aggregate registry statistics.
- Browse mods — Spec page for paginated, filtered mod discovery.