Get information about an account and repository, including the list of collections. Does not require auth.
GET
/xrpc/com.atproto.repo.describeRepo
const url = 'https://example.com/xrpc/com.atproto.repo.describeRepo?repo=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/xrpc/com.atproto.repo.describeRepo?repo=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”repo
required
The handle or DID of the repo.
string format: at-identifier
The handle or DID of the repo.
Responses
Section titled “Responses”Success
Media typeapplication/json
object
did
required
string format: did
didDoc
required
The complete DID document for this account.
handle
required
string format: handle
collections
required
List of all the collections (NSIDs) for which this repo contains at least one record.
Array<string>
handleIsCorrect
required
Indicates if handle is currently valid (resolves bi-directionally)
boolean
Example generated
{ "did": "example", "didDoc": "example", "handle": "example", "collections": [ "example" ], "handleIsCorrect": true}