AT Protocol HTTP client for interacting with PDS (Personal Data Server) repositories. Provides authentication and repository record creation/updating according to ATproto lexicons.
Summary
Functions
Authenticates with AT Protocol PDS server using a handle/DID and password (or App Password).
Constructs an AT-URI for a document record.
Constructs an AT-URI for a publication record.
Creates or replaces a record in an AT Protocol repository collection using com.atproto.repo.putRecord.
Types
Functions
@spec create_session(String.t() | nil, String.t(), String.t()) :: {:ok, session()} | {:error, String.t()}
Authenticates with AT Protocol PDS server using a handle/DID and password (or App Password).
Constructs an AT-URI for a document record.
Constructs an AT-URI for a publication record.
@spec put_record(session(), String.t(), String.t(), map()) :: {:ok, %{uri: String.t(), cid: String.t()}} | {:error, String.t()}
Creates or replaces a record in an AT Protocol repository collection using com.atproto.repo.putRecord.