dots.v2.registry.get()

Generated on 13 Nov 2026 from DoTs version v1.24.0

deprecated

Usage

client.v2.registry.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | RegistryGetResponse>

Description

Note: This endpoint is deprecated. Please use the /v2/registries endpoint instead.

To get information about your container registry, send a GET request to /v2/registry.

This operation is not compatible with multiple registries in a DO account. You should use /v2/registries/{registry_name} instead.

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.registry.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/registry 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.