adoptium / adoptium/api.adoptium.net

404 Not Found for /v3/assets/version/21.0.2+13

Open
#945 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
44
Forks
36
Avg merge
5h 27m
Merged PRs (30d)
42

Description

The `/v3/assets/version` endpoint does not work for the latest `21.0.2+13` release:
```
curl -I 'https://api.adoptium.net/v3/assets/version/21.0.2+13'
HTTP/1.1 404 Not Found
```
`21.0.2+13` is listed on the website:
https://adoptium.net/en-GB/temurin/releases/?version=21&package=any

The endpoint does however work for previous releases
```
curl -I 'https://api.adoptium.net/v3/assets/version/20.0.2+9'
HTTP/1.1 200 OK
```
```
curl -I 'https://api.adoptium.net/v3/assets/version/17.0.10+7'
HTTP/1.1 200 OK
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the two documented curl requests for the `/v3/assets/version/{version}` endpoint and compare the failing 21.0.2+13 response with the successful 20.0.2+9 and 17.0.10+7 responses. Trace the endpoint's release lookup and verify it returns the 21.0.2+13 assets while preserving the existing responses for previous releases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.