A registry login of the organization.
GET
/api/v1/registries/{registry}
const url = 'https://example.com/api/v1/registries/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/registries/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”registry
required
string
Registry id or name
Responses
Section titled “Responses”Media typeapplication/json
An organization’s login for one registry, used by every environment without a login of its own for that registry. The password is never returned.
object
id
required
string
name
required
string
preset
required
string
server
required
The registry as image references name it (ghcr.io, docker.io,
registry.example.com:5000).
string
username
required
string
hasPassword
required
boolean
createdAt
required
integer format: int64
updatedAt
required
integer format: int64
lastCheckedAt
integer | null format: int64
lastError
string | null
Example
{ "preset": "dockerhub"}Media typeapplication/json
Problem Details body.
object
code
required
Stable machine-readable code, e.g. forbidden.
string
title
required
Short human readable title.
string
status
required
HTTP status.
integer format: int32
detail
Details, if safe to expose.
string | null
Example
{ "code": "forbidden"}Media typeapplication/json
Problem Details body.
object
code
required
Stable machine-readable code, e.g. forbidden.
string
title
required
Short human readable title.
string
status
required
HTTP status.
integer format: int32
detail
Details, if safe to expose.
string | null
Example
{ "code": "forbidden"}