user_send_to_user_outbox¶
Send an activity as a user
Functions
- async pydelfini.delfini_core.api.user.user_send_to_user_outbox.asyncio(user_name, *, client, body)[source]¶
Send an activity as a user
- Parameters:
user_name (str)
body (FederationActivity)
body
client (AuthenticatedClient)
- 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[Any]
- Return type:
- async pydelfini.delfini_core.api.user.user_send_to_user_outbox.asyncio_detailed(user_name, *, client, body)[source]¶
Send an activity as a user
- Parameters:
user_name (str)
body (FederationActivity)
body
client (AuthenticatedClient)
- 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[Any, ServerError]]
- Return type:
- pydelfini.delfini_core.api.user.user_send_to_user_outbox.sync(user_name, *, client, body)[source]¶
Send an activity as a user
- Parameters:
user_name (str)
body (FederationActivity)
body
client (AuthenticatedClient)
- 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[Any]
- Return type:
- pydelfini.delfini_core.api.user.user_send_to_user_outbox.sync_detailed(user_name, *, client, body)[source]¶
Send an activity as a user
- Parameters:
user_name (str)
body (FederationActivity)
body
client (AuthenticatedClient)
- 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[Any, ServerError]]
- Return type: