Skip to main content

describe_repo

Function describe_repo 

Source
pub(crate) async fn describe_repo(
    __arg0: State<AppState>,
    query: Result<Query<DescribeRepoQuery>, QueryRejection>,
) -> Response
Expand description

GET /xrpc/com.atproto.repo.describeRepo

The whole account as a stranger would see it: its handle, its DID, its DID document, the collections it has written anything in, and whether the handle resolves back to the DID.

§What collections now means

It was always derived from what the repository holds rather than from didbot_lexicon::nsid::ALL, so nothing here changed when the collection set opened — but what a reader may conclude from it did. The list is a report of what this account has written and never a menu of what it may write, because there is no longer any such menu. A collection nobody has heard of appearing in it is a client that wrote one, which is also where a typo now shows up: com.example.scrobbel is a second collection in this list rather than a refusal on the write.