listBlobs method

Future<XRPCResponse<ListBlobsOutput>> listBlobs({
  1. required String did,
  2. String? since,
  3. int? limit,
  4. String? cursor,
  5. Map<String, String>? $unknown,
  6. Map<String, String>? $headers,
  7. GetClient? $client,
})

List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.

https://atprotodart.com/docs/lexicons/com/atproto/sync/listBlobs

Implementation

Future<XRPCResponse<ListBlobsOutput>> listBlobs({
  required String did,
  String? since,
  int? limit,
  String? cursor,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  GetClient? $client,
}) async =>
    await _ctx.get<ListBlobsOutput>(
      ns.comAtprotoSyncListBlobs,
      headers: $headers,
      parameters: {
        'did': did,
        if (since != null) 'since': since,
        if (limit != null) 'limit': limit.toString(),
        if (cursor != null) 'cursor': cursor,
        ...?$unknown,
      },
      to: const ListBlobsOutputConverter().fromJson,
      client: $client,
    );