ModerationService class final

Provides tools.ozone.moderation.* endpoints.

Constructors

ModerationService(BlueskyServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

emitEvent({required UEmitEventEvent event, required UEmitEventSubject subject, List<String>? subjectBlobCids, required String createdBy, Map<String, String>? $unknown, Map<String, String>? $headers, PostClient? $client}) Future<XRPCResponse<ModEventView>>
Take a moderation action on an actor.
getEvent({required int id, Map<String, String>? $unknown, Map<String, String>? $headers, GetClient? $client}) Future<XRPCResponse<ModEventViewDetail>>
Get details about a moderation event.
getRecord({required AtUri uri, String? cid, Map<String, String>? $unknown, Map<String, String>? $headers, GetClient? $client}) Future<XRPCResponse<RecordViewDetail>>
Get details about a record.
getRepo({required String did, Map<String, String>? $unknown, Map<String, String>? $headers, GetClient? $client}) Future<XRPCResponse<RepoViewDetail>>
Get details about a repository.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryEvents({List<String>? types, String? createdBy, String? sortDirection, DateTime? createdAfter, DateTime? createdBefore, String? subject, bool? includeAllUserRecords, int? limit, bool? hasComment, String? comment, List<String>? addedLabels, List<String>? removedLabels, List<String>? addedTags, List<String>? removedTags, List<String>? reportTypes, String? cursor, Map<String, String>? $unknown, Map<String, String>? $headers, GetClient? $client}) Future<XRPCResponse<QueryEventsOutput>>
List moderation events related to a subject.
queryStatuses({bool? includeAllUserRecords, String? subject, String? comment, DateTime? reportedAfter, DateTime? reportedBefore, DateTime? reviewedAfter, DateTime? reviewedBefore, bool? includeMuted, bool? onlyMuted, String? reviewState, List<String>? ignoreSubjects, String? lastReviewedBy, String? sortField, String? sortDirection, bool? takendown, bool? appealed, int? limit, List<String>? tags, List<String>? excludeTags, String? cursor, Map<String, String>? $unknown, Map<String, String>? $headers, GetClient? $client}) Future<XRPCResponse<QueryStatusesOutput>>
View moderation statuses of subjects (record or repo).
searchRepos({String? term, String? q, int? limit, String? cursor, Map<String, String>? $unknown, Map<String, String>? $headers, GetClient? $client}) Future<XRPCResponse<SearchReposOutput>>
Find repositories based on a search term.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited