2.2 KiB
2.2 KiB
\ActivitypubApi
All URIs are relative to /api/v1
Method | HTTP request | Description |
---|---|---|
activitypub_person | GET /activitypub/user-id/{user_id} | Returns the Person actor for a user |
activitypub_person_inbox | POST /activitypub/user-id/{user_id}/inbox | Send to the inbox |
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
Authorization
TOTPHeader, AuthorizationHeaderToken, SudoHeader, BasicAuth, AccessToken, SudoParam, Token
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
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, AuthorizationHeaderToken, SudoHeader, BasicAuth, AccessToken, SudoParam, Token
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]