Hacker News new | ask | show | jobs
by Atotalnoob 850 days ago
Off topic, but I wish /.well-known/ was used more often.

Right now, the only real usage for apis is in oauth2.

There are dozens of tiny use cases we could use a standard uri for ease of use in corporate environments…

.well-known/documentation - redirects to the docs

.well-known/health - health check

.well-known/specificiation - api contracts

Etc…

2 comments

I'm a fan of the existing `/.well-known/change-password` standard!
>Right now, the only real usage for apis is in oauth2.

... as well as the ACME HTTP-01 challenge as used by Let's Encrypt etc.

This is true, and there are some other usages, but it’s still not widely used and in my opinion it should be