tools.ozone.moderation.queryStatuses
View moderation statuses of subjects (record or repo).
- class atproto_client.models.tools.ozone.moderation.query_statuses.Params
Bases:
ParamsModelBaseParameters model for
tools.ozone.moderation.queryStatuses.- field age_assurance_state: Literal['pending', 'assured', 'unknown', 'reset', 'blocked'] | str | None = None
- field hosting_statuses: List[str] | None = None
Search subjects by the status of the associated record/account.
- field only_muted: bool | None = None
When set to true, only muted subjects and reporters will be returned.
- field review_state: models.ToolsOzoneModerationDefs.ReviewOpen | models.ToolsOzoneModerationDefs.ReviewClosed | models.ToolsOzoneModerationDefs.ReviewEscalated | models.ToolsOzoneModerationDefs.ReviewNone | str | None = None
Specify when fetching subjects in a certain state.
- class atproto_client.models.tools.ozone.moderation.query_statuses.ParamsDict
Bases:
TypedDict- age_assurance_state: NotRequired[Literal['pending', 'assured', 'unknown', 'reset', 'blocked'] | str | None]
If specified, only subjects with the given age assurance state will be returned.
- appealed: NotRequired[bool | None]
Get subjects in unresolved appealed status.
- collections: NotRequired[List[Nsid] | None]
If specified, subjects belonging to the given collections will be returned. When subjectType is set to โaccountโ, this will be ignored.
- comment: NotRequired[str | None]
Search subjects by keyword from comments.
- cursor: NotRequired[str | None]
Cursor.
- exclude_tags: NotRequired[List[str] | None]
Exclude tags.
- hosting_deleted_after: NotRequired[DateTime | None]
Search subjects where the associated record/account was deleted after a given timestamp.
- hosting_deleted_before: NotRequired[DateTime | None]
Search subjects where the associated record/account was deleted before a given timestamp.
- hosting_statuses: NotRequired[List[str] | None]
Search subjects by the status of the associated record/account.
- hosting_updated_after: NotRequired[DateTime | None]
Search subjects where the associated record/account was updated after a given timestamp.
- hosting_updated_before: NotRequired[DateTime | None]
Search subjects where the associated record/account was updated before a given timestamp.
- ignore_subjects: NotRequired[List[Uri] | None]
Ignore subjects.
- include_all_user_records: NotRequired[bool | None]
All subjects, or subjects from given โcollectionsโ param, belonging to the account specified in the โsubjectโ param will be returned.
- include_muted: NotRequired[bool | None]
By default, we donโt include muted subjects in the results. Set this to true to include them.
- last_reviewed_by: NotRequired[Did | None]
Get all subject statuses that were reviewed by a specific moderator.
- limit: NotRequired[int | None]
Limit.
- min_account_suspend_count: NotRequired[int | None]
If specified, only subjects that belong to an account that has at least this many suspensions will be returned.
- min_priority_score: NotRequired[int | None]
If specified, only subjects that have priority score value above the given value will be returned.
- min_reported_records_count: NotRequired[int | None]
If specified, only subjects that belong to an account that has at least this many reported records will be returned.
- min_strike_count: NotRequired[int | None]
If specified, only subjects that belong to an account that has at least this many active strikes will be returned.
- min_takendown_records_count: NotRequired[int | None]
If specified, only subjects that belong to an account that has at least this many taken down records will be returned.
- only_muted: NotRequired[bool | None]
When set to true, only muted subjects and reporters will be returned.
- queue_count: NotRequired[int | None]
Number of queues being used by moderators. Subjects will be split among all queues.
- queue_index: NotRequired[int | None]
Index of the queue to fetch subjects from. Works only when queueCount value is specified.
- queue_seed: NotRequired[str | None]
A seeder to shuffle/balance the queue items.
- reported_after: NotRequired[DateTime | None]
Search subjects reported after a given timestamp.
- reported_before: NotRequired[DateTime | None]
Search subjects reported before a given timestamp.
- review_state: NotRequired[Literal['tools.ozone.moderation.defs#reviewOpen'] | Literal['tools.ozone.moderation.defs#reviewClosed'] | Literal['tools.ozone.moderation.defs#reviewEscalated'] | Literal['tools.ozone.moderation.defs#reviewNone'] | str | None]
Specify when fetching subjects in a certain state.
- reviewed_after: NotRequired[DateTime | None]
Search subjects reviewed after a given timestamp.
- reviewed_before: NotRequired[DateTime | None]
Search subjects reviewed before a given timestamp.
- sort_direction: NotRequired[Literal['asc', 'desc'] | None]
Sort direction.
- sort_field: NotRequired[Literal['lastReviewedAt', 'lastReportedAt', 'reportedRecordsCount', 'takendownRecordsCount', 'priorityScore'] | None]
Sort field.
- subject: NotRequired[Uri | None]
The subject to get the status for.
- subject_type: NotRequired[Literal['account', 'record', 'conversation'] | str | None]
If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to โaccountโ the โcollectionsโ parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.
- tags: NotRequired[List[str] | None]
Tags. Items in this array are applied with OR filters. To apply AND filter, put all tags in the same string and separate using && characters.
- takendown: NotRequired[bool | None]
Get subjects that were taken down.
- class atproto_client.models.tools.ozone.moderation.query_statuses.Response
Bases:
ResponseModelBaseOutput data model for
tools.ozone.moderation.queryStatuses.- field subject_statuses: List[models.ToolsOzoneModerationDefs.SubjectStatusView] [Required]
Subject statuses.