Skip to content

API Reference

This section provides a detailed reference for the apmodel library's public API.

The API is organized into several key modules:

  • Core Types: Base models like Object, Activity, Link, and Collection.
  • Top-level Functions: Main functions like load() and to_dict().
  • Registry: Managing ActivityPub model types and custom registrations.
  • Vocabulary Models: ActivityStreams vocabulary models (e.g., Note, Person, Create).
  • Extra Models: Models for extended vocabularies (e.g., Security, Schema.org).
  • NodeInfo Models: Models for NodeInfo protocol.