xcolwell
(brien colwell)
December 16, 2023, 12:55am
1
Seeing this response from the following request. This has been working great until tonight. Is there something going on with this API?
https://hub.docker.com/v2/namespaces/xxx/repositories/xxx/images
Authorization: Bearer xxx
{“message”:“404: Page Not Found”}
xcolwell
(brien colwell)
December 16, 2023, 10:49am
3
Just an update for anyone following this thread. The response to the issue above is the /images API is deprecated and the suggestion is to now use /tags.
opened 12:50PM - 13 Dec 23 UTC
closed 01:59PM - 13 Dec 23 UTC
## Problem description
Hey there all you fine Docker people,
we have an au… tomated script that sends a GET with a Bearer Token as Authoriziation to this url:
`https://hub.docker.com/v2/namespaces/{namespace}/repositories/{repositoryName}/images?ordering=-last_activity¤tly_tagged=true`
On monday (december 11th) this still worked fine but since yesterday (december 12th) we are getting: “message”: “404: Page Not Found” as response.
However, if we do the same GET to:
`https://hub.docker.com/v2/namespaces/{namespace}/repositories/{repositoryName}/`
All still works fine, so we don't think it's any authorization issue.
After [posting this into the docker forums](https://forums.docker.com/t/suddenly-getting-a-404-from-dockerhub-api-when-trying-to-access-repository-images/138899), user "rimelek" found out, that the endpoint is mentioned here:
https://docs.docker.com/docker-hub/api/deprecated/
But when clicking on the v2 version, there is no link anchor and no API doc anymore, the endpoint "vanished".
## Debug Information
**URL**: /v2/namespaces/{namespace}/repositories/{repository}/images
**Hub Username**: fkscorpion
## Error messages (on screen or in browser console)
“404: Page Not Found”
# Task List
- [x] This is **NOT** a security issue
- [ ] I do **NOT** have a Docker subscription
- [x] I have looked through other issues and they do **NOT** apply to me
Hello, the Advanced Image Management and related APIs have been retired on 2023/12/11.
See : Docker Hub release notes | Docker Docs
1 Like