Skip to content

repository

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

ActivitypubRepository

The activitypub.repository namespace.

get

get(repository_id: int) -> ActivityPub

Returns the Repository actor for a repo.

Parameters:

Name Type Description Default
repository_id int

repository ID of the repo

required

Returns:

Type Description
ActivityPub

ActivityPub.

Operation ID: activitypubRepository

inbox

inbox(repository_id: int, *, body: ForgeLike | None = None) -> None

Send to the inbox.

Parameters:

Name Type Description Default
repository_id int

repository ID of the repo

required
body ForgeLike | None

Full request body; the Spec declares no fields, so extra fields are allowed.

None

Returns:

Type Description
None

No content.

Operation ID: activitypubRepositoryInbox

outbox

outbox(repository_id: int) -> ForgeOutbox

Display the outbox.

Parameters:

Name Type Description Default
repository_id int

repository ID of the repo

required

Returns:

Type Description
ForgeOutbox

Outbox.

Operation ID: activitypubRepositoryOutbox

AsyncActivitypubRepository

The activitypub.repository namespace.

get

get(repository_id: int) -> ActivityPub

Returns the Repository actor for a repo.

Parameters:

Name Type Description Default
repository_id int

repository ID of the repo

required

Returns:

Type Description
ActivityPub

ActivityPub.

Operation ID: activitypubRepository

inbox

inbox(repository_id: int, *, body: ForgeLike | None = None) -> None

Send to the inbox.

Parameters:

Name Type Description Default
repository_id int

repository ID of the repo

required
body ForgeLike | None

Full request body; the Spec declares no fields, so extra fields are allowed.

None

Returns:

Type Description
None

No content.

Operation ID: activitypubRepositoryInbox

outbox

outbox(repository_id: int) -> ForgeOutbox

Display the outbox.

Parameters:

Name Type Description Default
repository_id int

repository ID of the repo

required

Returns:

Type Description
ForgeOutbox

Outbox.

Operation ID: activitypubRepositoryOutbox