Check repository in a namespace
/v2/namespaces/{namespace}/repositories/{repository} Check a repository within the specified namespace (organization or user).
Public repositories are accessible to everyone, while private repositories require appropriate authentication and permissions.
This operation accepts bearer tokens issued from organization access tokens (OATs). The token must have the required resource access and scopes.
Connection and access
API connection and authentication guidance
https://hub.docker.com
—
Docker HUB API
Use one of these alternatives. Requirements within an alternative apply together.
bearerAuth- Anonymous access
Parameters
namespace
path
Required
Type:
string
All schema constraints and annotations
{
"type": "string"
}repository
path
Required
Type:
string
All schema constraints and annotations
{
"type": "string"
}Request and responses
Response
200
No response content is declared.
Response
401
application/json
Schema:
error
error
{
"errinfo": null,
"message": "unauthorized"
}Response
403
application/json
Schema:
error
error
{
"errinfo": null,
"message": "permission denied"
}Response
404
application/json
Schema:
error
error
{
"errinfo": null,
"message": "not found"
}Response
500
application/json
Schema:
error
error
{
"errinfo": null,
"message": "internal error"
}Referenced schemas
Complete operation contract
{
"description": "Check a repository within the specified namespace (organization or user).\n\nPublic repositories are accessible to everyone, while private repositories require appropriate authentication and permissions.\n\nThis operation accepts bearer tokens issued from organization access tokens (OATs). The token must have the required resource access and scopes.\n",
"operationId": "CheckRepository",
"responses": {
"200": {},
"401": {
"$ref": "#/components/responses/unauthorized"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"500": {
"$ref": "#/components/responses/internal_error"
}
},
"security": [
{
"bearerAuth": []
},
{}
],
"summary": "Check repository in a namespace",
"tags": [
"repositories"
]
}