Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bozzzzo opened this issue Dec 21, 2023 · 1 comment
Open

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

bozzzzo opened this issue Dec 21, 2023 · 1 comment

Comments

@bozzzzo
Copy link

bozzzzo commented Dec 21, 2023

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

@peacekeeper
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants