tools.ozone.hosting.getAccountHistory

Get account history, e.g. log of updated email addresses or other identity information.

class atproto_client.models.tools.ozone.hosting.get_account_history.Params

Bases: ParamsModelBase

Parameters model for tools.ozone.hosting.getAccountHistory.

field cursor: str | None = None

Cursor.

field did: Did [Required]

Did.

field events: List[Literal['accountCreated', 'emailUpdated', 'emailConfirmed', 'passwordUpdated', 'handleUpdated'] | str] | None = None

Events.

field limit: int | None = None

Limit.

Constraints:
  • ge = 1

  • le = 100

class atproto_client.models.tools.ozone.hosting.get_account_history.ParamsDict

Bases: TypedDict

did: Did

Did.

cursor: NotRequired[str | None]

Cursor.

events: NotRequired[List[Literal['accountCreated', 'emailUpdated', 'emailConfirmed', 'passwordUpdated', 'handleUpdated'] | str] | None]

Events.

limit: NotRequired[int | None]

Limit.

class atproto_client.models.tools.ozone.hosting.get_account_history.Response

Bases: ResponseModelBase

Output data model for tools.ozone.hosting.getAccountHistory.

field cursor: str | None = None

Cursor.

field events: List[models.ToolsOzoneHostingGetAccountHistory.Event] [Required]

Events.

class atproto_client.models.tools.ozone.hosting.get_account_history.Event

Bases: ModelBase

Definition model for tools.ozone.hosting.getAccountHistory.

field created_at: DateTime [Required]

Created at.

field created_by: str [Required]

Created by.

field details: models.ToolsOzoneHostingGetAccountHistory.AccountCreated | models.ToolsOzoneHostingGetAccountHistory.EmailUpdated | models.ToolsOzoneHostingGetAccountHistory.EmailConfirmed | models.ToolsOzoneHostingGetAccountHistory.PasswordUpdated | models.ToolsOzoneHostingGetAccountHistory.HandleUpdated | DotDict [Required]

Details.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __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 $type falls back to DotDict.nnApplied to t.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 $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x7ad524c14cc0>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

class atproto_client.models.tools.ozone.hosting.get_account_history.AccountCreated

Bases: ModelBase

Definition model for tools.ozone.hosting.getAccountHistory.

field email: str | None = None

Email.

field handle: Handle | None = None

Handle.

class atproto_client.models.tools.ozone.hosting.get_account_history.EmailUpdated

Bases: ModelBase

Definition model for tools.ozone.hosting.getAccountHistory.

field email: str [Required]

Email.

class atproto_client.models.tools.ozone.hosting.get_account_history.EmailConfirmed

Bases: ModelBase

Definition model for tools.ozone.hosting.getAccountHistory.

field email: str [Required]

Email.

class atproto_client.models.tools.ozone.hosting.get_account_history.PasswordUpdated

Bases: ModelBase

Definition model for tools.ozone.hosting.getAccountHistory.

class atproto_client.models.tools.ozone.hosting.get_account_history.HandleUpdated

Bases: ModelBase

Definition model for tools.ozone.hosting.getAccountHistory.

field handle: Handle [Required]

Handle.