describeRepo method

Future<XRPCResponse<DescribeRepoOutput>> describeRepo({
  1. String? repo,
  2. Map<String, String>? $unknown,
  3. Map<String, String>? $headers,
  4. GetClient? $client,
})

Get information about an account and repository, including the list of collections. Does not require auth.

https://atprotodart.com/docs/lexicons/com/atproto/repo/describeRepo

Implementation

Future<XRPCResponse<DescribeRepoOutput>> describeRepo({
  String? repo,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  GetClient? $client,
}) async =>
    await _ctx.get<DescribeRepoOutput>(
      ns.comAtprotoRepoDescribeRepo,
      headers: $headers,
      parameters: {
        'repo': repo ?? _ctx.repo,
        ...?$unknown,
      },
      to: const DescribeRepoOutputConverter().fromJson,
      client: $client,
    );