tools.ozone.inbox.listReports
List moderation reports submitted by the authenticated account to this moderation service.
- class atproto_client.models.tools.ozone.inbox.list_reports.Params
Bases:
ParamsModelBaseParameters model for
tools.ozone.inbox.listReports.
- class atproto_client.models.tools.ozone.inbox.list_reports.ParamsDict
Bases:
TypedDict- cursor: NotRequired[str | None]
An opaque cursor for pagination.
- did: NotRequired[Did | None]
Account to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.
- filter: NotRequired[Literal['all', 'pending', 'resolved', 'unread'] | None]
Filter report activity. unread includes reports whose updatedAt is after the reports sectionās seenAt watermark.
- limit: NotRequired[int | None]
Limit.
- sort_direction: NotRequired[Literal['asc', 'desc'] | None]
Sort direction.
- sort_field: NotRequired[Literal['createdAt', 'updatedAt'] | None]
Sort field.
- class atproto_client.models.tools.ozone.inbox.list_reports.Response
Bases:
ResponseModelBaseOutput data model for
tools.ozone.inbox.listReports.- field reports: List[models.ToolsOzoneInboxListReports.ReportView] [Required]
Reports.
- class atproto_client.models.tools.ozone.inbox.list_reports.ReportView
Bases:
ModelBaseDefinition model for
tools.ozone.inbox.listReports.- field created_at: DateTime [Required]
Created at.
- field id: int [Required]
Report ID (report table ID), used by getReport and Ozoneās report detail page.
- field is_read: bool [Required]
Is read.
- field reason_type: str [Required]
The exact fully-qualified reason NSID submitted with and stored on the report.
- field src: Did [Required]
DID of the moderation service that received the report.
- field subject: models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main | models.ChatBskyConvoDefs.MessageRef | models.ChatBskyConvoDefs.ConvoRef | DotDict [Required]
Subject.
- Constraints:
__module__ = atproto_client.models.unknown_union
__firstlineno__ = 17
__doc__ = Annotation for open ref unions: an unrecognized
$typefalls back toDotDict. Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bypy_typeas usual, so a known type that fails validation still raises. Only a$typethat matches no member, or a missing one, degrades to aDotDict.__get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class āatproto_client.models.unknown_union.UnknownUnionFallbackā>>
__static_attributes__ = ()
__dict__ = {ā__module__ā: āatproto_client.models.unknown_unionā, ā__firstlineno__ā: 17, ā__doc__ā: āAnnotation for open ref unions: an unrecognized
$typefalls back toDotDict.nnApplied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a$typethatnmatches no member, or a missing one, degrades to aDotDict.nā, ā__get_pydantic_core_schema__ā: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x7bc6f7b3ccc0>)>, ā__static_attributes__ā: (), ā__dict__ā: <attribute ā__dict__ā of āUnknownUnionFallbackā objects>, ā__weakref__ā: <attribute ā__weakref__ā of āUnknownUnionFallbackā objects>}__weakref__ = <attribute ā__weakref__ā of āUnknownUnionFallbackā objects>
- field updated_at: DateTime [Required]
Updated at.