Skip to content

fix(server): migrate PaperDownloader to PaperMC v3 (fill) API - #429

Merged
okafke merged 2 commits into
mainfrom
paper-fill-api
Jul 13, 2026
Merged

fix(server): migrate PaperDownloader to PaperMC v3 (fill) API#429
okafke merged 2 commits into
mainfrom
paper-fill-api

Conversation

@okafke

@okafke okafke commented Jul 13, 2026

Copy link
Copy Markdown
Member

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.

ChipWolf and others added 2 commits July 13, 2026 17:32
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
okafke force-pushed the paper-fill-api branch 2 times, most recently from 6bbd80c to d008d23 Compare July 13, 2026 15:34
@okafke
okafke merged commit c59bee6 into main Jul 13, 2026
32 checks passed
@okafke
okafke deleted the paper-fill-api branch July 13, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants