# GET /v2/repositories/{} is deprecated

Docker Hub API deprecated GET /v2/repositories/{id} without giving a shutdown date yet.

Docker Hub API deprecated the GET /v2/repositories/{id} endpoint without a shutdown date. This change hits calls to GET /v2/repositories/{id}. After the eventual removal, these calls fail.

## What to use instead

Call GET /v2/namespaces/{namespace}/repositories (List repositories) instead.

- API: Docker Hub API (hub.docker.com)
- Kind: Endpoint removal
- Announced: June 27, 2025
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v2/repositories/{id}`
- Source: [Announcement](https://docs.docker.com/reference/api/hub/deprecated/)
- Verified: November 6, 2026, against Docker Hub API's own pages
- Page: https://www.okapi.bot/providers/docker/breaking-changes/get-v2-repositories-is-deprecated/

## Docker Hub API's words

> Deprecate undocumented endpoint GET /v2/repositories/{namespace} replaced by List repositories

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
