fix(server): migrate PaperDownloader to PaperMC v3 (fill) API - #429
Merged
Conversation
PaperMC sunset the v2 API (api.papermc.io/v2); it now returns HTTP 410,
so `server add paper <version>` fails and the server integration test
(runServerIntegrationTest) and server-test jobs break on every branch:
java.io.IOException: Failed to get
https://api.papermc.io/v2/projects/paper/versions/1.21/, response 410:
{"ok":false,"error":"sunset", ...}
Switch to the current v3 "fill" API (fill.papermc.io/v3). Two shape changes
versus v2: the builds endpoint returns a top-level array ordered newest-first
(v2 was an object with a builds array, oldest-first), and each build carries a
ready-made download url under downloads."server:default".url, so the jar URL no
longer needs to be templated. Verified against the live API: the latest-build
path and an explicit-build lookup both resolve to a valid server jar.
okafke
force-pushed
the
paper-fill-api
branch
2 times, most recently
from
July 13, 2026 15:34
6bbd80c to
d008d23
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PaperMC sunset the v2 API (api.papermc.io/v2); it now returns HTTP 410, so
server add paper <version>fails and the server integration test (runServerIntegrationTest) and server-test jobs break on every branch:Switch to the current v3 "fill" API (fill.papermc.io/v3). Two shape changes versus v2: the builds endpoint returns a top-level array ordered newest-first (v2 was an object with a builds array, oldest-first), and each build carries a ready-made download url under downloads."server:default".url, so the jar URL no longer needs to be templated. Verified against the live API: the latest-build path and an explicit-build lookup both resolve to a valid server jar.