pydo.registry.list_garbage_collections()
Generated on 26 Mar 2026
from pydo version
v0.29.0
Description
Note: This endpoint is deprecated. Please use the /v2/registries endpoint instead.
To get information about past garbage collections for a registry,
send a GET request to /v2/registry/$REGISTRY_NAME/garbage-collections.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
registry_name |
string | True | The name of a container registry. | |
per_page |
integer | False | Number of items returned per page | 20 |
page |
integer | False | Which ‘page’ of paginated results to return. | 1 |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.registry.list_garbage_collections(registry_name="example")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.