Where are at://
URIs with handles supported?
#1778
-
Hi all! https://atproto.com/specs/at-uri-scheme says that DIDs and handles are both allowed in However, Is that expected? If so, is there anywhere we can document it? I didn't see anything on https://atproto.com/specs/at-uri-scheme . Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It is mentioned vaguely in the "guidelines" section: https://atproto.com/specs/at-uri-scheme#usage-and-implementation-guidelines
and
There is definitely some ambiguity and tension around this topic. Some in the team would support fully dropping handles-in-URIs, some thing the flexibility is worthwhile. At a minimum it is helpful to use handles in URIs for examples, docs, and debugging, and it would be weird to have a separate URI just for those use cases. Your question specifically is about AT URIs when included as query params to XRPC endpoints though. IMHO we should probably accept both handle and DID URIs in that situation. |
Beta Was this translation helpful? Give feedback.
-
I hit an example of this just now that the PDS could probably handle better. When I I then replaced the handles in those root and parent Requiring DIDs in AT URIs in record references is totally ok, as discussed above, but @bnewbold should the PDS then return a 400 or corresponding XRPC error when it gets a handle-based AT URI ref? Happy to file an issue if you want. |
Beta Was this translation helpful? Give feedback.
It is mentioned vaguely in the "guidelines" section: https://atproto.com/specs/at-uri-scheme#usage-and-implementation-guidelines
and