[Public Preview] List Garbage Collections
To get information about past garbage collections for a registry, send a GET request to /v2/registry/$REGISTRY_NAME/garbage-collections.
Path parameters
The name of a container registry.
Query parameters
Number of items returned per page
Which 'page' of paginated results to return.
Response
The response will be a JSON object with a key of garbage_collections. This will be set to an array containing objects representing each past garbage collection. Each will contain the standard Garbage Collection attributes.
Example response
{
"garbage_collections": [
{
"uuid": "eff0feee-49c7-4e8f-ba5c-a320c109c8a8",
"registry_name": "example",
"status": "requested",
"created_at": "2020-10-30T21:03:24Z",
"updated_at": "2020-10-30T21:03:44Z",
"blobs_deleted": 42,
"freed_bytes": 667
}
]
}Changes
Changed in 4 of the 8 revisions of this API.14
- ○
api tag
DigitalOcean-public.v2-new_Container Registriesaddedapi-tag-added
- ○
api tag
Container Registriesremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○