Preview release.These docs are a work in progress. Pages are still being written, links may break, and structure may shift without notice. Treat everything here as a draft and report issues onGitHub.
Evaluate one configured federation profile for a trusted peer
const url = 'https://example.com/federation/v1/evaluations';const options = {method: 'POST', headers: {'Content-Type': 'application/jwt'}, body: 'example'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/federation/v1/evaluations \ --header 'Content-Type: application/jwt' \ --data exampleAccepts a compact JWS request with typ registry-notary-request+jwt. This route is mounted only when federation is enabled and uses body-JWT authentication instead of API key or bearer authentication.
Request Bodyrequired
Section titled “Request Bodyrequired”Compact JWS signed federation evaluation request
Responses
Section titled “Responses”Compact JWS signed federation evaluation response
Compact JWS with typ registry-notary-response+jwt
Invalid federation request
Invalid federation token
Peer, profile, purpose, or requester/target identity path is not allowed
Request replay detected
Request body is too large
Content type is not application/jwt
Source service or peer key service is unavailable