---
title: "List All Container Registry Repositories (V2)"
method: GET
path: "/v2/registry/{registry_name}/repositoriesV2"
tags: ["DigitalOcean-public.v2-new_Container Registry"]
---

# List All Container Registry Repositories (V2)

`GET /v2/registry/{registry_name}/repositoriesV2`

To list all repositories in your container registry, send a GET request to `/v2/registry/$REGISTRY_NAME/repositoriesV2`.

## Path parameters

- `registry_name` string, required

## Query parameters

- `per_page` integer
- `page` integer
- `page_token` string

## Response `200`

The response body will be a JSON object with a key of `repositories`. This will be set to an array containing objects each representing a repository.

- object
  - `repositories` RepositoryV2[]
    - `registry_name` string — The name of the container registry.
    - `name` string — The name of the repository.
    - `latest_manifest` RepositoryManifest
      - `registry_name` string — The name of the container registry.
      - `repository` string — The name of the repository.
      - `digest` string — The manifest digest
      - `compressed_size_bytes` integer — The compressed size of the manifest in bytes.
      - `size_bytes` integer — The uncompressed size of the manifest in bytes (this size is calculated asynchronously so it may not be immediately available).
      - `updated_at` string, date-time — The time the manifest was last updated.
      - `tags` string[] — All tags associated with this manifest
      - `blobs` RepositoryBlob[] — All blobs associated with this manifest
        - `digest` string — The digest of the blob
        - `compressed_size_bytes` integer — The compressed size of the blob in bytes.
    - `tag_count` integer — The number of tags in the repository.
    - `manifest_count` integer — The number of manifests in the repository.
  - `links` PageLinks
    - `pages` union
      - ForwardLinks
        - `last` string — URI of the last page of the results.
        - `next` string — URI of the next page of the results.
      - BackwardLinks
        - `first` string — URI of the first page of the results.
        - `prev` string — URI of the previous page of the results.
      - unknown
  - `meta` object, required — Information about the response itself.
    - `total` integer, required — Number of objects returned by the request.

## Other responses

- `400` — There was an error parsing the request body.
- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
