HangarMC / Hangar

A plugin repository used for paper plugins
https://hangar.papermc.io/
MIT License
251 stars 64 forks source link

Include Filters in the versions url #1320

Closed Jo0001 closed 5 months ago

Jo0001 commented 9 months ago

Is your feature request related to a problem?

When you tell people to download the latest version of a resource from e.g. https://hangar.papermc.io/ViaVersion/ViaVersion/versions the often get confused because of the different channels. So prefiltering them via the url would help.

Describe the solution you'd like.

With a filter in the url like https://hangar.papermc.io/ViaVersion/ViaVersion/versions?channel=Release it should then only show all versions from the Release channel.

So like its done already in the API https://hangar.papermc.io/api/v1/projects/ViaVersion/versions?limit=7&offset=0&channel=Release&channel=Alpha&platform=PAPER

Describe alternatives you've considered.

-

Other

No response

### Tasks