Skip to content

Commit

Permalink
docs(modrinth): add query params & fix the route path (#14362)
Browse files Browse the repository at this point in the history
  • Loading branch information
SettingDust authored Feb 1, 2024
1 parent 670f6f3 commit a123705
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion website/docs/routes/game.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,15 @@

### Project versions {#modrinth-project-versions}

<Route author="SettingDust" example="/modrinth/sodium/versions" path="/modrinth/:id/versions" paramsDesc={['Id or slug of the Modrinth project']} radar="1" />
<Route author="SettingDust" example="/project/modrinth/sodium/versions" path="/project/modrinth/:id/versions" paramsDesc={['Id or slug of the Modrinth project']} radar="1" />

Addition query parameters

| Name | Example |
| -------------- | --------------------------------------------- |
| loaders | ?loaders=fabric\&loaders=quilt\&loaders=forge |
| game\_versions | ?game\_versions=1.20.1\&game\_versions=1.20.2 |
| featured | ?featured=true |

## Nintendo {#nintendo}

Expand Down

0 comments on commit a123705

Please sign in to comment.