# GET /v2/repositories/{}/{} is deprecated

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

Docker Hub API deprecated the GET /v2/repositories/{id}/{id} endpoint on September 19, 2025, without a shutdown date. Calls made to this endpoint are planned for removal and will fail. The change affects requests sent to the legacy repository path.

## What to use instead

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

- API: Docker Hub API (hub.docker.com)
- Kind: Endpoint removal
- Announced: September 19, 2025
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v2/repositories/{id}/{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-2/

## Docker Hub API's words

> GET /v2/repositories/{namespace}/{repository} replaced by Get repository

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