POST /v2/registry

To create your container registry, send a POST request to /v2/registry.

The name becomes part of the URL for images stored in the registry. For example, if your registry is called example, an image in it will have the URL registry.digitalocean.com/example/image:tag.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
region String No

Slug of the region where registry data is stored. When not provided, a region will be selected.

Possible values:

  • "sfo3"
  • "sgp1"
  • "fra1"
  • "ams3"
  • "nyc3"
name String Yes

A globally unique name for the container registry. Must be lowercase and be composed only of numbers, letters and -, up to a limit of 63 characters.

subscription_tier_slug String Yes

The slug of the subscription tier to sign up for. Valid values can be retrieved using the options endpoint.

Possible values:

  • "starter"
  • "professional"
  • "basic"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.