user_get_user_activity

Retrieve a specific activity that has been sent by the user

Functions

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

Retrieve a specific activity that has been sent by the user

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[FederationActivity]

Return type:

FederationActivity

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

Retrieve a specific activity that has been sent by the user

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[FederationActivity, ServerError]]

Return type:

Response[FederationActivity | ServerError]

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

Retrieve a specific activity that has been sent by the user

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[FederationActivity]

Return type:

FederationActivity

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

Retrieve a specific activity that has been sent by the user

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[FederationActivity, ServerError]]

Return type:

Response[FederationActivity | ServerError]