GET
/
cloud
/
v1
/
registries
/
{project_id}
/
{region_id}
/
{registry_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 = client.cloud.registries.get(
    registry_id=0,
    project_id=0,
    region_id=0,
)
print(registry.id)
{
  "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

registry_id
integer
required

Registry ID

Response

200
application/json

Registry

The response is of type object.