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.
List supported output formats
GET
/v1/formats
const url = 'https://example.com/v1/formats';const options = {method: 'GET', headers: {'X-Api-Key': '<X-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/formats \ --header 'X-Api-Key: <X-Api-Key>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Supported formats
Media typeapplication/json
Example
{ "formats": [ { "id": "application/dc+sd-jwt", "kind": "credential", "status": "enabled" }, { "id": "application/ld+json; profile=\"cccev\"", "kind": "renderer", "status": "enabled" }, { "id": "application/vnd.registry-notary.claim-result+json", "kind": "claim_result", "status": "enabled" } ]}Missing or invalid credential
Media typeapplication/problem+json
object
code
required
string
detail
required
string
request_id
required
string
status
required
integer format: int32
title
required
string
type
required
string format: uri
key
additional properties
any
Example
{ "code": "auth.missing_credential", "detail": "missing authentication credential", "status": 401, "title": "Missing credential", "type": "https://docs.registry-notary.dev/problems/auth/missing_credential"}