Create a peer registry
Changed onExperimental. Registers a new peer registry.
The peer url must use https unless apicurio.federation.peer.insecure-http.enabled is set. It must not contain userinfo, a query or a fragment, and must not point at a link-local, unspecified, multicast, reserved or cloud metadata address, or at a loopback address unless apicurio.federation.peer.loopback.enabled is set. credentialSecretRef names a key in the registry's peer credentials directory; it is never a credential value.
This endpoint is only available when federation is enabled (apicurio.federation.enabled). Returns HTTP 409 (Conflict) otherwise.
This operation can fail for the following reasons:
- The peer definition is invalid (HTTP error 400)
- A peer with the same peerId already exists (HTTP error 409)
- The registry storage is read-only (HTTP error 409)
- Federation is not enabled (HTTP error 409)
- A server error occurred (HTTP error 500)
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"peerId": "eu-registry",
"url": "https://registry.eu.example.com",
"name": "EU registry",
"description": "Registry serving the EU region.",
"enabled": true,
"credentialSecretRef": "eu-registry"
}Response
Returned when the peer registry was successfully created.
Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info