DigitalOcean-public.v2-new_Container Registry
List All Container Registry Repositories
This endpoint has been deprecated in favor of the List All Container Registry Repositories [V2] endpoint.
To list all repositories in your container registry, send a GET request to /v2/registry/$REGISTRY_NAME/repositories.
get/v2/registry/{registry_name}/repositories
Path parameters
registry_namestring required
The name of a container registry.
Query parameters
per_pageinteger
Number of items returned per page
pageinteger
Which 'page' of paginated results to return.
Response
The response body will be a JSON object with a key of repositories. This will be set to an array containing objects each representing a repository.
Example response
{
"repositories": [
{
"registry_name": "example",
"name": "repo-1",
"latest_tag": {
"registry_name": "example",
"repository": "repo-1",
"tag": "latest",
"manifest_digest": "sha256:cb8a924afdf0229ef7515d9e5b3024e23b3eb03ddbba287f4a19c6ac90b8d221",
"compressed_size_bytes": 2803255,
"size_bytes": 5861888,
"updated_at": "2020-04-09T23:54:25Z"
},
"tag_count": 1
}
],
"meta": {
"total": 1
}
}