listSpaces method

Future<XRPCResponse<SpaceListSpacesOutput>> listSpaces({
  1. String? spaceDid,
  2. String? spaceType,
  3. int? limit,
  4. String? cursor,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

List spaces that the authenticated account has written to or is the authority for. Requires auth, implemented by PDS.

Implementation

Future<XRPCResponse<SpaceListSpacesOutput>> listSpaces({
  String? spaceDid,
  String? spaceType,
  int? limit,
  String? cursor,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceListSpaces(
  spaceDid: spaceDid,
  spaceType: spaceType,
  limit: limit,
  cursor: cursor,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);