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

Changes

Changed in 3 of the 7 revisions of this API.214

  • fff9410e2681113See the full diff
    • the response's body type changed from string to object for status

      response-body-type-changed

    • removed the request property

      request-property-removed

    • added the new optional request property

      new-optional-request-property

    • added the non-success response with the status

      response-non-success-status-added

    • added the optional property to the response with the status

      response-optional-property-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation