Skip to content

Event

Data structures for Event resource information and responses

Classes

Event pydantic-model

Bases: pydantic.BaseModel

Event represents an artifact of an action. Whether it is creating a user, editing a document, changing permissions, or any other action – an event is created that can be used as an audit trail or activity stream.

Fields:

  • id (uuid.UUID)
  • name (str)
  • model_id (uuid.UUID | None)
  • actor_id (uuid.UUID)
  • user_id (uuid.UUID | None)
  • collection_id (uuid.UUID | None)
  • document_id (uuid.UUID | None)
  • actor (outline_wiki_api.models.user.User)
  • created_at (datetime.datetime)
  • data (typing.Any | None)

EventListResponse pydantic-model

Bases: outline_wiki_api.models.response.Response

Fields: