com.atproto.moderation.create_report¶

class atproto_client.models.com.atproto.moderation.create_report.Data¶

Bases: DataModelBase

Input data model for com.atproto.moderation.createReport.

field mod_tool: models.ComAtprotoModerationCreateReport.ModTool | None = None¶

Mod tool.

field reason: str | None = None¶
Constraints:
  • max_length = 20000

field reason_type: models.ComAtprotoModerationDefs.ReasonType [Required]¶

Indicates the broad category of violation the report is for.

field subject: models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main [Required]¶
class atproto_client.models.com.atproto.moderation.create_report.DataDict¶

Bases: TypedDict

mod_tool: typing_extensions.NotRequired[models.ComAtprotoModerationCreateReport.ModTool | None]¶

Mod tool.

reason: typing_extensions.NotRequired[str | None]¶

Additional context about the content and violation.

reason_type: models.ComAtprotoModerationDefs.ReasonType¶

Indicates the broad category of violation the report is for.

subject: models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main¶
class atproto_client.models.com.atproto.moderation.create_report.ModTool¶

Bases: ModelBase

Definition model for com.atproto.moderation.createReport. Moderation tool information for tracing the source of the action.

field meta: UnknownType | None = None¶

Additional arbitrary metadata about the source.

field name: str [Required]¶

Name/identifier of the source (e.g., ‘bsky-app/android’, ‘bsky-web/chrome’).

field py_type: Literal['com.atproto.moderation.createReport#modTool'] = 'com.atproto.moderation.createReport#modTool'¶
class atproto_client.models.com.atproto.moderation.create_report.Response¶

Bases: ResponseModelBase

Output data model for com.atproto.moderation.createReport.

field created_at: str [Required]¶

Created at.

Constraints:
field id: int [Required]¶

Id.

field reason: str | None = None¶

Reason.

Constraints:
  • max_length = 20000

field reason_type: models.ComAtprotoModerationDefs.ReasonType [Required]¶

Reason type.

field reported_by: str [Required]¶

Reported by.

Constraints:
field subject: models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main [Required]¶