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
.
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. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.registry.list_repositories(registry_name="example")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.