Skip to main content
GET
Get an application's image registry

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

application_id
string
required

The application's id.

Response

The effective image registry.

An application's effective image registry: the stored declaration, whether one is declared at all, what it resolves to, each component's image repository and the application's push robot.

declared
boolean
required
url
string
required
credential_name
string
required
api_url
string
required
pull_secret_name
string
required
username_secret_name
string
required
password_secret_name
string
required
manage_actions_secrets
boolean
required
admin_credential_name
string
required

The credential Ankra administers robot accounts on a declared registry with (registryrobot.go).

flat_repositories
boolean
required
component_repositories
object
required

A component's repository inside the project outright, keyed by component name.

host
string
required
project
string
required
image_repository
string
required

Where the primary component's images are expected, so a caller can compare it against where its builds actually push.

components
ApplicationComponentImageRepository · object[]
required

Each component's expected image repository, because a monorepo's components may each declare their own registry.

robot
ApplicationRegistryRobot · object
required

The application's own push robot on the effective registry.

project_created
boolean

Set on the answer to a declaration whose project Ankra created on the registry just now, with the admin credential.