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 reason: str | None = None

Additional context about the content and violation.

Constraints:
  • max_length = 20000

field reason_type: models.ComAtprotoModerationDefs.ReasonType [Required]

Indicates the broad category of violation the report is for.

field subject: RepoRef | models.ComAtprotoRepoStrongRef.Main[models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main] [Required]
class atproto_client.models.com.atproto.moderation.create_report.DataDict(*args, **kwargs)

Bases: dict

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: RepoRef | models.ComAtprotoRepoStrongRef.Main[models.ComAtprotoAdminDefs.RepoRef | models.ComAtprotoRepoStrongRef.Main]
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.

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.

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