To list all manifests in your container registry repository, send a GET
request to /v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/digests
.
Note that if your repository name contains /
characters, it must be
URL-encoded in the request URL. For example, to list manifests for
registry.digitalocean.com/example/my/repo
, the path would be
/v2/registry/example/repositories/my%2Frepo/digests
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
per_page |
integer | False | Number of items returned per page | 20 |
page |
integer | False | Which ‘page’ of paginated results to return. | 1 |
registry_name |
string | True | The name of a container registry. | |
repository_name |
string | True | The name of a container registry repository. If the name contains / characters, they must be URL-encoded, e.g. %2F . |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.registry.list_repository_manifests(registry_name="example", repository_name="repo01")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.