v1

latestOpenAPI 3.0.1Apache 2.02026-07-177010.3 KB
DID

Publish a DID

Register or Update a DID in the DHT

put/dids/{id}

Path parameters

idstring required

DID to publish.

Request body

sigstring required

A base64URL-encoded signature of the BEP44 payload

seqinteger required

A sequence number for the request, recommended to be a unix timestamp in seconds

vstring required

A base64URL-encoded bencoded DNS packet containing the DID Document

retention_solutionstring

A retention solution calculated according to the spec-defined retention solution algorithm

Response

The server has accepted the request as valid and will publish it to the DHT

expirynumber