What's the purpose of the didDoc
field in the com.atproto.repo.describeRepo
response?
#3284
Replies: 1 comment
-
These are great questions! This endpoint dates all the way back to the early days of PDS development, when the data transfer mechanism hadn't been designed yet and all accounts were on a single server. I think the original intent of this endpoint was to help simple clients (which don't implement DID resolution) look up other accounts on that server. My personal opinion is that we should probably deprecate or re-design this endpoint. For accounts local to a PDS (or a relay), there is |
Beta Was this translation helpful? Give feedback.
-
Two questions I guess:
What's the response supposed to be used for?
Is the PDS supposed to "already know" the value of the did doc (kinda like what
getRecommendedDidCredentials
does, iiuc), or is it expect it to resolve the DID itself? For example, if an account uses a did:web, and the owner manually edits the DID document, isdescribeRepo
supposed to notice?Beta Was this translation helpful? Give feedback.
All reactions