v1

latestOpenAPI 3.0.1Apache 2.02026-07-177010.3 KB
DID

Resolve a DID

Resolve a DID from the DHT first, with a fallback to local storage

get/dids/{id}

Path parameters

idstring required

The DID to resolve

Query parameters

seqinteger

The sequence number of the DID to resolve

Response

The resolved DID Document

didobject required

The DID Document

dhtstring required

An unpadded base64URL-encoded representation of a full DNS-encoded BEP44 payload, represented as 64 bytes sig, 8 bytes u64 big-endian seq, 0-1000 bytes of v concatenated; enabling independent verification

typesinteger[]

The types associated with the DID

sequence_numbersinteger[]

The sequence numbers available for querying for this node

expirynumber

The Unix Timestamp in seconds indicating when the DID will be evicted from the Gateway's Retained DID Set