GET
/
cloud
/
v3
/
inference
/
{project_id}
/
registry_credentials
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
page = client.cloud.inference.registry_credentials.list(
    project_id=1,
)
page = page.results[0]
print(page.project_id)
{
  "count": 1,
  "results": [
    {
      "name": "docker-io",
      "project_id": 1,
      "registry_url": "registry.example.com",
      "username": "username"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

Examples:

1

Query Parameters

limit
integer
default:1000

Optional. Limit the number of returned items

Required range: 0 < x <= 1000
Examples:

1000

offset
integer
default:0

Optional. Offset value is used to exclude the first set of records from the result

Required range: x >= 0
Examples:

0

Response

200 - application/json

OK

The response is of type object.