universal-resolver icon indicating copy to clipboard operation
universal-resolver copied to clipboard

What HTTP code should api-driver return when DID is not found?

Open bozzzzo opened this issue 6 months ago • 1 comments

According to api-driver.yml the driver can respond to /identifiers/{identifier} only with HTTP codes 200, 400, 410 or 500. The example resolver returns 404 for not found DID.

Add missing valid HTTP response codes to the api-driver.yml

bozzzzo avatar Dec 21 '23 09:12 bozzzzo

I agree, the .yml file should be updated accordingly. The DID Resolution specification also mentions 404: https://w3c-ccg.github.io/did-resolution/#bindings-https

peacekeeper avatar Dec 21 '23 11:12 peacekeeper