GET
/
cloud
/
v1
/
registries
/
{project_id}
/
{region_id}
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
registry_list = client.cloud.registries.list(
    project_id=0,
    region_id=0,
)
print(registry_list.count)
{
  "count": 1,
  "results": [
    {
      "created_at": "2024-06-18T09:36:53.335000Z",
      "id": 1,
      "name": "company-name",
      "repo_count": 1,
      "storage_limit": 5,
      "storage_used": 1000000000,
      "updated_at": "2024-06-18T09:36:53.335000Z",
      "url": "<string>"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

Response

200
application/json

Registry list

The response is of type object.