Skip to content

Essence.Directory.PublicKey.Api ​

All OpenAPI documents

Version 1.0 · OpenAPI 3.0.1 · 5 operations · Download the JSON document

Generated from the PublicKeyDirectory service's code at build time (api-specs/generated/PublicKeyDirectory/Essence.Directory.PublicKey.Api.json) and drift-checked in CI. It describes what the code registers, which is not the same as what any one deployment has routed.

PublicKeys

GET/api/v1/encryption/consistency-proof

Authentication: not declared in the document

Parameters

NameInTypeRequiredDescription
oldSizequeryinteger (int64)no—

Request body

No request body.

Responses

GET/api/v1/encryption/log-key

Authentication: not declared in the document

Parameters

Takes no parameters.

Request body

No request body.

Responses

200Success
POST/api/v1/encryption/public-key

Authentication: not declared in the document

Parameters

Takes no parameters.

Request body

Not marked as required in the document.

Responses

200Success — PublishKeyResponseDto
GET/api/v1/encryption/public-key/{principalId}

Authentication: not declared in the document

Parameters

NameInTypeRequiredDescription
principalIdpathstring (uuid)yes—
keyTypequerystringno—
principalTypequerystringno—
scopeIdquerystring (uuid)no—

Request body

No request body.

Responses

200Success — PublicKeyResponseDto
404Not Found — ProblemDetails
GET/api/v1/encryption/tree-head

Authentication: not declared in the document

Parameters

Takes no parameters.

Request body

No request body.

Responses

200Success — SignedTreeHeadDto

Schemas

ConsistencyProofResponseDto

PropertyTypeRequiredDescription
newSizeinteger (int64)no—
oldSizeinteger (int64)no—
proofBase64Urlstring[] | nullno—
treeHeadSignedTreeHeadDtono—

ProblemDetails

PropertyTypeRequiredDescription
detailstring | nullno—
instancestring | nullno—
statusinteger (int32) | nullno—
titlestring | nullno—
typestring | nullno—

PublicKeyResponseDto

PropertyTypeRequiredDescription
inclusionProofBase64Urlstring[] | nullno—
keyEpochinteger (int32)no—
keyTypestring | nullno—
principalIdstring (uuid)no—
principalTypestring | nullno—
publicKeyBase64Urlstring | nullno—
scopeIdstring (uuid)no—
sequenceNumberinteger (int64)no—
treeHeadSignedTreeHeadDtono—

PublishKeyRequestDto

PropertyTypeRequiredDescription
keyEpochinteger (int32)no—
keyTypestring | nullno—
principalIdstring (uuid)no—
principalTypestring | nullno—
publicKeyBase64Urlstring | nullno—
scopeIdstring (uuid) | nullno—

PublishKeyResponseDto

PropertyTypeRequiredDescription
sequenceNumberinteger (int64)no—
treeHeadSignedTreeHeadDtono—

SignedTreeHeadDto

PropertyTypeRequiredDescription
rootHashBase64Urlstring | nullno—
signatureBase64Urlstring | nullno—
timestampMsinteger (int64)no—
treeSizeinteger (int64)no—

Built with ❤️ for developers · Service status