Combined URI Syntax Proposal (at:public and at:space)

I’d personally prefer keeping a topological order to the URI:

  • at:/<did>: identity, used eg. in the did document’s alsoKnownAs
  • at:/<did>/repo/<col>/<rkey>
  • at:/<did>/space/<space-type>/<space-key>/<col>/<rkey>

The proposal here does not account for which URI format the identity should use: What would the did document point to ?

For handle declarations in DID documents, we could technically stick with at:// because the URI authority section is a regular hostname. I don’t like having separate syntax for handle vs DID account references though.

We could add a new sub-type: at:ident/handle.example.com and at:ident/did:plc:abc123.

Or use whatever we come up with for global public broadcast: at:global/handle.example.com and at:global/did:plc:abc123. This is probably the simplest option.

I agree, but while atproto_pds works perfectly, atproto_space was replaced by atproto. Even if it still existed, it was optional, so clients would need to know what to do if it were missing from the space authority’s DID document.