Skip to content

activitypub

Accessed as client.user.activitypub; the async client mirrors it.

UserActivitypub

The user.activitypub namespace.

follow

follow(*, target: str | None = None) -> None

Follow a remote activitypub account.

Parameters:

Name Type Description Default
target str | None
None

Returns:

Type Description
None

No content.

Raises:

Type Description
UnauthorizedError
  1. APIUnauthorizedError is a unauthorized error response.
ForbiddenError
  1. APIForbiddenError is a forbidden error response.
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: userCurrentActivityPubFollow

AsyncUserActivitypub

The user.activitypub namespace.

follow

follow(*, target: str | None = None) -> None

Follow a remote activitypub account.

Parameters:

Name Type Description Default
target str | None
None

Returns:

Type Description
None

No content.

Raises:

Type Description
UnauthorizedError
  1. APIUnauthorizedError is a unauthorized error response.
ForbiddenError
  1. APIForbiddenError is a forbidden error response.
NotFoundError
  1. APINotFound is a not found error response.

Operation ID: userCurrentActivityPubFollow