DID

Register or Update a DID in the DHT

put/dids/{id}

Request

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

Changes

    • breaking

      the response's body type changed from string to object for status

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added