dots.v2.registries.byRegistry_name().get()

Generated on 5 Nov 2026 from DoTs version v1.23.0

Usage

client.v2.registries.byRegistry_name(registry_name).get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | WithRegistry_nameGetResponse>

Description

To get information about any container registry in your account, send a GET request to /v2/registries/{registry_name}.

Parameters

registry_name string required

Example: example

The name of a container registry.

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

const response = await client.v2.registries
    .byRegistry_name("example").get();

Response Example

Show Response Example
{
  "registry": {
    "name": "example",
    "created_at": "2020-03-21T16:02:37Z",
    "region": "fra1",
    "storage_usage_bytes": 29393920,
    "storage_usage_bytes_updated_at": "2020-11-04T21:39:49.530562231Z"
  }
}

More Information

See /v2/registries/{registry_name} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.