-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[docker-hub-api] add list namespace repositories endpoint #22934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: DVP Data API | ||
build: | ||
render: never | ||
--- | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
description: Docker Verified Publisher API changelog | ||
title: Docker Verified Publisher API changelog | ||
linkTitle: Changelog | ||
keywords: docker dvp, dvp, whats new, release notes, api, changelog | ||
Check failure on line 5 in content/reference/api/dvp/changelog.md
|
||
weight: 1 | ||
toc_min: 1 | ||
toc_max: 2 | ||
--- | ||
|
||
Here you can learn about the latest changes, new features, bug fixes, and known | ||
issues for Docker Verified Publisher API. | ||
|
||
--- | ||
|
||
## 2025-06-27 | ||
|
||
### New | ||
|
||
- Create changelog |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
description: Deprecated Docker Verified Publisher API endpoints | ||
keywords: deprecated | ||
title: Deprecated Docker Verified Publisher API endpoints | ||
linkTitle: Deprecated | ||
weight: 2 | ||
--- | ||
|
||
This page provides an overview of endpoints that are deprecated in Docker Verified Publisher API. | ||
|
||
## Endpoint deprecation policy | ||
|
||
As changes are made to Docker there may be times when existing endpoints need to be removed or replaced with newer endpoints. Before an existing endpoint is removed it is labeled as "deprecated" within the documentation. After some time it may be removed. | ||
|
||
## Deprecated engine endpoints | ||
|
||
The following table provides an overview of the current status of deprecated endpoints: | ||
|
||
**Deprecated**: the endpoint is marked "deprecated" and should no longer be used. | ||
|
||
The endpoint may be removed, disabled, or change behavior in a future release. | ||
|
||
**Removed**: the endpoint was removed, disabled, or hidden. | ||
|
||
--- | ||
|
||
| Status | Feature | Date | | ||
|--------|---------------------------------------------------------------|------------| | ||
| | [Create deprecation log table](#create-deprecation-log-table) | 2025-06-27 | | ||
|
||
--- | ||
|
||
### Create deprecation log table | ||
|
||
Reformat page | ||
|
||
--- |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
--- | ||
layout: api | ||
description: Reference documentation and Swagger (OpenAPI) specification for the Docker Verified Publisher API. | ||
linkTitle: DVP Data API | ||
title: Docker Verified Publisher API reference | ||
weight: 4 | ||
title: OpenAPI | ||
weight: 3 | ||
--- |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can't comment inline because there's no diff in the file; not sure if people reference this file directly (if that's the case, we may need to add a redirect through other means). |
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,41 @@ | ||||||||||
--- | ||||||||||
description: Docker Hub API changelog | ||||||||||
title: Docker Hub API changelog | ||||||||||
linkTitle: Changelog | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add an alias for the previous URL? Something like;
Suggested change
|
||||||||||
keywords: docker hub, hub, whats new, release notes, api, changelog | ||||||||||
Check failure on line 5 in content/reference/api/hub/changelog.md
|
||||||||||
weight: 1 | ||||||||||
toc_min: 1 | ||||||||||
toc_max: 2 | ||||||||||
--- | ||||||||||
|
||||||||||
Here you can learn about the latest changes, new features, bug fixes, and known | ||||||||||
issues for Docker Service APIs. | ||||||||||
|
||||||||||
--- | ||||||||||
|
||||||||||
## 2025-06-27 | ||||||||||
|
||||||||||
### New | ||||||||||
|
||||||||||
- Add [List repositories](/reference/api/hub/latest/#tag/repositories/operation/listNamespaceRepositories) endpoints for a given `namespace`. | ||||||||||
|
||||||||||
### Deprecations | ||||||||||
|
||||||||||
- [Deprecate /v2/repositories/{namespace}](/reference/api/hub/deprecated/#deprecate-legacy-listnamespacerepositories) | ||||||||||
|
||||||||||
--- | ||||||||||
|
||||||||||
## 2025-03-25 | ||||||||||
|
||||||||||
### New | ||||||||||
|
||||||||||
- Add [APIs](/reference/api/hub/latest/#tag/org-access-tokens) for organization access token (OATs) management. | ||||||||||
|
||||||||||
--- | ||||||||||
|
||||||||||
## 2025-03-18 | ||||||||||
|
||||||||||
### New | ||||||||||
|
||||||||||
- Add access to [audit logs](/reference/api/hub/latest/#tag/audit-logs) for org | ||||||||||
access tokens. |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,15 +1,52 @@ | ||||||
--- | ||||||
description: Docker Hub API v1 (deprecated) | ||||||
keywords: kitematic, deprecated | ||||||
title: Docker Hub API v1 (deprecated) | ||||||
weight: 3 | ||||||
aliases: | ||||||
- /docker-hub/api/deprecated/ | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll probably want to keep the alias, which is used for redirects |
||||||
description: Deprecated Docker Hub API endpoints | ||||||
keywords: deprecated | ||||||
title: Deprecated Docker Hub API endpoints | ||||||
linkTitle: Deprecated | ||||||
weight: 2 | ||||||
--- | ||||||
|
||||||
> **Deprecated** | ||||||
> | ||||||
> Docker Hub API v1 has been deprecated. Please use Docker Hub API v2 instead. | ||||||
This page provides an overview of endpoints that are deprecated in Docker Hub API. | ||||||
|
||||||
## Endpoint deprecation policy | ||||||
|
||||||
As changes are made to Docker there may be times when existing endpoints need to be removed or replaced with newer endpoints. Before an existing endpoint is removed it is labeled as "deprecated" within the documentation. After some time it may be removed. | ||||||
|
||||||
## Deprecated engine endpoints | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably a copy/paste from elsewhere;
Suggested change
|
||||||
|
||||||
The following table provides an overview of the current status of deprecated endpoints: | ||||||
|
||||||
**Deprecated**: the endpoint is marked "deprecated" and should no longer be used. | ||||||
|
||||||
The endpoint may be removed, disabled, or change behavior in a future release. | ||||||
|
||||||
**Removed**: the endpoint was removed, disabled, or hidden. | ||||||
|
||||||
--- | ||||||
|
||||||
| Status | Feature | Date | | ||||||
|------------|---------------------------------------------------------------------------------------|------------| | ||||||
| Deprecated | [Deprecate /v2/repositories/{namespace}](#deprecate-legacy-listnamespacerepositories) | 2025-06-27 | | ||||||
| | [Create deprecation log table](#create-deprecation-log-table) | 2025-06-27 | | ||||||
| Removed | [Docker Hub API v1 deprecation](#docker-hub-api-v1-deprecation) | 2022-08-23 | | ||||||
|
||||||
--- | ||||||
|
||||||
### Deprecate legacy ListNamespaceRepositories | ||||||
|
||||||
Deprecate undocumented endpoint `GET /v2/repositories/{namespace}` replaced by [List repositories](/reference/api/hub/latest/#tag/repositories/operation/listNamespaceRepositories). | ||||||
|
||||||
--- | ||||||
|
||||||
### Create deprecation log table | ||||||
|
||||||
Reformat page | ||||||
|
||||||
--- | ||||||
|
||||||
### Docker Hub API v1 deprecation | ||||||
|
||||||
Docker Hub API v1 has been deprecated. Please use Docker Hub API v2 instead. | ||||||
Check warning on line 49 in content/reference/api/hub/deprecated.md
|
||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
The following API routes within the v1 path will no longer work and will return a 410 status code: | ||||||
* `/v1/repositories/{name}/images` | ||||||
|
@@ -21,11 +58,11 @@ | |||||
|
||||||
If you want to continue using the Docker Hub API in your current applications, update your clients to use v2 endpoints. | ||||||
|
||||||
| **OLD** | **NEW** | | ||||||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||||||
| [/v1/repositories/{name}/images](https://github.com/moby/moby/blob/v1.3.0/docs/sources/reference/api/docker-io_api.md#list-user-repository-images) | [/v2/namespaces/{namespace}/repositories/{repository}/images](/reference/api/hub/latest.md#tag/images/operation/GetNamespacesRepositoriesImages) | | ||||||
| [/v1/repositories/{namespace}/{name}/images](https://github.com/moby/moby/blob/v1.3.0/docs/sources/reference/api/docker-io_api.md#list-user-repository-images) | [/v2/namespaces/{namespace}/repositories/{repository}/images](/reference/api/hub/latest.md#tag/images/operation/GetNamespacesRepositoriesImages) | | ||||||
| [/v1/repositories/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags) | [/v2/namespaces/{namespace}/repositories/{repository}/tags](/reference/api/hub/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags/get) | | ||||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags) | [/v2/namespaces/{namespace}/repositories/{repository}/tags](/reference/api/hub/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags/get) | | ||||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag) | [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](/reference/api/hub/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags~1%7Btag%7D/get) | | ||||||
| [/v1/repositories/{namespace}/{name}/tags/{tag_name}](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag) | [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](/reference/api/hub/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags~1%7Btag%7D/get) | | ||||||
| **OLD** | **NEW** | | ||||||
Check warning on line 61 in content/reference/api/hub/deprecated.md
|
||||||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------| | ||||||
| [/v1/repositories/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags) | [/v2/namespaces/{namespace}/repositories/{repository}/tags](/reference/api/hub/latest/#tag/repositories/operation/ListRepositoryTags) | | ||||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags) | [/v2/namespaces/{namespace}/repositories/{repository}/tags](/reference/api/hub/latest.md/#tag/repositories/operation/ListRepositoryTags) | | ||||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag) | [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](/reference/api/hub/latest/#tag/repositories/operation/GetRepositoryTag) | | ||||||
| [/v1/repositories/{namespace}/{name}/tags/{tag_name}](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag) | [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](/reference/api/hub/latest/#tag/repositories/operation/GetRepositoryTag) | | ||||||
|
||||||
--- |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
--- | ||
layout: api | ||
description: Reference documentation and OpenAPI specification for the Docker Hub API. | ||
title: Docker Hub API reference | ||
linkTitle: Docker Hub API | ||
weight: 1 | ||
description: Reference documentation and Swagger (OpenAPI) specification for the Docker Hub API. | ||
title: OpenAPI | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like the title went missing here; can you add back the title, and a |
||
weight: 3 | ||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the title went missing here as well; can you add those back (
title
and a shortlinkTitle
for the navigation)As this page moved, we'd also want to add aliases here;
Instead of making
latest
the canonical URL, we could consider keeping it as index (_index.md
), adding/reference/api/hub/dvp/latest/
as alias. We do this for the Engine API, wherehttps://docs.docker.com/reference/api/engine/latest/
(for convenience) links to the versioned URL for the latest API version;https://docs.docker.com/reference/api/engine/version/v1.50/