2024-08-21 21:58:00 +02:00
# \ActivitypubApi
All URIs are relative to */api/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
2024-08-21 22:05:53 +02:00
[**activitypub_person** ](ActivitypubApi.md#activitypub_person ) | **GET** /activitypub/user-id/{user_id} | Returns the Person actor for a user
[**activitypub_person_inbox** ](ActivitypubApi.md#activitypub_person_inbox ) | **POST** /activitypub/user-id/{user_id}/inbox | Send to the inbox
2024-08-21 21:58:00 +02:00
## activitypub_person
> models::ActivityPub activitypub_person(user_id)
Returns the Person actor for a user
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**user_id** | **i32** | user ID of the user | [required] |
### Return type
[**models::ActivityPub** ](ActivityPub.md )
### Authorization
[TOTPHeader ](../README.md#TOTPHeader ), [AuthorizationHeaderToken ](../README.md#AuthorizationHeaderToken ), [SudoHeader ](../README.md#SudoHeader ), [BasicAuth ](../README.md#BasicAuth ), [AccessToken ](../README.md#AccessToken ), [SudoParam ](../README.md#SudoParam ), [Token ](../README.md#Token )
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## activitypub_person_inbox
> activitypub_person_inbox(user_id)
Send to the inbox
### Parameters
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**user_id** | **i32** | user ID of the user | [required] |
### Return type
(empty response body)
### Authorization
[TOTPHeader ](../README.md#TOTPHeader ), [AuthorizationHeaderToken ](../README.md#AuthorizationHeaderToken ), [SudoHeader ](../README.md#SudoHeader ), [BasicAuth ](../README.md#BasicAuth ), [AccessToken ](../README.md#AccessToken ), [SudoParam ](../README.md#SudoParam ), [Token ](../README.md#Token )
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)