pydo.registry.get_garbage_collection()
Generated on 11 Jul 2025
from pydo
version
v0.13.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.registry.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.