Skip to main content
POST
Verify an integrated registry connection

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json
admin_credential_name
string
required

The organisation's registry credential to act as.

registry
string
required

The integrated OCI registry entry to verify.

Response

Successful Response

detail
string
required

A sentence saying what Ankra reached and saw, or why it could not.

host
string
required
ok
boolean
required

True when the admin credential could list what robots can be bound to on the registry.

project_count
integer | null
required

How many projects (Harbor) or Docker repositories (Google Artifact Registry) the credential sees; null when nothing could be listed.

provider
enum<string>
required
Available options:
harbor,
google_artifact_registry,
oci