pydo.registries.get_garbage_collection()
Generated on 5 Dec 2025
from pydo version
v0.21.0
Description
To get information about the currently-active garbage collection for a registry, send a GET request to /v2/registry/$REGISTRY_NAME/garbage-collection.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
registry_name |
string | True | The name of a container registry. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.registries.get_garbage_collection(registry_name="example")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.