EndpointsConnect an image registry

Registry

Connect an image registry

POST/registry/upstreams
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.

Required string length: 1 - 64

Example: "create-prod-2026-05-07"

upstream_idstringrequired

a lowercase resource id (AIP-122)

Body

application/json
hoststringrequired

Public HTTPS OCI registry DNS hostname, optionally with a port. No scheme, IP literal, userinfo, private suffix or Akua-served hostname.

Maximum string length: 259

pathstringrequired

Maximum string length: 255

usernamestringrequired

Required string length: 1 - 255

secretstringrequired

Maximum string length: 1024

skip_testboolean

Response

application/json

Upstream created

upstream_idstringrequired

a lowercase resource id (AIP-122)

workspace_idstringrequired

Required string length: 2 - 53

hoststringrequired

Public HTTPS OCI registry DNS hostname, optionally with a port. No scheme, IP literal, userinfo, private suffix or Akua-served hostname.

Maximum string length: 259

pathstringrequired

Maximum string length: 255

usernamestringrequired

Required string length: 1 - 255

secretstringrequired
image_prefixstringrequired
test_imagestring | nullrequired
created_atnumberrequired
etagstringrequired