user_get_outbox_activity

Retrieve a specific activity from the user’s outbox

Functions

async pydelfini.delfini_core.api.user.user_get_outbox_activity.asyncio(user_name, activity_id, *, client)[source]

Retrieve a specific activity from the user’s outbox

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[User]

Return type:

User

async pydelfini.delfini_core.api.user.user_get_outbox_activity.asyncio_detailed(user_name, activity_id, *, client)[source]

Retrieve a specific activity from the user’s outbox

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[ServerError, User]]

Return type:

Response[ServerError | User]

pydelfini.delfini_core.api.user.user_get_outbox_activity.sync(user_name, activity_id, *, client)[source]

Retrieve a specific activity from the user’s outbox

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[User]

Return type:

User

pydelfini.delfini_core.api.user.user_get_outbox_activity.sync_detailed(user_name, activity_id, *, client)[source]

Retrieve a specific activity from the user’s outbox

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[ServerError, User]]

Return type:

Response[ServerError | User]