GET Locations

To create a container registry, you should be aware of available locations where you can create your container registry.

Request

curl --location \
    --request GET \
    'https://api.ionos.com/containerregistries/locations' \
--header 'Authorization: Basic am9obkBleGFtcGxlLmNvbTphYmMxMjM=' \
--data-raw ''

Response

200 OK - Successfully received the locations of a registry

{
   "id": "locations",
   "type": "collection",
   "href": "",
   "items": [
       {
           "id": "de/fra"
       }
   ]
}

Response Fields

Field
Type
Description
Example

id

string

The id of the object that has been retrieved.

locations

type

string

The type of the resource that has been retrieved.

collection

ref

URL (string)

URL to the object representation (absolute path)

https://api.ionos.com/cloudapi/v6/locations

items

array

The location of the container registry

"id": "de/fra"

Last updated

Was this helpful?

Revision created

fixed broken links