How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Docker Hub repositories API

The repository endpoints allow you to access your repository's tags.

Docker Hub repositories API is one of 10 APIs that Docker Hub publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Repositories. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 11 operations across 7 paths, and defines 19 schemas. It is described by OpenAPI 3.0.3, at version 2-beta.

Requests are made against a single base URL, https://hub.docker.com.

11 operations 7 paths 19 schemas 4 GET3 HEAD1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2-beta
Base URL
https://hub.docker.com/v2
Authentication
HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Docker Hub repositories API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). It accepts HTTP bearer tokens (bearerSCIMAuth).

Paths & Operations 11

Across 7 paths, the API surfaces 11 operations — 4 GET, 3 HEAD, 1 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

repositories 11

The repository endpoints allow you to access your repository's tags.

GET
/v2/namespaces/{namespace}/repositories/{repository}/tags
List repository tags
ListRepositoryTags 4 params → 200403404
HEAD
/v2/namespaces/{namespace}/repositories/{repository}/tags
Check repository tags
2 params → 200403404
GET
/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}
Read repository tag
GetRepositoryTag 3 params → 200403404
HEAD
/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}
Check repository tag
3 params → 200403404
PATCH
/v2/namespaces/{namespace}/repositories/{repository}/immutabletags
Update repository immutable tags
UpdateRepositoryImmutableTags 2 params body → 200400401403404
POST
/v2/namespaces/{namespace}/repositories/{repository}/immutabletags/verify
Verify repository immutable tags
VerifyRepositoryImmutableTags 2 params body → 200400401403404
POST
/v2/repositories/{namespace}/{repository}/groups
Assign a group (Team) to a repository for access
CreateRepositoryGroup 2 params body → 200400401403404
GET
/v2/namespaces/{namespace}/repositories
List repositories in a namespace
listNamespaceRepositories 5 params → 200400401403404
POST
/v2/namespaces/{namespace}/repositories
Create a new repository
CreateRepository 1 param body → 201400401403404500
GET
/v2/namespaces/{namespace}/repositories/{repository}
Get repository in a namespace
GetRepository 2 params → 200401403404500
HEAD
/v2/namespaces/{namespace}/repositories/{repository}
Check repository in a namespace
CheckRepository 2 params → 200401403404500

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are repository_info (26 properties), repository_list_entry (17 properties), tag (13 properties), image (12 properties). Each schema is shown below with its type and property counts.

error
object
3 properties
layer
object
3 properties
tag
object
13 properties
repo_creation_request
object
6 properties 2 required
immutable_tags_settings
object
2 properties 2 required
RepositoryGroupCreationRequest
object
2 properties 2 required
Error
object
2 properties
repo_permissions
object
3 properties 3 required
repository_info
object
26 properties 19 required
immutable_tags_verify_request
object
1 property 1 required
immutable_tags_verify_response
object
1 property 1 required
page
object
3 properties
RepositoryGroup
object
3 properties
category
object
Repository category for classification and discovery
2 properties 2 required
paginated_tags
list_repositories_response
repository_list_entry
object
17 properties
update_repository_immutable_tags_request
object
2 properties 2 required
image
object
12 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

docker-hub-repositories-api-openapi.yml Raw ↑

Other APIs Docker Hub publishes across the network.

Docker Hub access-tokens API
Docker Hub audit-logs API
Docker Hub authentication-api API
Docker Hub groups API
Docker Hub invites API
Docker Hub org-access-tokens API
Docker Hub org-settings API
Docker Hub orgs API
Docker Hub scim API
Where this information came from

This is an independent, third-party profile of Docker Hub repositories API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.