{"openapi":"3.0.3","info":{"title":"Indy resolver","version":"1.0.0","description":"Resolves did:indy identifiers on one Hyperledger Indy ledger and returns a W3C DID Resolution result."},"paths":{"/1.0/identifiers/{did}":{"get":{"operationId":"resolveDid","summary":"Resolve a did:indy identifier","description":"Returns a DID Resolution result. Send Accept: application/did+json for the DID document alone. Accept: application/did+ld+json returns the document only when it has @context.","parameters":[{"name":"did","in":"path","required":true,"description":"did:indy identifier. It must be the configured DID prefix followed by a base58 NYM.","schema":{"type":"string"}},{"name":"versionId","in":"query","required":false,"description":"Ledger sequence number of the NYM to read.","schema":{"type":"string","pattern":"^[1-9][0-9]*"}},{"name":"versionTime","in":"query","required":false,"description":"ISO-8601 time. The resolver converts it to a Unix timestamp for the ledger read.","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Resolution result, or the DID document when requested with Accept."},"400":{"description":"invalidDid. The identifier or a version parameter is not valid."},"404":{"description":"notFound. The DID is unknown, or it does not use the configured DID prefix."},"406":{"description":"representationNotSupported. The requested representation does not match the document."},"500":{"description":"internalError. The ledger read or DID document assembly failed."}}}},"/1.0/identifiers/{did}/attribs":{"get":{"operationId":"listDidAttribs","summary":"List ATTRIB transactions for a DID","description":"Returns every domain-ledger ATTRIB transaction whose dest is this DID, including raw, hash, and encrypted attributes. Indy has no request that lists attributes, so this reads the domain ledger transaction by transaction. Ledgers larger than 1048576 transactions are rejected.","parameters":[{"name":"did","in":"path","required":true,"description":"did:indy identifier. It must be the configured DID prefix followed by a base58 NYM.","schema":{"type":"string"}}],"responses":{"200":{"description":"Matching ATTRIB transactions, in ledger order. The list is empty when the DID has none."},"400":{"description":"invalidDid. The identifier is not a valid did:indy DID."},"404":{"description":"notFound. The DID does not use the configured DID prefix."},"500":{"description":"internalError. The domain ledger could not be read."}}}},"/health/live":{"get":{"operationId":"live","summary":"Liveness","description":"Reports that the process is listening.","responses":{"200":{"description":"The process is up.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"didPrefix":{"type":"string"}}}}}}}}},"/health/ready":{"get":{"operationId":"ready","summary":"Readiness","description":"Reports whether the Indy pool lists ledger nodes.","responses":{"200":{"description":"The pool lists at least one ledger node."},"503":{"description":"The pool is not usable."}}}}}}