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
- https://api.digitalocean.com
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:
|
name |
String | Yes |
A globally unique name for the container registry. Must be lowercase and be composed only of numbers, letters and |
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:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.