toolsOzoneModerationGetRecord function

Future<XRPCResponse<RecordViewDetail>> toolsOzoneModerationGetRecord({
  1. required AtUri uri,
  2. String? cid,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Get details about a record.

Implementation

Future<XRPCResponse<RecordViewDetail>> toolsOzoneModerationGetRecord({
  required AtUri uri,
  String? cid,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneModerationGetRecord,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'uri': uri.toString(),
    if (cid != null) 'cid': cid,
  },
  to: const RecordViewDetailConverter().fromJson,
);